Notepad++ highlighting for SIF files

Elmer cases by the users for the users
Post Reply
Posts: 53
Joined: 09 Dec 2014, 16:52
Antispam: Yes
Location: Russia

Notepad++ highlighting for SIF files

Post 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:

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:

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.
Posts: 1
Joined: 04 Sep 2017, 13:08
Antispam: Yes

Re: Notepad++ highlighting for SIF files

Post by JustDoIt »

I wanted to share a link to the Russian program review Notepad ++
Post Reply