Refactor your functions in specified files
Arthurmtro opened this issue · comments
You should separate your logic in specified files, this will allow you to better read, update and understand your code.
Plus, you may want to test your code in order to avoid a lot of errors
for example a folder lib
with a folder commands
with all commands so in your main file it will be more readable to just call the associated functions and don't care about what it does
nwscript-sinfar-language-server/client/src/extension.ts
Lines 86 to 95 in c5afa54
Yes. This makes a lot of sense.