Author Topic: *.jspf files: How to get file extension provisions to kick in?  (Read 4548 times)

tinker123

  • Community Member
  • Posts: 93
  • Hero Points: 3
*.jspf files: How to get file extension provisions to kick in?
« on: October 20, 2009, 06:55:02 pm »
How can I get file extension provisions ( syntax highlighting, code completeion, etc ) for files with the extension *.jspf.     I got them for *.jsp files, but not *.jspf.  I'm suing version 10.* VSE for windows.

Thanks.

ehab

  • Senior Community Member
  • Posts: 285
  • Hero Points: 15
  • coding with SE is like playing music
Re: *.jspf files: How to get file extension provisions to kick in?
« Reply #1 on: October 20, 2009, 07:20:58 pm »
will the following help:

Add New Language
Color coding lexer name: use jsp

Copy settings from ....

hope it helps.

chrisant

  • Senior Community Member
  • Posts: 1410
  • Hero Points: 131
Re: *.jspf files: How to get file extension provisions to kick in?
« Reply #2 on: October 20, 2009, 07:29:28 pm »
I don't think adding a new language is needed.
There is already a language set up for jsp:  just add an association for jspf to the existing language that jsp is associated with.
But SE 10 is old enough that I don't know the exact steps for doing that in SE 10.

ehab

  • Senior Community Member
  • Posts: 285
  • Hero Points: 15
  • coding with SE is like playing music
Re: *.jspf files: How to get file extension provisions to kick in?
« Reply #3 on: October 20, 2009, 08:05:13 pm »
chrisant advise is sound.. try it

tinker123

  • Community Member
  • Posts: 93
  • Hero Points: 3
Re: *.jspf files: How to get file extension provisions to kick in?
« Reply #4 on: October 20, 2009, 08:16:54 pm »
I don't think adding a new language is needed.
There is already a language set up for jsp:  just add an association for jspf to the existing language that jsp is associated with.
But SE 10 is old enough that I don't know the exact steps for doing that in SE 10.

I tried   Tools | Options | File Extension Setup and the "Refer To" button to refer to "jsp" but it just points to HTML ( like jsp), but without the jsp provisions.

Graeme

  • Senior Community Member
  • Posts: 2430
  • Hero Points: 322
Re: *.jspf files: How to get file extension provisions to kick in?
« Reply #5 on: October 21, 2009, 10:23:39 am »
I tried in V10-0-C making jspf refer to jsp and it seems to be doing syntax highlighting ok but completion doesn't seem to work for either jsp or jspf.  In V14 slick won't let me make jspf refer to jsp but referring to html seems to work.

Graeme