Category "visual-studio-code"

Prettier to format .vue

Prettier VS Code extension doesn't work properly with .vue. I mean how to setup prettier to integrate it with eslint and format .vue files on Cmd+Shift+P ->

ng : The term 'ng' is not recognized as the name of a cmdlet, function Visual Studio Code Terminal

In VS Code when I am running command ng build, getting error PS D:\Dashboard\Test1> ng build ng : The term 'ng' is not recognized as the name of a cmdlet, fu

Microsoft.Build.Exceptions.InvalidProjectFileException: The SDK 'Microsoft.NET.Sdk' specified could not be found

env: ➜ KBDCompileApp git:(dev) ✗ dotnet --info .NET Core SDK (reflecting any global.json): Version: 2.2.101 Commit: 236713b0b7 Runtime E

VSCode with github permission denied (publickey)

I am trying to sync my VSCode with my GitHub so I can commit from VScode, but I get the error git@github.com: Permission denied (publickey). fatal: Could not r

Debugging Vue in VScode and Chrome, unbound breakpoint

I'm trying to debug a Vue website I'm writing in VSCode and Chrome. When I put a breakpoint in the data() { return {...} } function it stops on it, but if I try

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