this code is lazily adapted from this script I made.
I will work on an adapted architecture and feature when I got the time to.
⚠ I didn't really searched much on how to write a vscode extention, please be gentle with me 😃
Now display comments & errors as text decoration !
Extension Settings
4gl-formatter.format-4gl-file -> "4gl Formatter : Format file": format the active file
you can see the log of the formatter in the 'OUT' pane by selecting "Moussed's 4gl formatter"
It shows some useful info , like when it find an orphan if or else statement in the file.