[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EnergyPlus_Support] Syntax highlighting, navigation pane, code folding for E+ IDF files in notepad++





Fellow E+ users,

If you're like me and you use notepad++ to work on .idf files, you might be interested in something I just released.

I found myself wanting two things: syntax highlighting to be able to quickly see the important keywords while scrolling down, and some kind of navigation pane in order to quickly reach a selected section of a file. Code folding was also interesting to me.

In order to achieve syntax highlighting, I've simply created user defined languages.

In order to achieve a navigation pane, I had to use an advanced function of Notepad++ called Function List.

For the code folding, I used a user macro.

What you'll get out of it will look like this:

â??
â??
One the above picture, on the left, you can see syntax highlighting on an EnergyPlus Input File (.idf) as well as code folding (you can fold classes and/or objects)
To the right, you have the "Function List" pane that serves as a navigation pane:
- You get classes (major sections)
- You can expend them to get an anchor to any specific object: click it and you'll jump to its location in the file.

Similar results are achieved for eQuest as well if you use both.

For the files as well as as installation guidelines, please go to my Github repository, where the readme should explain everything you need to know.

Feedback/bug report/pull request are welcome.


Cheers,
Julien
--
Julien Marrec, EBCP, BPI MFBA
Energy&Sustainability Engineer
T: +33 6 95 14 42 13

LinkedIn (en) : www.linkedin.com/in/julienmarrec
LinkedIn (fr) : www.linkedin.com/in/julienmarrec/fr



__._,_.___

Posted by: Julien Marrec <julien.marrec@xxxxxxxxx>


Primary EnergyPlus support is found at:
http://energyplus.helpserve.com or send a message to energyplus-support@xxxxxxxx

The primary EnergyPlus web site is found at:
http://www.energyplus.gov

The group web site is:
http://groups.yahoo.com/group/EnergyPlus_Support/

Attachments are currently allowed but be mindful that not everyone has a high speed connection.  Limit attachments to small files.

EnergyPlus Documentation is searchable.  Open EPlusMainMenu.pdf under the Documentation link and press the "search" button.




Visit Your Group
Yahoo! Groups
PrivacyUnsubscribeTerms of Use

__,_._,___