Category "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

Failed to load the hostfxr.dll after install net core

Anyone has this problem i change Pc and tried to install net core framework but vs code return this info when i tried to write dontet --info Failed to load th

VSCode won't open console in an external window

I am a beginner in C# just recently learning it soon. Whenever I run my Project.cs file, it does not open in an external terminal despite the launch.json file h

'eslint' is not recognized as an internal or external command

I'm trying to install eslint & run it in vs code. I ran this command: npm i -g eslint and it seemed to work, but I keep getting an error when I try to run

Visual Studio Code Intellisense for style CSS in React?

Is it possible to get autocomplete or suggestions or intellisense or something for CSS when developing in React? For example, when I write something like th

Visual Studio Code: Intellisense not working

My Visual Studio Code's Intellisense is not working properly. Every time I try to use it with Ctrl + Shift, it only displays a loading message. I'm using Python

VS Code highlighted all my wordpress function name

I am using PHP Intelephense(version 1.3.7) which is the latest version and my VS Code is up to date There was no problem before but a few days ago, it keeps on

Renaming namespaces on C# according to the last folder in the file path

I am trying to create a snippet that names a namespace in C# using the name of the last directory in the file path, but it returns everything that comes before