Syntax Highlighting Wishlist: INCLUDE LANGUAGE ???

Syntax highlighting, code folding, brace matching, code indenting, and function list

Syntax Highlighting Wishlist: INCLUDE LANGUAGE ???

Postby PJFromOverHere » Thu Sep 27, 2007 5:40 pm

This may be in already, but I was looking at one of the topics about Windows Powershell and how the wordfile would be very large. Isn't the main reason because it's using the .Net Framework.

So I was thinking maybe in the big word file you could have something like this:

Code: Select all
/L16"Net Framework 1.0"
/C1"Statements"
etc

/L17"Net Framework 2.0"
IncludeCSectionsFrom "Net Framework 1.0"
/C1"Statements"
newstatement1 newstatement2
etc

/L18"VB.Net 2005"
IncludeCSectionsFrom "Net Framework 2.0"

/L19"C#"
IncludeCSectionsFrom "Net Framework 2.0"

(this is only to try to get a preliminary point across -- I know it may not make total sense)

Okay, admittedly you're likely going to use the provided MS IDEs to develop in these languages (unless you're doing MONO development) but I would think it might be more useful for keeping the wordfile small. And you'd only want to Include the "C" sections because the other language definitions would differ.
User avatar
PJFromOverHere
Newbie
 
Posts: 8
Joined: Wed Sep 26, 2007 11:00 pm

Re: Syntax Highlighting Wish list: INCLUDE LANGUAGE ???

Postby PaoloFCantoni » Fri Sep 28, 2007 1:56 am

I support this idea - we have similar problems with a number of SQL dialects and also Visual Basic dialects.

It would also be very useful if the included definition were not necessarily from the current Wordfile. This would allow project specific wordfiles to be cascaded from a common base.

Paolo
User avatar
PaoloFCantoni
Power User
Power User
 
Posts: 113
Joined: Sun May 01, 2005 11:00 pm
Location: Perth, Western Australia


Return to Syntax Highlighting