-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[plug-in] Ability to get current selection in the explorer view #4043
Comments
@RomanNikitenko is this about implementing some vscode API call? |
@tsmaeder I'm sorry - I missed your message. |
As I understand, we need macros mechanism in general and macro for current project path is particular type of macro as an example. |
@vzhukovskii we have ability to register variable from plugin side. But I don't know the way how to get current selection in the explorer view on plugin side. We could resolve the variables for Che tasks replacing |
For resolving actual variable |
@vzhukovskii we don't have problem with registration variable, so we don't need to implement interface variable.ts#L24, we can just register variable. |
The use case where I want to use it for Task plugin is resolving the variables for Che tasks.
For example, we have command
mvn clean install -f ${current.project.path}
and we need to resolve it before running. So we need to replacecurrent.project.path
to execute the task for current project.The text was updated successfully, but these errors were encountered: