Page 1 of 1

Notepad++ highlighting for SIF files

PostPosted: 24 Feb 2016, 21:57
by dmitry
Greetings Elmer users!
During my work with Elmer I found that in some cases it is convenient to work directly with SIF files instead of using ElmerGUI.
But utilizing Notepad or default editor in the case where we have coupled solvers, a lot of bodies, BCs, BFs etc. is quite heavy.

I really like Notepad++ and it helps me again :) I simply create a syntax where hiding blocks of sif is available. Also there is some highlighting for constants. If you are interested, you can download it from my cloud:
https://yadi.sk/d/BCQGHTEMpSTMM

I use following markers to open groups of code related to different types of settings:
  • !constants
  • !bodies
  • !BF
  • !materials
  • !eqns
  • !solvers
  • !IC
  • !BC
The groups may be closed by !group_end

Single sections like "Header", "Simulation", "Solver i", etc. may be opened by !block marker and closed directly by End operator.

You can see exemples of work with Notepad++ below from my cloud:
https://yadi.sk/i/0TTQxNIOpSRpC
https://yadi.sk/i/ccSvlptDpSS29

As you can see it is possible to work in "OpenSCAD style".
That's all for now!

PS: It is just simplification of work, nothing else ;) If someone knows more convenient way of sif editing, please welcome.

Re: Notepad++ highlighting for SIF files

PostPosted: 04 Sep 2017, 13:12
by JustDoIt
I wanted to share a link to the Russian program review Notepad ++
http://notepad-plus-plus.ideaprog.download/