Re: Shell Scripting Exention?

Jeff Griffiths <[email protected]>
Newsgroups gmane.comp.ide.komodo.general
Message-ID <[email protected]>
On 2/9/09 10:27 AM, Troy Topnik wrote:
> On Sat, Feb 07, 2009 at 11:03:53AM -0500, R. Hicks wrote:
>> Jeff Griffiths wrote:
>>> You *can* use Abbreviations though, just like any text file. Just be
>>> sure to put the snippets under the 'General' sub-folder of the
>>> Abbreviations folder in your toolbox. I have:
>>>
>>> Abbreviations/
>>> 	General/
>>> 		Bash/
>>> 			...
>
> Putting anything in the General folder makes it available globally
> (i.e. in any language), so this is arguably the wrong approach.
>
>> Should anything I create go under there and not just Bash? And may I
>> ask, for clarificiation, why there?
>
> Putting the snippets under Abbreviations/Bash as you suggest is the
> better way. These snippets will then only be available in files that
> Komodo recognizes as Bash.
>
>   http://docs.activestate.com/komodo/5.0/abbreviations.html

Troy is right, I had forgotten that Abbrev. became smart enough at some 
point to know about more than just the core languages.

As an aside, if you *do* put things in 'General', they will always get 
clobbered by anything with the same name in the folder for the current 
language. So you can have all kinds of snippets named 'function', for 
various different languages, and Komodo wil only use the one in 
'General' as a last resort.

JG

_______________________________________________
Komodo-discuss mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.