I'm trying to write an extension for visual studio, but I'm completely new to typescript and visual studio code.
In fact I'm trying to write an extension similar to activate-power-mode for atom :
All the logic is already implemented but I can't find how I could go about creating custom UI and if it's even possible with a simple extension.
You can browse and install extensions from within VS Code. Bring up the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of VS Code or the View: Extensions command (Ctrl+Shift+X). This will show you a list of the most popular VS Code extensions on the VS Code Marketplace.
You can develop Java GUI applications in Visual Studio Code easily. To achieve that, you need to install the Extension Pack for Java, which includes all the required extensions to develop Java GUI applications.
There's a Webview API that you can use to create non-standard UI using typical HTML/CSS/JS stack. Here's the actual quote from the original doc:
Webviews can ... be used to build complex user interfaces beyond what VS Code's native APIs support.
And here's a demo of potential opportunities:
No, this isn't possible with VS Code's extension model. Extensions run in a separate process and only have access to the editor via specific APIs. See https://code.visualstudio.com/docs/extensions/our-approach
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With