SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: CrendKing on May 06, 2009, 10:46:33 pm

Title: Batch configuration change?
Post by: CrendKing on May 06, 2009, 10:46:33 pm
I use SlickEdit 14.0.0.7.

I would like to change all languages' minimum line number width from 1 to 3. Is there a way to do this without visiting the languages one by one? Because I may need to change other properties such as completion on space and so on. Can I do this by using command, like "for each language: change_line_number(...);"?

BTW, the quick start configuration wizard seems buggy. In the coding tab, I click "Set brace style for all languages", and choose a style, then OK. The next time I open this tab, the "Set brace style for all language" is remained disabled. It does not detect user's current configuration, seemingly.
Title: Re: Batch configuration change?
Post by: Sandra on May 07, 2009, 01:22:25 pm
There is not currently a way to change most settings for every language.  You could write your own macro to do so.  We currently have a feature request to implement an easy way to handle this situation.

Also, the Quick Start Coding issue is by design.  "Set brace style for all languages" is disabled, because we did not want to assume that you wanted to set a brace style for all languages.  Only by selecting that checkbox and then selecting which brace style you want do you confirm that you want to do that.  Otherwise, we just leave your settings alone.  We do not detect if your languages all have the same style.
Title: Re: Batch configuration change?
Post by: hs2 on May 07, 2009, 08:25:12 pm
I also think that an 'Apply to all' checkbox/button would be a helpful thing.
@Sandra: Please add '1' to the feature request counter and/or post a macro (snippet) to do so by our ourselves.
Thanks, HS2
Title: Re: Batch configuration change?
Post by: jimlangrunner on May 12, 2009, 09:03:08 pm
Counter ++  ;)
Title: Re: Batch configuration change?
Post by: ScottW, VP of Dev on May 12, 2009, 09:08:09 pm
A facility that would allow changes to multiple languages was originally planned for SlickEdit 2009, but it had to be dropped out of time constraints. We will certainly look at that again for SlickEdit 2010.