-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom command on file saving #425
Comments
There's currently a command Would something like this be what you want?
|
Thx to point me the command for the line info. Yes the format of hooks seems good, but I think that we also need some variables like: Ex.
|
It will probably be a while before we get to this because there are other things higher up on the list. Did you know you could use the build command system to achieve the same effect, with the only difference is that it would not auto-run on save but that you'd need to bind it to a key combination and execute explicitly? There are variables available there already:
|
I tried that, on a personal project to trigger build, the navigation through errors is nice. |
It would pretty nice to be able to execute custom command just before the file saving to be able to checkout the file on perforce by exemple.
Maybe some users may want to do this by file extensions for commands like linters, but for me it's more by project and if file is in read only state (I may check that in the custom command directly).
Some other features might helps here, like an easy way to copy the full path of the currently edited file.
The text was updated successfully, but these errors were encountered: