0
Abgelehnt
Access command line arguments from plugins
Script access to the command line arguments used to load a view would allow plugins to handle custom command line parameters.
This would be useful for people trying to integrate Sublime Text with external applications.
Antwort
0
Antwort
Abgelehnt
Jon Skinner vor 13 Jahren
You can already pass data to plugins from the command line by using the --command argument.
Antwort
Abgelehnt
You can already pass data to plugins from the command line by using the --command argument.
http://www.sublimerge.com/docs/vcs-integration.html#subversion-svn
(I am not the author of sublimerge plugin)
There is an issue cannot be solved by the plugin:
ST3: running Sublimerge from command line (only when Sublime Text was not already running) only opens files without doing diff. Otherwise, when launching Sublimerge while ST is running, everything works fine.This is caused by asynchronous plugins loader in ST3 and cannot be fixed from plugin level.
Cound you add some mechanism to allow passing data to plugin when the plugin is loaded?
For example, add an argement called
--plugin-command { "dependency": [ "plugin-name" ], "data": { ... } }
Thank you.
Customer support service by UserEcho