All Questions
Tagged with vscode or visual-studio-code
61,265 questions
1
vote
0
answers
33
views
How do I define an MSBuild variable for the VSCode C# completion server?
I'm building a mod for Unity based game RimWorld. I have the following assembly references in my .csproj file, using a variable so other people can build the project regardless of where RimWorld is ...
-5
votes
0
answers
34
views
Is the VSCode WSL extension open source? [closed]
Extension: WSL
I have a use case that requires modifying the WSL VSCode extension. The extension page takes you to a GH repo for vscode-remote-release, but the extension code isn't in there. I've look ...
0
votes
1
answer
32
views
How to create a div in the active editor tab of VS Code via extension?
I want to create a div that is always placed on the top right of the current active editor window of VS Code via an extension. Ideally, the div is show even when the user change tab.
I tried to find a ...
-1
votes
0
answers
23
views
Set up server launch configurations in vscode
I am trying to move from eclipse to vscode.
I want to set up various Tomcat server configurations so that I can run my web app in different environments.
I have installed Tomcat to c:\servers\tomcat. ...
0
votes
0
answers
17
views
registerFoldingRangeProvider Conflict: Extension works in Dev Host, but ignored/overridden in production VSIX
I had a problem in VSCode that irritated me: in CSS files that had nested selectors it would mark lines as fold-able that were complete nonsense. Example
/*----- Content -----*/
#blog-content {...
0
votes
1
answer
46
views
VSCode shows Scalar OpenAPI schema 'discriminator' property as any but it has a type defined
Why is discriminator any here? It's supposed to be, and defined as, DiscriminatorObject.
import type { OpenAPIV3_1 } from '@scalar/openapi-types'
const schemas: Record<string, OpenAPIV3_1....
-1
votes
0
answers
51
views
VS code treats the address C://php.exe as h:/web/c:/php.exe [closed]
I installed the PHP Server extension for VS Code and added two lines to settings.json:
"php.validate.executablePath": "С://php-server//php.exe",
"phpserver.phpPath": &...
-4
votes
0
answers
112
views
Opening Google's Antigravity gives [process exited with code 1 (0x00000001)] [closed]
Whenever I Open Antigravity IDE opens successfully but also a terminal show with the editor saying that [process exited with code 1 (0x00000001)] when i close it the program starts normally but its ...
Best practices
0
votes
0
replies
25
views
How to enforce VSCode client ID in MCP flow?
Our team built an MCP Server that uses Server Metadata Discovery and returns a WWW-Authenticate challenge with resource_metadata when the Authorization header is missing. Some users receive the “DCR ...
0
votes
0
answers
48
views
WPF "View Source" in Live Visual Tree stopped working - can't open XAML or code-behind
I'm learning how the back end and front end work together by reviewing WPF (Window Presentation Foundation) code.
The project runs locally on my machine. I copied it from my team's shared folder.
My ...
-3
votes
0
answers
48
views
How to set the default opening pages of VScode to be a welcome page or blank one?
Description
I always get annoyed by the first page of vscode with the following cli.js file on my windows 11 Operation System:
C:\Users\Kasmir\AppData\Local\Programs\Microsoft VS Code\resources\app\...
0
votes
0
answers
39
views
VSCode Intellisense doesn't work in Turborepo jit package
everyone. I've been stuck on a minor issue for a few days, but I haven't been able to find the answer, so I'm reaching out for your help.
I am developing a personal project using Turborepo. The ...
0
votes
0
answers
31
views
Automatic command to run at startup shows error of return value not being string type
I have the following in my tasks.json file:
{
"label": "closealleditorsingroup",
"type": "shell",
"command": "${input:...
0
votes
0
answers
43
views
How to enforce "linux/amd64" platform architecture in Visual Studio Code Dev Containers for Podman on Apple Silicon?
Environment
Host: macOS (Apple Silicon M1)
Container Engine: Podman (via podman-machine)
Extension: VS Code Dev Containers
Target Image: A private registry image with Poetry
Problem
When I try to ...
10
votes
0
answers
235
views
Not displaying DataFrame's name in Data Wrangler extension of VSCode, displaying "Data grid"
It is a while that I am using Data Wrangler extension in VS Code; it is very useful for analyzing datasets and filtering some columns to see the features. When I opened a dataframe in it, it used to ...
0
votes
2
answers
55
views
python: vscode doesnt highlight direct import from module
When I attempt to import a module from a local package (from core import config), VSCode's syntax highlighting isn't working. When hovering over config, it shows "config: Any" (the editor ...
Advice
0
votes
2
replies
33
views
Use backticks inside backticks in JSdoc / PHPdoc etc
We can document code with backticks in JSdoc to see it styled like interpreted markdown when hovering over the definition:
/**
* This function is similar to `someFunction(foo)`
*/
function bar() { .....
0
votes
1
answer
62
views
Tkinter not display window; declared as part of class
Running VSCode with MS Python extension and my window will not display
here's my code
import tkinter as tk
class FormMain:
def __init_(self):
self.build_controls()
def build_controls(...
0
votes
1
answer
87
views
Tabs don't hide if single terminal is open in VS Code 1.106
I accidentally messed up something in the settings, and now the list of tabs doesn't disappear, even if only one terminal is open:
I need this view, without tabs. And also, I want the button for ...
0
votes
2
answers
55
views
VS Code TypeScript syntax highlighting gets messed up after type
In TypeScript on VS Code I have the following type:
export type PgInheritableTableWithColumns<
T extends TableConfig
> = PgTableWithColumns<T> & {
extend<
TNewTableName ...
-1
votes
1
answer
38
views
Natural sort in File Explorer
In the File Explorer of Visual Studio Code, my files are sorted in alphabetical order, with 10, 11, 12 coming before 1, 2, 3.
I would like them to be sorted in natural order, with 10, 11 and 12 ...
0
votes
0
answers
41
views
How to make repeatable chords in VSCode
I have a key binding such as alt+s alt+u. It works when i hold down both keys alt and s, then just press u. But if I press u again, it doesn't repeat; i must release alt and s, then hold them down ...
0
votes
0
answers
100
views
Buffer not recognized in TypeScript with Playwright and module: "nodenext"
I am using TypeScript 5+ with Playwright and module: "nodenext" in my tsconfig.json:
{
// Visit https://aka.ms/tsconfig to read more about this file
"compilerOptions": {
// ...
-2
votes
1
answer
44
views
VSCode custom extension throws an error about keybindings
I wanted to update my VSCode extension. But when running npm run test I get an error:
Error: Cannot find module './build/Debug/keymapping'
I tried to compare it with fresh extension, generated with ...
0
votes
1
answer
52
views
Is there a quick way to edit snippets for the current language?
When I want to add a snippet for the current language, I open the command palette, type "snippet", go "Configure Snippets", then I have to select the language even though the file ...