Right now, the generated code indentation is taken from the source code, but only sometimes. It's inconsistent. The compiler should ignore empty spaces and newlines and format code in a systematic and configurable way (4-spaces, 2-spaces, tabs, etc).
For this, it's necessary to hold the current indentation state, which should be implemented in the the state.js file. This will allow to format genedated code much more consistently.
Right now, the generated code indentation is taken from the source code, but only sometimes. It's inconsistent. The compiler should ignore empty spaces and newlines and format code in a systematic and configurable way (4-spaces, 2-spaces, tabs, etc).
For this, it's necessary to hold the current indentation state, which should be implemented in the the
state.js
file. This will allow to format genedated code much more consistently.