Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

Improving navigation/workflow for IDF editing in Notepad++

Aside from syntax highlighting, which is really useful, it's sometimes very hard to navigate within a large IDF file.

When you have hundreds of classes and 40,000 lines in your IDF file it's hard to see what's going on. I was wondering if it would be possible to have either:

  • a navigation menu (similar to a table of content) that would list all object classes and you could just click on it to get to the correct section. It would basically be a link to each "!- ===== ALL OBJECTS IN CLASS: XXX ======" that would update automatically.
  • a proper way to fold your code by object and by class, just as with many programming language (I've achieved a workaround that I'll post below... But there could be a much better way I didn't see).

Have people found good ways to achieve either of those two in Notepad++ and are willing to share? Thanks.

Improving navigation/workflow for IDF editing in Notepad++

Aside from syntax highlighting, which is really useful, it's sometimes very hard to navigate within a large IDF file.

When you have hundreds of classes and 40,000 lines in your IDF file it's hard to see what's going on. I was wondering if it would be possible to have either:

  • a navigation menu (similar to a table of content) that would list all object classes and you could just click on it to get to the correct section. It would basically be a link to each "!- ===== ALL OBJECTS IN CLASS: XXX ======" that would update automatically.
  • a proper way to fold your code by object and by class, just as with many programming language (I've achieved a workaround that I'll post below... But there could be a much better way I didn't see).

Have people found good ways to achieve either of those two in Notepad++ and are willing to share? Thanks.

Improving navigation/workflow for IDF editing in Notepad++

Aside from syntax highlighting, which is really useful, it's sometimes very hard to navigate within a large IDF file.

When you have hundreds of classes and 40,000 lines in your IDF file it's hard to see what's going on. I was wondering if it would be possible to have either:

  • a navigation menu (similar to a table of content) that would list all object classes and you could just click on it to get to the correct section. It would basically be a link to each "!- ===== ALL OBJECTS IN CLASS: XXX ======" that would update automatically.
  • a proper way to fold your code by object and by class, just as with many programming language (I've achieved a workaround that I'll post below... But there could be a much better way I didn't see).

Have people found good ways to achieve either of those two in Notepad++ and are willing to share? Thanks.

Improving navigation/workflow for IDF editing in Notepad++

Aside from syntax highlighting, which is really useful, it's sometimes very hard to navigate within a large IDF file.

When you have hundreds of classes and 40,000 lines in your IDF file it's hard to see what's going on. I was wondering if it would be possible to have either:

  • a navigation menu (similar to a table of content) that would list all object classes and you could just click on it to get to the correct section. It would basically be a link to each "!- ===== ALL OBJECTS IN CLASS: XXX ======" that would update automatically.
  • a proper way to fold your code by object and by class, just as with many programming language (I've achieved a workaround that I'll post below... But there could be a much better way I didn't see).

Have people found good ways to achieve either of those two in Notepad++ and are willing to share? Thanks.