Does Idea have Perl syntax highlighting (like in Jedit, for example) with or without plugin? If not, could somebody point me to plugin example for syntax highlighting.
Does Idea have Perl syntax highlighting (like in Jedit, for example) with or without plugin? If not, could somebody point me to plugin example for syntax highlighting.
Check out IDE Settings --> File Types. From there you can add a Perl file type, register Perl keywords for that file type, and then register an extension (e.g. ".pl") for your Perl file type.
Now, whenever you open a *.pl file, IDEA will render the keywords appropriately.
(Note, however, that CTRL-/ and CTRL-SHIFT-/ don't yet work for custom file types. See SCR #4510 to vote for this feature and/or try Timur Zambalayev's Comment Plugin (http://www.intellij.org/twiki/bin/view/Main/CommentPlugin ))
How can I highlight perl variables? For example, in: my $test = "aaa"; my and ; is blue, "aaa" is green but $test isn't highlighted. so question is still open.
>>Does Idea have Perl syntax highlighting (like in Jedit, for example) with >>or without plugin? >>If not, could somebody point me to plugin example for syntax highlighting. >> >>Oleg. >>
You can't highlight Perl variables. Also I don't think there's a Perl plugin for IDEA.
How can I highlight perl variables? For example, in: my $test = "aaa"; my and ; is blue, "aaa" is green but $test isn't highlighted. so question is still open.
You can define custom file types in IDEA. See:
http://www.intellij.org/twiki/bin/view/Main/FileTypeDefinitions
http://www.intellij.com/docs/help/preferences/fileTypes.html
"Oleg" <oleg@oleg.net> wrote in message news:b96bhm$45i$1@is.intellij.net...
>
>
Check out IDE Settings --> File Types. From there you can add a Perl file type, register Perl keywords for that file type, and then register an extension (e.g. ".pl") for your Perl file type.
Now, whenever you open a *.pl file, IDEA will render the keywords appropriately.
(Note, however, that CTRL-/ and CTRL-SHIFT-/ don't yet work for custom file types. See SCR #4510 to vote for this feature and/or try Timur Zambalayev's Comment Plugin (http://www.intellij.org/twiki/bin/view/Main/CommentPlugin ))
chris
How can I highlight perl variables?
For example, in:
my $test = "aaa";
my and ; is blue, "aaa" is green but $test isn't highlighted.
so question is still open.
BTW, look at http://syntax.jedit.org
They have separate "Syntax Package".
Oleg.
Timur Zambalayev wrote:
>>Does Idea have Perl syntax highlighting (like in Jedit, for example) with
>>or without plugin?
>>If not, could somebody point me to plugin example for syntax highlighting.
>>
>>Oleg.
>>
You can't highlight Perl variables.
Also I don't think there's a Perl plugin for IDEA.