Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Browsing all 99575 articles
Browse latest View live

My http post request does not work on VSCODE,

My http POST request does not work on VSCODE but it works in sublime text and postman. also i get a 401 error when i use VSCODE.The http POST request is suppose to send a voice message when the program...

View Article


Using VS Code Python extension - How to install python modules to a permanent...

I'm working with Python 3.7 and using VS Code as my IDE. I have the Microsoft Python extension installed, and have enabled pylint for linting and pytest for unit tests, installing them to the system...

View Article


How to fix "g++: error: helloworld.cpp: No such file or directory" in visual...

I installed Visual Studio Code on W10 to run some code with WSL installed ( Ubuntu).I followed the steps in the following article :https://code.visualstudio.com/docs/cpp/config-wslBut I keep receiving...

View Article

Image may be NSFW.
Clik here to view.

How to use full width of viewport for text editing in VSC?

In Visual Studio Code (1.20.1) on macOS (10.12), writing markdown text files, about the right fifth of the window is blank. I have the following possibly relevant settings:"editor.wordWrap": "on",...

View Article

Use xplat 'ng g mode' on WSL2?

I'm a newbie, trying to set up a monorepo dev env in Windows 10 WSL2 using NX and the xplat schematics and VS Code ... it almost works :) but when installing xplat says:Note to VS Code users: no...

View Article


How can I fix ? Remote - WSL will not open on VSCode - Error says `Multi...

I downloaded Ubuntu and then downloaded Remote - wsl on VSCode. I followed Ubuntu's prompts to access Remote - wsl extension by typing code . When I type code . VSCode opens but then quickly...

View Article

VSCode extension API for keybindings

Trying to dynamically create keybindings from within an extension. I can't seem to find any API that supports this.Anyone knows?

View Article

Is there any way to use C Free Standard as a compiler for Visual Studio Code?

I looked for a way to compile C/C++ language in VSCode through extensions. I've tried the tutorials but none of them makes me understand the .json configurations, therefore my VScode keeps returning an...

View Article


How to define a file resource for a VS Code extension?

I have a function that gets an entry from a database using better-sqlite3. The function is in a file in the same directory as the database.import * as vscode from 'vscode'; /** * Get the entry from the...

View Article


VSCode not autoformatting on save

Vscode is not formatting my code on save.My vscode versions are thus:Vscode 1.37.0 (updated it as part of bug shooting, not sure previous version, but this didn't work either)autopep8 1.4.4...

View Article

contributes.menus: what are the possible variables for "when" action

At the API documentation of contributes.menus: https://code.visualstudio.com/api/references/contribution-points#menu-exampleThere's a field called "when". The example uses:"when": "resourceLangId ==...

View Article

Vs code multiple cursor into tabstop/placeholder

Is there such an extension that converts multiple cursor into tabstops to navigate with tab as in snippets?Update (09-11-2019)I finally found that extension...

View Article

Image may be NSFW.
Clik here to view.

Get VS Code snippets scope programmatically using API

Can I get the list of the available scopes for snippets? Is there any native functionality that would control what files to create and there?

View Article


VSC PowerShell. After npm updating packages .ps1 cannot be loaded because...

I design websites in VSC and PowerShell is my default terminal.After updating and deploying a website to firebase earlier, I was prompted to update firebase tools - which I did using npm. Immediately...

View Article

How to create a C++ project in VS Code and link main, functions and header?

I am unable to create a multifile project in Visual Studio Code.I've tried multiple extensions, manual folder creations, linking with paths to header files. The result is that is is impossible to...

View Article


VSCode Snippets: Format File Name from my_file_name to MyFileName

I am creating custom snippets for flutter/dart. My goal is to pull the file name (TM_FILENAME_BASE) remove all of the underscores and convert it to PascalCase (or camelCase).Here is a link to what I...

View Article

Is it possible to debug node internal modules?

For example, I want to add some breakpoints on the internal file _http_server.js,but the file does not really exist on my disk.What should I do?

View Article


Can extensions access TypeScript language server?

I would like to write an extension that visualizes the whole project.I would need to be able to know the AST of each file in the project, so I can extract list of methods, properties, JSX etc.Can this...

View Article

Shorten hover delay time to 500 milliseconds on opened file's tab

It takes about 3 seconds before the path of the file on a tab to show up when I hover the mouse. I'd like it to be quick. Where do I change this setting?

View Article

How do I fix hidden window error in VSCode?

Recently I have encountered an issue. I have downloaded Visual Studio Code, it has been installed successfully. But when I opened it, the window was not displayed and the blue circle besides the mouse...

View Article
Browsing all 99575 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>