Hello everyone, I have a probably silly question for you concerning tabulations:
Yaml can't stand tabulations, it says it requires spaces instead. How can I get TextMate to insert spaces instead of tabs?
Regards, Xavier
On 12/02/2008, Xavier Cambar xcambar@gmail.com wrote:
I have a probably silly question for you concerning tabulations:
Yaml can't stand tabulations, it says it requires spaces instead. How can I get TextMate to insert spaces instead of tabs?
From the pop-up menu at the bottom of the window, choose 'Soft Tabs'.
Chris
Two useful things to know:
Text --> Convert --> Tabs to Spaces
Click on the Tab Size button on the status bar (bottom of the window) and select Soft Tabs.
Hope this helps. Best, Mark
On 2/12/2008, "Xavier Cambar" xcambar@gmail.com wrote:
Hello everyone, I have a probably silly question for you concerning tabulations:
Yaml can't stand tabulations, it says it requires spaces instead. How can I get TextMate to insert spaces instead of tabs?
Regards, Xavier
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On a related note, most people I work with use tabs for indentation, so I generally have Textmate set up to do so (with a tab size of about two characters), but then when editing YAML files, I have to manually adjust this. And remember to set it back afterwards.
Some way of YAML files automatically banning tabs and just using spaces would be really nice.
And having the option of doing the same for Python source would rock, too :-)
ABS
-- Alaric Snell-Pym Work: http://www.snell-systems.co.uk/ Play: http://www.snell-pym.org.uk/alaric/ Blog: http://www.snell-pym.org.uk/?author=4
On a related note, most people I work with use tabs for indentation, so I generally have Textmate set up to do so (with a tab size of about two characters), but then when editing YAML files, I have to manually adjust this. And remember to set it back afterwards.
Some way of YAML files automatically banning tabs and just using spaces would be really nice.
And having the option of doing the same for Python source would rock, too :-)
AFAIK, Textmate should remember your tab settings on a per-language basis...
Am 12.02.2008 um 20:12 schrieb Xavier Cambar:
Definitively a silly question...
we had sesamstreet of BBC in germany. Credo always was: Aint no stupid questions but for sure stupid answers :0)
well, well, well, ...
If ya dont support the nOObs, they will multiply :0)
------------------------------------------
sincere Dennis - TextMate-nOOb