How can I turn soft tabs on in certain projects, but not in others?
Selecting "Soft Tabs (Spaces)" from the menu at the bottom of the screen appears to work on a system-wide, per language basis.
One project I'm working on uses soft tabs. The rest do not. I'm unlikely to remember to manually keep changing this setting back and forth!
I would prefer to set this only on a per project basis, but setting it by language per project would work.
Thank you for taking the time for my question. -Steve-
Even a confirmation that I can't do this would be welcome.
I have not yet delved into TextMate's bundles and programming, so I really do not know what it can, or cannot do, and an answer here would help me choose to focus my efforts in a productive way.
Thanks! -Steve-
On Oct 24, 2008, at 4:05 PM, Stephen Anderson wrote:
How can I turn soft tabs on in certain projects, but not in others?
Selecting "Soft Tabs (Spaces)" from the menu at the bottom of the screen appears to work on a system-wide, per language basis.
One project I'm working on uses soft tabs. The rest do not. I'm unlikely to remember to manually keep changing this setting back and forth!
I would prefer to set this only on a per project basis, but setting it by language per project would work.
Thank you for taking the time for my question. -Steve-
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Will this do the job for you?
http://konstochvanligasaker.se/tabmate/
HTH,
Geoff
On Sat, Oct 25, 2008 at 1:22 PM, Stephen Anderson stephen@bendycode.com wrote:
Even a confirmation that I can't do this would be welcome.
I have not yet delved into TextMate's bundles and programming, so I really do not know what it can, or cannot do, and an answer here would help me choose to focus my efforts in a productive way.
Thanks! -Steve-
On Oct 24, 2008, at 4:05 PM, Stephen Anderson wrote:
How can I turn soft tabs on in certain projects, but not in others?
Selecting "Soft Tabs (Spaces)" from the menu at the bottom of the screen appears to work on a system-wide, per language basis.
One project I'm working on uses soft tabs. The rest do not. I'm unlikely to remember to manually keep changing this setting back and forth!
I would prefer to set this only on a per project basis, but setting it by language per project would work.
Thank you for taking the time for my question. -Steve-
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Hmmm, cool, interesting plugin. Thanks for the suggestion. Much appreciated!
I don't think it will do the trick though, since it would require altering all the files in the project, existing, and future.
Perhaps I should look into post-commit hooks for the source code repository (git) instead?
-Steve-
On Oct 25, 2008, at 12:33 PM, Geoff Beier wrote:
Will this do the job for you?
http://konstochvanligasaker.se/tabmate/
HTH,
Geoff
On Sat, Oct 25, 2008 at 1:22 PM, Stephen Anderson <stephen@bendycode.com
wrote: Even a confirmation that I can't do this would be welcome.
I have not yet delved into TextMate's bundles and programming, so I really do not know what it can, or cannot do, and an answer here would help me choose to focus my efforts in a productive way.
Thanks! -Steve-
On Oct 24, 2008, at 4:05 PM, Stephen Anderson wrote:
How can I turn soft tabs on in certain projects, but not in others?
Selecting "Soft Tabs (Spaces)" from the menu at the bottom of the screen appears to work on a system-wide, per language basis.
One project I'm working on uses soft tabs. The rest do not. I'm unlikely to remember to manually keep changing this setting back and forth!
I would prefer to set this only on a per project basis, but setting it by language per project would work.
Thank you for taking the time for my question. -Steve-
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
It would seem that there are two decent options here beyond the post commit hooks: - write a script to add the modeline to all the relevant files in a project, and run it every once in a while - modify that bundle to look for a per-project file that has the settings if there's no modeline in a particular file
Are these projects that you maintain or ones that you work on but are maintained elsewhere?
The post commit hook sounds like a decent idea though.
Geoff
On Sat, Oct 25, 2008 at 2:04 PM, Stephen Anderson stephen@bendycode.com wrote:
Hmmm, cool, interesting plugin. Thanks for the suggestion. Much appreciated!
I don't think it will do the trick though, since it would require altering all the files in the project, existing, and future.
Perhaps I should look into post-commit hooks for the source code repository (git) instead?
-Steve-
On Oct 25, 2008, at 12:33 PM, Geoff Beier wrote:
Will this do the job for you?
http://konstochvanligasaker.se/tabmate/
HTH,
Geoff
On Sat, Oct 25, 2008 at 1:22 PM, Stephen Anderson <stephen@bendycode.com
wrote: Even a confirmation that I can't do this would be welcome.
I have not yet delved into TextMate's bundles and programming, so I really do not know what it can, or cannot do, and an answer here would help me choose to focus my efforts in a productive way.
Thanks! -Steve-
On Oct 24, 2008, at 4:05 PM, Stephen Anderson wrote:
How can I turn soft tabs on in certain projects, but not in others?
Selecting "Soft Tabs (Spaces)" from the menu at the bottom of the screen appears to work on a system-wide, per language basis.
One project I'm working on uses soft tabs. The rest do not. I'm unlikely to remember to manually keep changing this setting back and forth!
I would prefer to set this only on a per project basis, but setting it by language per project would work.
Thank you for taking the time for my question. -Steve-
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate