From: Chris S. <je...@sa...> - 2003-09-17 20:21:18
|
Rick I think this is how it is done. Try going to Utilities>Global Options...>Editing Find the 'pl-sql' option from the 'Change setting for mode' drop-down list. un-tick 'Use default setting' and change 'File name glob' to *.sql You will probably need to change the setting for 'transact-sql' as well Chris Samuels Rick Owen wrote: > Greetings, > > I use jEdit to edit pl/sql files. They all have the extension of .sql, which is something I'm not > willing to change at this point for a variety of reasons. I have tried to make jEdit recognize > .sql as pl/sql rather than transact sql, but short of editing the catalog file in the jEdit > installation directory I don't know how to do this. > > I thought I could just add an entry in: > > c:\Documents and Settings\rlo\.jedit\modes\catalog > > <MODE NAME="pl-sql" FILE="pl-sql.xml" FILE_NAME_GLOB="*.sql" /> > > I copied the installation pl-sql.xml to the same directory and then started up jEdit. However, it > still refers to .sql as Transact SQL files. > > What am I doing wrong? What is the correct way to do what I want, which is... > > 1. have .sql and .pls files recognized as pl/sql files. > 2. have .tsql files be recognized as transact sql files. > 3. not have to make the changes each time I install a new release of jEdit. > > Thanks, > Rick. > > ===== > "The military is a killing instrument; if [you] want finesse [you] should hire a ballet company." --Ralph Peters > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf |