> I like to suggest that in case user selects language syntax from Language
> menu, then allow using tools defined in that language properties files
> automatically
There is no direct relationship between language modes and
particular properties files. Perhaps you could explain exactly what
you want.
Neil
> Then how can I define command property for file recognised by shebang?
Commands are defined for file patterns so you can define a file
pattern that matches your file name. Since '*' matches everything, you
can use a default command like
command.4.*=python $(FileNameExt)
Neil
Neil
--
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-i...@googlegroups.com.
To unsubscribe from this group, send email to scite-interes...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.
> Yes, but if I define:
>
> command.4.*=ruby...
>
> in ruby.properties, then:
>
> command.4.*=perl...
>
> in perl.properties, or:
You should think of the multiple properties files as if they are
all contained inside the global properties file. The division into
multiple files is to make it easier to find settings and add and
remove languages.
You should never change these files: put your settings into user properties.
Neil
> Maybe if "file.patterns" would somehow accept reference to files recognised
> by particular shebangs, we could cover them with $(file.patterns.xxx) like
> we do file extensions
If anyone is interested in working on this, I'll accept a good
patch. Since I use file extensions, its not a problem for me so I
won't be working on it myself.
Neil