Is it possible to limit the setting of "Character Class: Punctuation" to e.g. Perl files? It is mentioned in this FAQ-item: https://github.com/textmate/textmate/wiki/FAQ#completion-considers-var-var-a...
Kind regards, Ingo
On 14 Jan 2014, at 6:50, Allan Odgaard wrote:
Is it possible to limit the setting of "Character Class: Punctuation" to e.g. Perl files? […]
Edit the scope selector to e.g. “source.perl” and the setting gets limited to that scope.
hmh - not really. In *Scope Selector* I changed according to the mentioned FAQ-item `punctuation.separator` to `punctuation` - which works as described. If I change that to `source.perl` in order to limit this change to Perl-source I loose the perviously gained change in the settings, which allow me to double-click on a variable like `$var` and TM selects `var` instead of `$var`.
Any other idea?
Kind regards, Ingo
On 14 Jan 2014, at 14:12, Ingo Lantschner wrote:
[…] I changed according to the mentioned FAQ-item `punctuation.separator` to `punctuation` - which works as described. If I change that to `source.perl` in order to limit this change to Perl-source I loose the perviously gained change
You would need to use “punctuation & source.perl” to make punctuation in perl sources have the mentioned setting (character class) applied.