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.

Questions about the Visual Studio Code (VSCode) Extension API and extension development. Questions only about extension usage should use the [visual-studio-code] tag instead.

If you have a question about extension development that isn't a good fit for the Stack Exchange model, use the VS Code Dev Community Slack channel where extension developers help each other out and you can ask questions and find support.

4227 questions
1
vote
1 answer

collecting data from vscode extension

I am new to vscode extension development. I have developed a vscode extension and havent published it. its for internal use and users would be using this extension from vsix file. I now want to collect usage data like - how many people are using…
1
vote
0 answers

Bloop VSCode extension won't stop opening even after uninstallation

I briefly tried out the Bloop extension in VSCode, and decided it wasn't for me. After uninstall, it continues to pop up in the navigation sidebar, whenever I complete an import of an npm module, like this: ------------------------------ I find…
1
vote
1 answer

Manually installed Visual Studio Code extension not showing up on remote

I have been using the LLVM project's lldb-vscode extension locally on my Ubuntu box for quite some time successfully. I followed the steps at the README and it works flawlessly. It involves copying both lldb-server and lldb-vscode binaries plus the…
1
vote
0 answers

How to create a webview panel with another webview below it in vscode extension

I was wondering if it would be possible for an extension in vscode to create a panel set up similar to this: where the main code is on the left and the extension creates two drawing panels with one above the other. I know that vscode has the…
Khan
  • 33
  • 2
1
vote
1 answer

VSCode Go (Extension) Error loading workspace: 1 modules have errors, access is denied to file in Temp directory

When loading VSCode my Go extension is generating an error as follows: Error loading workspace: 1 modules have errors: example.com/hello:pattern example.com/hello/...: open C:\Users\AppData\Local\Temp.tmp: Access is denied. I…
1
vote
0 answers

vscode extension CustomTextEditor Drag'n Drop

I want to drop TreeViewItem into my CustomEditor. I've implemented a DocumentDropEditProvider that is working well for a "normal" text editor. But I don't know how to make it work on my CustomTextEditor or its webView. I couldn't find anything in…
1
vote
1 answer

is there a way to bundle files with an lsp-client in vscode

I'm following the guide at https://code.visualstudio.com/api/language-extensions/language-server-extension-guide to create an LSP Client for vscode (I already have a server, it's written in a different language). I would like to know if it is…
1
vote
0 answers

How to make console visible on all Visual Studio Code tabs?

In Visual Studio Code, there are tabs on the left: Explorer, Search, Source Control etc. You can move the terminal panel around these places. For example, you can place it in the search tab in the bottom part of the tab panel: I'd like to see the…
Tom Smykowski
  • 25,487
  • 54
  • 159
  • 236
1
vote
1 answer

How to check if there's any error on the file VS Code extension

I'm creating a VS Code extension and I want to know how can I check if there is any syntax, typescript or eslint error (any red snake on the file). I already built an extension and have a activate(context) function, but I'm not sure where can I…
Caio Borghi
  • 76
  • 4
  • 10
1
vote
1 answer

Match beginning of a line and beginning of remain line

I'm trying come up with syntax highlighter that would match beginning of the line (timestamp) and then beginning of the remaining line. For example: 12:34:56.789 some1 text some2 other text some3 text some4 other text I need to capture words some…
vanowm
  • 9,466
  • 2
  • 21
  • 37
1
vote
1 answer

Connect AWS database to files in VScode

I have already made front end pages using html css and js and I wanted to use the aws rds mysql database in it. The db is connected to the databse in vs code but how do I access it in the php file?
1
vote
0 answers

Visual Studio Code: how to add custom phrase to trigger SQL syntax highlighting?

In a php file, if I start a SQL string like: $sql = "SELECT "; Visual Studio will highlight the syntax. How do I add phrases like "DECLARE" and "SET NOCOUNT ON" to that functionality? I would like the editor to highlight the query when the string…
1
vote
1 answer

VS code not showing References for JS functions that are imported in Vue files

I have a Vue component and a Javascript files as follows. Test.vue test.js As shown in the Screenshot, VS code show the reference of the testFunc function in the Vue component, but in the test.js file, testFunc shows 0 references. How should I fix…
1
vote
1 answer

How to show something grayed out inline using Visual Studio Code Extensions API?

I am creating a VSC extension and try to display ello World as inline as soon as I type H in a markdown file. With my current implementation it happens nothing if I type H. Expected result Actual result extensions.js const vscode =…
Max Hager
  • 536
  • 4
  • 13
1
vote
0 answers

How to disable "disallowtab" in phpcs inside vscode?

I am using vscode editing legacy php code. The phpcs extensions is great in finding potential problems. However, the old code is using tab instead of 4 spaces for indentation. phpcs would report with: Spaces must be used to indent lines; tabs are…
Nick
  • 8,451
  • 13
  • 57
  • 106