We want to select a TreeItem in Variables View of Run and Debug view Container through our extension .
Not able to find any vscode api to achieve that?
Related
This question is not related to Python.
We have a custom language type and using vscode notebooks to execute our code. We have a button called "Select App" similar to "Select Kernel" button in the vscode-jupyter extension.
I want to update the button title to the app name dynamically after selecting from the kernel picker.
The vscode documentation doesn't provide any API docs for the same.
Screenshot
Expecting to rename buttons dynamically in the notebook toolbars.
I am attempting to remove Extensions view from vscode Activity Bar, immediately at code . start.
Is there a way to toggle it off (change default behavior) at launch?
I don't see that workbench.view.extensions is exposed as configurable parameter in settings.json.
Another thought I had, was to instead use keybindings for command workbench.view.extensions.
But there is "no key" equivalent that responds to starting vscode.
You can't do that in Visual Studio Code.
From my knowledge, it's impossible to remove or hide the Extensions view from Activity Bar at code . start.
I'm creating an extension in Visual Studio Code, and I'd like to know how to create a menu in my custom view container. For example, the Git Source Control extension allows you to have two folders open and click on which one to operate before performing the usual Git operations. I want to know how it is possible to create this view, and how to dynamically alter it (i.e., add/remove folders).
I have two views in eclipse one is my custom defined view and other is project explorer view, I want my wizard to get enabled in project explorer view but it has to be disabled in my custom view
how can i achieve this, please help
thanks in advance
I want to programmatically open an eclipse view, I tried this code:
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().showView(view.ID);
It opens the view but it only instantiate it once.. I need to open a view on a double click on a file in the package explorer, the only way I found so far is opening it in the editor constructor ( a custom editor, btw if anybody knows how to open a view on double click on a file in the package explorer I'm all ears). To populate the view (tree view) I use data from a file, it works fine the first time I open it but then it does not refresh its content.
Can I perhaps access the view class object and manipulate somehow (get the tree viewer object maybe)? The perfect way to do this would be to open the view on a double click directly in the file that I need to render but I didn't find how, can anybody help?
What you are describing is really a read-only editor. There shouldn't be any reason that you couldn't implement an editor with dummy save() and saveAs() implementations. You'd get the double-click support you want in any navigation view.