Set tab spacing per file type

6 views
Skip to first unread message

Keith

unread,
Dec 1, 2009, 4:32:34 AM12/1/09
to scite-i...@googlegroups.com
Is it possible to set the tab settings (ie. tab spaces, use tabs, etc)
on a per filetype basis?

For example: when editing php files I like to use tab characters, but
for python, I need to stick to pep8 so spaces are required. And
switching between the two systems manually is a pain.

Is this functionality there or will it ever be included?

Thanks.

Keith.

Philippe Lhoste

unread,
Dec 1, 2009, 10:25:03 AM12/1/09
to scite-i...@googlegroups.com
On 01/12/2009 10:32, Keith wrote:
> Is this functionality there or will it ever be included?

Example (from my settings):

indent.maintain.*.java=1
indent.size.*.java=3
tab.size.*.java=3
use.tabs.*.java=0

indent.maintain.*.pde=1
indent.size.*.pde=2
tab.size.*.pde=2
use.tabs.*.pde=0

indent.maintain.*.fx=1
indent.size.*.fx=4
tab.size.*.fx=4
use.tabs.*.fx=1

--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply all
Reply to author
Forward
0 new messages