Author Topic: How to add an extension?  (Read 2272 times)

greggman

  • Senior Community Member
  • Posts: 273
  • Hero Points: 13
How to add an extension?
« on: July 05, 2008, 08:49:43 pm »
Is this a bug or am I doing something wrong?

I want to add .XUL (Firefox UI language) as an XML language so I go to Tools->Options, I pick "File Extension Manager". I click "New.." type in "xul" for Extension and pick "XML" as the language. I click "ok".

Shouldn't that be it? I notice that slickedit is now trying to get the DTDs for my .xul files but otherwise it's not treating them as XML. There's no completions, there's no syntax highlighting, nothing.

Also, how do I tell slickedit not to look for the DTDs? I tried UN-checking "Auto Validate on Open" but it still looking for the DTDs.

hs2

  • Senior Community Member
  • Posts: 2735
  • Hero Points: 287
Re: How to add an extension?
« Reply #1 on: July 05, 2008, 09:25:20 pm »
Hi greggman, I've found this hint by Ashley.
Hope it helps, HS2
PS: Still using v12 as I do ?
« Last Edit: July 05, 2008, 09:27:09 pm by hs2 »

chrisant

  • Senior Community Member
  • Posts: 1410
  • Hero Points: 131
Re: How to add an extension?
« Reply #2 on: July 05, 2008, 10:48:35 pm »
Did you close and reopen the files?
SE doesn't update the mode of a file automatically, so you'll need to close/reopen (or manually change the mode).