Closed maxijabase closed 5 months ago
I would also like to point out that I'm interested in implementing a macro that the extension would replace when executing the command, so the user could do sm plugins reload {plugin}
or other variable preffix/suffix, and the current plugin being compiled could be targeted once copied to the server.
The question is, out of ignorance, does the extension have the ability to compile multiple plugins at the same time, for instance when working on a big project? Because if it could, then it would not be as easy as that, and I'd have to think of another way for the user to be able to refresh several plugins at once (the ones he's working in). Maybe I didn't make myself very clear with the last part but I hope my point is not too blurry.
does the extension have the ability to compile multiple plugins at the same time
No, and it will probably never allow that as https://github.com/Sarrus1/sourcepawn-vscode/issues/217
is still stale because of VSCode
You can use this snippet to get the path of the main file, therefore the plugin's name.
Closing to re-open from a feature branch.
In this PR some changes have been proposed so users, via a new field in the extension settings, can specify custom commands for them to be executed in the server after a successful compilation or upload. This is exactly what's been happening already, but now without the fixed
sm plugins refresh
.