Questions tagged [vscode-extensions]
Use this tag for questions about the Visual Studio Code Extension API and extension development. Questions only about extension usage should use the [visual-studio-code] tag instead.
vscode-extensions
4,641
questions
0
votes
0
answers
9
views
VS Code sync not being applied
I used npkill to clean up some node_modules, but I accidentally deleted some files that caused my VS Code extensions to stop working. I uninstalled VS Code and tried to apply a sync to restore all my ...
0
votes
0
answers
11
views
VS code extension - Gutter icons
I am currently using codelens inorder to click and proceed to action , How do I add gutter icon with quick pick menu to show actions , Thanks
The set/get decoration endpoint doesnt seem to be working ...
0
votes
0
answers
11
views
Getting the Editor Content based on the Cursor Position in a Vs Code Extension
1Are there some available ways for getting the entire function based on the current cursor position in the Vs code Editor ,
For Eg. Refer This Image here my cursor is at a line inside the function , ...
0
votes
0
answers
16
views
VSCode extension display inline form on code editor
Im building a vscode extension where I would like to add some additional context to the code. To do this, I'm using Code Actions, which when clicked should bring up a form with two inputs and a submit ...
-1
votes
0
answers
13
views
Custom Language Server
I am trying to write own language server for yaml files to use in vscode.
When I modify file the editor sends me textdocument/didOpen and other requests. However, it does not send "textDocument/...
0
votes
1
answer
15
views
vscode extension not updating automatically after making changes to typescript source code
I had a working extension in pure JavaScript and I wanted to move to TypeScript.
When I generate a demo extension with:
npx --package yo --package generator-code -- yo code
and select:
? What type of ...
0
votes
0
answers
7
views
Remote-Explorer: grouping of some ssh hosts
Is it not possible in VisualStudioCode to group the hosts somehow to become a better overview?
thanks a lot for any help.
Extension is: Remote-Explorer together with Remote-SSH
I searched in the ...
0
votes
0
answers
12
views
VSCode Extension Custom Folding Provider Without Interfering With Others
I am using a language where another extension already provides default folding ranges. I want my extension to add an additional folding range on top of that.
However, I am finding that when I define a ...
-2
votes
0
answers
14
views
VSCode Extension: How to hide certain files in File Explorer via Extension Settings
I want to create a VSCode extension, which allows me to hide certain files in the File Explorer using Extension Settings.
My status quo looks roughly like this:
package.json
{
"contributes&...
0
votes
0
answers
8
views
lsp LanguageClient setTrace sends always "off"
When successfully implementing a language client - server system, I can not set "trace" to an other value by setTrace. The server always receives "off". The client is visual studio ...
0
votes
0
answers
34
views
Can I create an extension for adding an <iframe> with a YouTube player to the VS Code sidebar?
I'm trying to create a VS Code extension that embeds an <iframe> with a media player (e.g., YouTube) into the sidebar. I was inspired by the VS Code Pets extension, which adds an interactive pet ...
0
votes
0
answers
17
views
How to update Cache in vscode.MarkdownString?
I am developing an extension and I am using an Image in MarkdownString that's being cached by vscode
new vscode.MarkdownString(`<img src='${imgUri.path}' width='200' height='200'/>`);
I have ...
-1
votes
1
answer
26
views
I am getting XHR failed error on after I downloaded VSC on my new macbook
I recently bought a new MacBook M3 Pro and downloaded Visual Studio Code on it. However, I'm encountering an error that I can't resolve. I've looked through various posts on Stack Overflow and tried ...
0
votes
0
answers
16
views
VS Code Custom Syntax Not Highlighting
I made a vs code syntax for calcscript but I cannot seem to get the hightlighting or the autocompetion working for my code.
This is my package.json:
{
"name": "calcscript-syntax-...
-1
votes
0
answers
24
views
Is there a way to configure VSCode / remote-ssh extension such that you can have root access to the instance?
Here's an improved version of your request:
I'm seeking a solution to streamline file manipulation (Create, Read, Update, Delete) through the Visual Studio Code GUI while SSH'd into a remote instance ...