Category "visual-studio-code"

stderr: $GOPATH/go.mod exists but should not failed to load view for file:///Users/xxx

I am using vscode and vscode-go to develop the Go application. When I try to restart language server using command + shirt + p and select "Go: Restart Languag

debugging multiple threads with visual studio code

I am setting some breakpoints in some async threaded code and I can't seem to figure out how to tell visual studio code to catch any threads in this code path.

How to debug Ruby code on Visual Studio Code?

I am new to VSCode, however, I did download the required extensions as I read in a website. So far, I can't debug Ruby on VSCode, and I am not sure where the pr

VS Code terminal unable to privide UTF-8 input

I'm hopeful that this question is a duplicate, but I have searched a lot at this point, and I've not come across anything helpful, so I am dubious. The followin

Visual Studio Code "Error while fetching extensions. XHR failed"

This problem started a few weeks ago, when I started using NordVPN on my laptop. When I try to search for an extension and even when trying to download through

How to make fonts in VSCode like in Android Studio

I've been using vscode for a while, and i just recently tried android studio. Immediately I realized that I like the fonts in android studio more than the fonts

Visual Studio Code 1.42 is changing <br> to <br /> on format

This recently started happening. I’m not sure what changed but maybe because I tried to activate Preitter extension. I’m new to Visual Studio Code.

VSCode Remote SSH Connection Failed

I'm trying to use the Remote-SSH extension to edit files on a Debian server. The SSH connection is established correctly but then I get an error message : Fail

How to open folder in new vs code instance by right clicking on the folder?

I have open two folders inside a VS Code instance. For example (folder name): A and B I want to open the folder B in a new instance of VS Code, but there is n

Opening project in VSCode using batch file

Disclaimer: I read this and this before, but it doesn't work as I want. Description: I decided to create set of batch files for convenient way to run different

Visual Studio Code c++11 extension warning

I am in the process of learning c++ and I'm using visual studio code for Mac. I use Code Runner to run my program. My problem is that when I use something from

VSCode Extension: How to open a file if no workspace folders are available?

I've been working on an extension that allows adding files with pre-defined content and modifying them using a custom web editor. The custom command "Add new XX

Visual Studio Code - remove branches deleted on GitHub that still show in VS Code?

In VSCode, after I do a pull request and delete the branch on GitHub, that branch still shows up in Visual Studio Code. If I select the branch, it gives an Erro

Run VS Code task on specific file/folder selectable via a drop-down list

I am trying to figure out how to run a VS Code task on a specific folder/file that is selectable over a drop-down list. Example: open Command Palette (Ctrl+Shi

vsCode can't retrieve/deploy anything

Working with Salesforce, org is authorised, everything works fine until it doesn't and there's no error code or anything. In the morning I retrieved a few files

ESLint - 'process' is not defined

I am using ESLinter for a simple node project. Below is the only code I have in index.js: const express = require('express'); const app = express(); app.get(

VS Code Terminal opens, then crashes and disappears after pressing kill button

I get this error after I clicked "Kill terminal" in VS Code: "Unable to resolve your shell environment: Unexpected exit code from spawned shell (code null, sign

Prevent integrated terminal from opening automatically

Whenever I open a PowerShell script in VS Code, the integrated terminal opens. How can we prevent the integrated terminal from opening automatically. I have sea

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined raised when starting react app

I'm working on a project in React and ran into a problem that has me stumped. Whenever I run yarn start I get this error: TypeError [ERR_INVALID_ARG_TYPE]

How to compare current working tree file with last previous version (git or local history)?

(I think) I need a way to compare my current file with the modifications from previous commit (in this case, it might also be a the last saved version in local