10-13-2022, 11:39 AM
script.setup before usings is not possible, but you can prevent LA putting usings into //. //...
In script template (in Options) remove //. //... Can remove everything if don't need script.setup (it is optional).
Actually script.setup can be moved to a module initializer function in global.cs. Not tested. But then it will be executed in all scripts. Probably not a good idea.
Maybe LA should have option "put usings into /. //..".
In script template (in Options) remove //. //... Can remove everything if don't need script.setup (it is optional).
Actually script.setup can be moved to a module initializer function in global.cs. Not tested. But then it will be executed in all scripts. Probably not a good idea.
Maybe LA should have option "put usings into /. //..".