I working with Tcl scripts that do not have any extensions. Is it possible for the user to specify a default language to scan?
Sorry no, that's not doable at the moment.
Unless your scripts do have "specific" (repeating) filenames -
then you could register them as if they were extensions.
But if your filenames are random, then I can't help.
Thanks for the reply. The files are actually prefixed with the server name. Does the matching part need to be the suffix or can you uses a regular expression to match against the prefix?
Unfortunately there's no regex handling for the filename/-extension<>language mapping.
So I can't help you at the moment. What I meant is something "SCons"-files. They also don't
have extensions, but they are always called "SContruct" or "SConscript". So I can simply
add "SContruct." and "SConscript." to the extension list for python, as they are python
files (as you can see for yourself, if you look up the language settings for python in the sourcecookifier
That works brilliantly. Thanks. Only takes a few seconds too. Would never have thought of the dot at the end.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.