ASP - JScript

I was wondering if it's somehow possible to use Idea for ASP files editing. I have a project written in ASP/JScript. I could probably just create another file type to get sytax highlighting. But since JScript is 95% same as JavaScript I was wondering if I could somehow get all same goodies that Idea already has for JavaScript?

So my question is - is it possible to somehow copy existing JavaScript file type and get Idea to recognise JScript blocks for <% %> and apply all the same rules as it does for JavaScript?

BTW it would be nice to have "copy file type" function.

2 comments

Hello victorstar,

v> I was wondering if it's somehow possible to use Idea for ASP files
v> editing. I have a project written in ASP/JScript. I could probably
v> just create another file type to get sytax highlighting. But since
v> JScript is 95% same as JavaScript I was wondering if I could somehow
v> get all same goodies that Idea already has for JavaScript?
v>
v> So my question is - is it possible to somehow copy existing
v> JavaScript file type and get Idea to recognise JScript blocks for <%
v> %> and apply all the same rules as it does for JavaScript?

No, it is not possible. Recognizing script blocks in a mixed-language file
is done by internal IDEA code, and must currently be implemented specifically
for each file type. And we don't currently have any plans to support ASP
in IDEA - it's not a Java techology, so it's far outside the scope of the
product.

v> BTW it would be nice to have "copy file type" function.

Why would you need that? Why not simply add more extensions to the file type
you already have?

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

No, it is not possible. Recognizing script blocks in a mixed-language file
is done by internal IDEA code, and must currently be implemented

specifically

for each file type. And we don't currently have any plans to support ASP
in IDEA - it's not a Java techology, so it's far outside the scope of the
product.


The last thing I want is for Idea developers work on ASP support :)
My point was that JavaScript support is already there. Idea already can work
with html pages with mixed-in JavaScript code. And if it somehow could
recognize JavaScript blocks other than (like ]]>) it
already would work great for me.

Anyhow it would be sweet to have user-managable mixed-language file support
in Idea (as opposite to the one done with Idea core)

v> BTW it would be nice to have "copy file type" function.

>

Why would you need that? Why not simply add more extensions to the file

type

you already have?


Why? To copy and change some settings rather than add all keywords from the
scratch.

Thanks,
Victor


0

Please sign in to leave a comment.