Hi, all.
Am I correct in thinking that if I drag a folder onto TxMt's icon in the Dock that upon saving the folder as a project, the resultant alias allows me to edit files in that project which are then written to disk in the original project folder?
Sorry if this is an entry-level question but I need to set up a workflow involving said project, TxMt, git & heroku.
Any help appreciated,
Cheers,
Phil...
thats is correct, you will be able to rename/edit those files, tho drag and drop never worked for me, I always had to use the "add existing files" button at the bottom of the drawer.
Another annoyance, is that if your cursor is not in the correct place while adding the files/folders it will get added within another folder that was not desired(where the cursor is), and dragging to move it out of there does not work, I have to delete and re-add again making sure I have nothing selected in the drawer to add to the root level.
Thats been the case with me, either way, once added you can edit away like a champ :)
-William
On Nov 23, 2011, at 8:30 AM, Phil Dobbin wrote:
Hi, all.
Am I correct in thinking that if I drag a folder onto TxMt's icon in the Dock that upon saving the folder as a project, the resultant alias allows me to edit files in that project which are then written to disk in the original project folder?
Sorry if this is an entry-level question but I need to set up a workflow involving said project, TxMt, git & heroku.
Any help appreciated,
Cheers,
Phil...
-- Nothing to see here... move along, move along
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 23/11/11 16:36, "William Pickens" william@pickensdesigns.com wrote:
thats is correct, you will be able to rename/edit those files, tho drag and drop never worked for me, I always had to use the "add existing files" button at the bottom of the drawer.
Another annoyance, is that if your cursor is not in the correct place while adding the files/folders it will get added within another folder that was not desired(where the cursor is), and dragging to move it out of there does not work, I have to delete and re-add again making sure I have nothing selected in the drawer to add to the root level.
Thats been the case with me, either way, once added you can edit away like a champ :)
Hi, William.
Good stuff. Just tried the drag n' drop route on a folder full of html files & it worked a treat.
One other question: seeing as it's versioned by git which pushes it to heroku, should the alias be inside the project folder or in the directory above?
Cheers,
Phil...
I believe as long as the directory is properly pulled you should be able to commit/push via cmd+shift+g
and since on the topic, I would suggest project+, http://ciaranwal.sh/2008/08/05/textmate-plug-in-projectplus
Its a nice drawer plugin and integrates some source code notifications to files/directories in the drawer.
Would also suggest you compile it locally as the precompiled version was causing TM to constantly crash on SL and Lion
More info, http://textmateuser.com/how-to-compile-a-plugin-from-source/ (link was down, not sure if temp)
Download file from github - https://github.com/gknops/projectplus
But to compile just do(you will need xcode):
Unzip file to Desktop Open terminal type: cd Desktop/gknops-projectplus-a704007 (or whatever the unzipped folder name is) type: xcode -project ProjectPlus.xcodeproj type: open build/Release/ProjectPlus.tmplugin Copy to plugin folder Restart TM
hope this helps.
-William
On Nov 23, 2011, at 8:55 AM, Phil Dobbin wrote:
On 23/11/11 16:36, "William Pickens" william@pickensdesigns.com wrote:
thats is correct, you will be able to rename/edit those files, tho drag and drop never worked for me, I always had to use the "add existing files" button at the bottom of the drawer.
Another annoyance, is that if your cursor is not in the correct place while adding the files/folders it will get added within another folder that was not desired(where the cursor is), and dragging to move it out of there does not work, I have to delete and re-add again making sure I have nothing selected in the drawer to add to the root level.
Thats been the case with me, either way, once added you can edit away like a champ :)
Hi, William.
Good stuff. Just tried the drag n' drop route on a folder full of html files & it worked a treat.
One other question: seeing as it's versioned by git which pushes it to heroku, should the alias be inside the project folder or in the directory above?
Cheers,
Phil...
-- Nothing to see here... move along, move along
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 23/11/11 18:15, "William Pickens" william@pickensdesigns.com wrote:
[snip]
Download file from github - https://github.com/gknops/projectplus
But to compile just do(you will need xcode):
Unzip file to Desktop Open terminal type: cd Desktop/gknops-projectplus-a704007 (or whatever the unzipped folder name is) type: xcode -project ProjectPlus.xcodeproj type: open build/Release/ProjectPlus.tmplugin Copy to plugin folder Restart TM
I cloned projectplus from git & when I ran the xcode command I got:
`-bash: xcode: No such file or directory`
So I ran:
`$ xed -project ProjectPlus.xcodeproj xed: invalid option -- o`
Whatsmore, I can't find anything on Google to help with this... I'm using 10.6.8 with Xcode 3.
Cheers.
Phil.
On 23/11/11 18:45, "Phil Dobbin" phildobbin@gmail.com wrote:
I cloned projectplus from git & when I ran the xcode command I got:
`-bash: xcode: No such file or directory`
So I ran:
`$ xed -project ProjectPlus.xcodeproj xed: invalid option -- o`
Whatsmore, I can't find anything on Google to help with this... I'm using 10.6.8 with Xcode 3.
Used a novel new approach to information gathering: read the man page.
$: xed ProjectPlus.xcodeproj
opens the project in XCode so then it's just a case of `build`. The plugin is copied into ~/Library/Application\ Support/TextMate/Plugins after the build finishes so all set to go.
Thanks for your help, William.
Cheers,
Phil...
no problemo, glad to have helped.
all the best,
-William
On Nov 23, 2011, at 11:08 AM, Phil Dobbin wrote:
On 23/11/11 18:45, "Phil Dobbin" phildobbin@gmail.com wrote:
I cloned projectplus from git & when I ran the xcode command I got:
`-bash: xcode: No such file or directory`
So I ran:
`$ xed -project ProjectPlus.xcodeproj xed: invalid option -- o`
Whatsmore, I can't find anything on Google to help with this... I'm using 10.6.8 with Xcode 3.
Used a novel new approach to information gathering: read the man page.
$: xed ProjectPlus.xcodeproj
opens the project in XCode so then it's just a case of `build`. The plugin is copied into ~/Library/Application\ Support/TextMate/Plugins after the build finishes so all set to go.
Thanks for your help, William.
Cheers,
Phil...
Nothing to see here... move along, move along
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate