Filetype based indent setting
Dave Harper <[email protected]>
| Newsgroups | gmane.editors.jedit.user |
|---|---|
| Message-ID | <[email protected]> |
After years of working primarily in C where I used an indent setting of 2, I'm now also starting to use Python. Although not rigidly enforced if indenting is consistent, the recommended standard seems to be 4 characters. I know that buffer options can override global options but I haven't found any way to set indent width based on filetype. So for the time being I've been manually setting the buffer options every time I edit a Python script - usually after I tab the first time and find the width isn't what I need. I tried searching through the archives but wasn't able to come up with anything relevant. Is such a thing possible? If not, is it on a roadmap for a future release? Also, no editor meets everyone's needs perfectly, but I've found that jEdit is the best cross-platform editor I've ever used. Thanks to everyone who has helped make it possible. Dave -- ----------------------------------------------- jEdit Users' List [email protected] https://lists.sourceforge.net/lists/listinfo/jedit-users