Better support for custom file types

I would love to have more control specifying keywords and other features of
different file types.

As an example, it'd be nice to have Win2K batch files supported with full
color coding. Being able to color using regular expressions would really
help. Variables appear between percent signs (such as "%MY_VALUE%"), so
it'd be nice to have IDEA color anything between percent signs (inclusive)
one way, separate from other keywords. For shell scripts, variables start
with a dollar sign ($MY_VALUE), and it'd be nice to mark them as well. It'd
certainly allow one to easily visually detect missing percent or dollar
signs!

Additionally, it'd be nice to specify more than one line comment, as in
Visual Basic, where both "REM" and a single quote are line comments.

Different languages use different bracing as well. Pascal and similar
langauges use "Begin/End" to demark blocks, and Win2K Batch files use
parentheses instead of braces. Being able to specify this would allow the
block marking (in the margin, showing the current block) to work correctly
even in custom file types.




2 comments
Comment actions Permalink

Paul Bradshaw wrote:

Different languages use different bracing as well. Pascal and similar
langauges use "Begin/End" to demark blocks, and Win2K Batch files use
parentheses instead of braces. Being able to specify this would allow the
block marking (in the margin, showing the current block) to work correctly
even in custom file types.


Also auto intending on block markers could be used ... a number of
editors use custom regular expressions / pattern matching entry for
denoting what a function looks like also (so that parameters can be deal
with as such).

This would be a major (but simple) advantage and extension to the IDEA
system. The door could be opened to a much wider market to allow
developers of other languages to utilise the tools that IDEA offers to
all file types (eg: amazing cvs integration).

0

Please sign in to leave a comment.