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

how to disable vs code toast feature

The toast notifications (popups) of VS Code is surprisingly annoying. These notifications are often redundant and cluttering as well as visually distracting. I know this has been asked before and wondering if there is anything new as of 2022.…
George
  • 2,451
  • 27
  • 37
1
vote
1 answer

how to color tree view item in VSCode extension

I have implemented my own explorer view for my extension by implementing vscode.TreeDataProvider<> Now I want to customize color of tree view item/node which is my root node (or it can be other specific node as well). To color tree view item , I…
ajayg
  • 27
  • 4
1
vote
0 answers

VSCode Extension - Injected Template Language Detection

I have recently tried to create a very simple VS Codium (VS Code) extension to support an embedded template language. In my case this was for Go templates (text/templates / html/templates packages) which may be embedded in a variety of languages…
Paul Norman
  • 1,621
  • 1
  • 9
  • 20
1
vote
1 answer

setting VScode extension to its defalut settings

how can I bring all the settings of an extension to its default? would uninstalling them and then re-installing do the trick? From time to time I'm playing around with extensions settings, and sometimes I mess things up. Now I'm having problems…
1
vote
1 answer

Text is white in vscode

Anyone can help me fix this? I'm using one time pad theme but it looks like this, every code in js or ts has white text but it is normal in other code I have tried other themes but it always show me like that, text color of js and ts doesn't change
1
vote
2 answers

VSCode Unable to load and parse grammar for scope source.ts

VSCode Developer Tools: ERR Unable to load and parse grammar for scope source.ts from file:///Users/xxxxxxx/.vscode/extensions/ms-vscode.vscode-typescript-next-5.0.20221116/syntaxes/TypeScript.tmLanguage.json SyntaxError: Unexpected end of JSON…
Shmily Lin
  • 123
  • 1
  • 1
  • 6
1
vote
0 answers

Why is my python extension not loading in VScode? (Microsoft)

I'm new to Python and programming in general, i'm learning my first steps in VScode. I was trying to create a virtual environment which I couldn't activate for some reason. I tried to solve this with a few tricks I found on stackoverflow, like…
1
vote
0 answers

VScode connect remote Jupyter server with headers

I'd like to add headers when I connect to remote Jupyter server. How can I deal with this? Thanks Choose Existing I put jupyterlab url without headers and it redirected to login page.
1
vote
0 answers

VueJS Template Syntax in VSCode

I'm a beginner user of VueJS and am trying to improve my workflow while learning the functionality of VueJS. Currently, I am using VSCode, however, I am having a bit of trouble getting VSCode to recognize certain syntax. For example, I am making a…
Halflove
  • 11
  • 2
1
vote
0 answers

VS Code Julia REPL very slow startup

I installed julia with juliaup from the windows store (win 11), then installed Julia 1.8.2. Everything works fine in the Julia shell. I installed the vscode julia extension. I was trying to use the VS Code REPL feature but it takes ~1/2 min to start…
1
vote
1 answer

Typescript errors not showing up in VSCode, with Vue 3 and Volar

I'm trying to use Typescript in Vue 3, in VSCode. When I was using the Vetur plugin, it had error highlighting, but it was overly enthusiastic - and the official Vue 3 docs recommend against it. Then I followed the instructions on the Vue 3 docs,…
1
vote
0 answers

How do we find the definition of a variable using VSCode's Extensions API?

Is there a way to find the definition of a variable using VSCode's Extensions API for a TSX/TS project if the variable is defined in another file? For example: // file_1.tsx const randomConstantVariable = "Hello World" // file_2.tsx import {…
1
vote
0 answers

stddef.h(216, 23): typedef redefinition with different types ('unsigned int' vs 'unsigned long long') error

I'm starting to code in C and this one ended up showing up. I have no idea what it could be since I didn't change the file that is giving an error (stddef.h). stddef.h: ` /* Copyright (C) 1989-2016 Free Software Foundation, Inc. This file is…
logmadu
  • 11
  • 2
1
vote
0 answers

Having issues installing and using npm install -g yo generator-code on macOS Ventura

I wanted to update my Visual code studio theme I've created when I went to my terminal to update my theme. I put in the words. Yo code is showed an error that it couldn't be installed or found. I have installed the generator a few weeks ago. When I…
1
vote
1 answer

How to use VS Code Contribution Points to configure a file path?

I want to add a configuration possibility to my VS Code extension that allows the user to set a path to a specific file. From my understanding, Contribution Points could be used to serve that purpose. I tried to follow the documentation but my…
Lukas
  • 53
  • 2
  • 6