Re: Autodetect indentation mode

2017-01-22 Thread Christopher Stone
Hey Johan, I have expanded upon my script (posted 2016/10/10) here: https://groups.google.com/d/msg/bbedit/EAM5uhEvCcc/ZZvb5GC8AgAJ -- Best Regards, Chris -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email "supp...

Re: Autodetect indentation mode

2016-10-13 Thread Johan Sölve
On Thursday, 13 October 2016 08:25:14 UTC+2, Christopher Stone wrote: > > On Oct 12, 2016, at 10:15, Johan Sölve > > wrote: > > Since I work in the middle of an ongoing indentation war (you know, tabs > vs. spaces) I have a need for auto-detecting the indentation mode when > opening … > > I'm

Re: Autodetect indentation mode

2016-10-13 Thread Dave
I work on different projects with their own conventions, so I face similar challeneges. One thing that has helped has been convincing people to use EditorConfig, which BBEdit and most IDEs and editors support. It allows you to configure indentation formats for different languages, so they can us

Re: Autodetect indentation mode

2016-10-12 Thread Christopher Stone
On Oct 12, 2016, at 10:15, Johan Sölve mailto:johan.so...@gmail.com>> wrote: > Since I work in the middle of an ongoing indentation war (you know, tabs vs. > spaces) I have a need for auto-detecting the indentation mode when opening … > > I'm not even sure if it's possible to hook a script into o