Hi Folks,
Is there a way to have tab size set different per window, or simply per language as part of the bundle?
I have a project with Makefiles (tab size 8, hard tabs) and vhdl (tab size 2, convert to spaces). This is the most different use of indenting one could have. With tab size 2, I don't even recognize the commands in the Makefile, and with tab size 8 I get insane editing code.
Peter
On 31/10/2005, at 10.51, Peter Vohmann wrote:
Is there a way to have tab size set different per window, or simply per language as part of the bundle?
Yes, you can set it in the bundle editor as preferences items (for the language scope), see e.g. Ruby -> Spacing or Property List -> Miscellaneous for two examples of this.
Oh. Aha, I see. Thanks!
Is there a list of common preferences around, or shall I just start one on the Wiki?
Peter
Am 31.10.2005 um 11:13 schrieb Allan Odgaard:
On 31/10/2005, at 10.51, Peter Vohmann wrote:
Is there a way to have tab size set different per window, or simply per language as part of the bundle?
Yes, you can set it in the bundle editor as preferences items (for the language scope), see e.g. Ruby -> Spacing or Property List -> Miscellaneous for two examples of this.
On 31/10/2005, at 11.16, Peter Vohmann wrote:
Oh. Aha, I see. Thanks!
Is there a list of common preferences around, or shall I just start one on the Wiki?
There isn't any, and it'd be much appreciated if you start one -- that'll be my seed to collect them all :)
As for softTabs + tabSize, I plan to make the status bar popup contain also the former setting, and then make the editor smart enough to remember these per scope automatically (as is done for e.g. soft wrap), so these will go away again (as specific preferences, but the same functionality will of course be possible, and should be easier to obtain).