Category "visual-studio-code"

Vscode source control doesn't recognize my repo

I have a local repo which was linked to a old remote repo. I made a new repo on GitHub and ran this in the folder git remote set-url origin <new repo url>

VSCode ModuleNotFoundError: No module named X

I am trying to build a new package, however, when I try to run any of the files from inside VSCode or from terminal, I am coming across this error: ModuleNotFou

How to watch instance method operator() result in VSCode C++?

My code is as follows: class Foo{ public: int operator()(int i) { return 1; } int operator++(int i) { return 1; } }

Custom emmet snippets not working in vscode

I am trying to set custom emmet snippets, but it is not working. My snippets.json file { "html": { "snippets": { "testing": "div{Hello World}" }

vscode python jedi client: couldn't create connection to server

I keep getting this message when I run Jupyter Notebook. comment : output:

How to search only in currently open files in vscode?

I usually work on larger projects with many files that would contain the search query. So I would open the files I want to modify and do a find/replace across a

How to disable "'flex' is not supported by Internet Explorer < 11. Add '-ms-flex' to support Internet Explorer 10+." in VS code?

My react project has a couple of "flex" compatibility errors. How to remove these errors in VS code? I already used postcss in my project. 'flex' is not suppor

Debugging an electron app in Visual Studio Code

Could I please ask for help with the following? I have an electron app (basically the quick start app so very very simple). I am viewing the code with Visual St

simple react snippet is not generating functional component with const

I am using this extension to generate code snippets when working with react. In documentation it says when used fc abbreviation it should work as below. fc - Fu

Go To Definition (Ctrl + Click) in VS Code v1.45.1 with Go v1.14.1 and Ubuntu 20.04 not working

I tried everything mentioned in below ling https://github.com/microsoft/vscode-go/issues/3072 I updated godef as suggested and installed gopls, but nothing wo

Printing markdown in VSCode uses different styling than on-screen

When I go to print markdown from VSCode it does render the markdown, but it has a very different styling than the on-screen preview. How do I fix this?

Is there a way to stop visual studio code from autoformatting multiple selectors?

(First post here so apologies if i'm doing something wrong) Visual studio code autoformatter keeps formatting multiple selector styling from this .header-exa

vscode - change highlight color of current file

How can I add a custom style for the background of the opened file (the pale-grey behind fetch.js):

Go to File not working in Visual Studio Code

I have a problem with Visual Studio Code. When I Press Ctrl+P I get a message saying: [UriError]: Scheme is missing: {scheme: "", authority: "", path: "undefi

How to avoid VS Code warning: "[myfile].java is a non-project file, only syntax errors are reported"

I am running a build task in a java project in Visual Studio Code. The warning in the "PROBLEMS" tab: [myfile].java is a non-project file, only syntax errors a

How to run python3 code in VSCode? /bin/sh: 1: python: not found

I'm trying to run a python file in VSCode using python3. I know I can fix by simply setting to run using integrated terminal like it says in the microsoft vsco

Flutter error - Gradle task assembleDebug failed with exit code -1

I'm new to flutter. I just created a new project in flutter and have not even altered the code. And when I run the code I get the following error. Launching li

VsCode clean Typescript project no auto import suggestions

When I create a new Node project using Typescript, VsCode auto import suggestions do not work at all. Steps to reproduce: Create a workspace directory. Run n

How to update C# version in Visual Studio Code?

I have installed C# extensions, my .NET framework is updated, I just can't fix it.

How to separate changed files from untracked files in vscode?

I am checking out vscode to see if it does anything better than other options out there. I have the native version control and GitLens installed. I am trying to