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

How to run javascript code in Visual studio code? /bin/sh: 1: node: not found

I just started learning programming and I installed Visual Studio Code to write javascript in.I installed the Code Runner extension, to help me run my code.Whenever I try to run my code it...

View Article


Create C# .sln file with Visual Studio Code

I'd like to create a new C# solution with Visual Studio Code.I'm using yo tools.Now I have a folder with ASP project. And another folder with class library.How can I reference class library from asp...

View Article


How do I fix VS Code error: "Not able to determine import path of current...

I'm following tutorials and I think I may have missed something. I have a Go project located at:/Users/just_me/development/testing/golang/example_serverThe contents are: main.gopackage main import...

View Article

How to move current line up or down in vim for vscode

Using VS Code, how can I move the current line I am on (or the current selection) up or down using Vim keybindings? When using the editor as normal, I can achieve this using 'alt + up/down'.I am using...

View Article

Image may be NSFW.
Clik here to view.

Git missing in VS Code – No source control providers

I just installed Visual Studio Code 1.17 and opened a Git repository folder. When entering the Source Control tab I see a message "There are no active source control providers". I thought Git was baked...

View Article


Image may be NSFW.
Clik here to view.

HTML files recognized as Django Template in VS Code

I'm new to VS Code, coming from ST3 and TextMate before that. A bit flummoxed why is HTML not autodetected nor is it offered as a choice of language after clicking on the lower-right language...

View Article

Image may be NSFW.
Clik here to view.

Is there a way to disable selection highlighting in VS Code?

Is there a way to disable this multi selecting in VS Code?

View Article

Visual Studio Code Java: Disable serialVersionUID warning

I'm taking a Computer Science class where the assignment boilerplate code is a Java framework where most of the classes (or their superclasses) extend Serializable. What ends up happening then is...

View Article


Auto-format on closing bracket in Visual Studio Code for C#

In Visual Studio when you type a closing bracket the code block gets auto-formated (indents etc.). Is it possible to enable the same thing in Visual Studio Code for C#?

View Article


Image may be NSFW.
Clik here to view.

CodeLLDB requires python

To debug Rust programs in VS code, I installed the CodeLLDB extension. It requires Python installation:I installed Python 3.8.2 from here https://www.python.org/downloads/release/python-382/ But this...

View Article

Image may be NSFW.
Clik here to view.

VSCode suggests me non existing css classes from bootstrap.min.css which is...

I've started to play around with Tailwind CSS by replacing Bootstrap 4. Bootstrap is completely removed from my project, node_modules folder and from compiled css files.There are still old classes from...

View Article

Modifying the code doesn't change output for c++ in Visual Studio Code. Why...

After writing code and running it once, later code modifications don't change the output.

View Article

Is there a way to launch Visual Studio Code and force it to open in a Remote...

I regularly open Visual Studio Code via code . and then have to click the Re-open in Container button.Am I missing any shortcut to force it to do this from the command line?

View Article


VS Code find and replace text containing new lines using regex [duplicate]

Taking this text as exemple:Lorem ipsum dolor, sit START amet consectetur adipisicing elit. Doloribus, aspernatur! Illum id sapiente STOP eligendi, autem, consequuntur START asperiores illo atque aut,...

View Article

Multi-line regular expressions in Visual Studio Code

I cannot figure a way to make regular expression match stop not on end of line, but on end of file in VS Code? Is it a tool limitation or there is some kind of pattern that I am not aware of?

View Article


Image may be NSFW.
Clik here to view.

Visual Studio Code - Terminal Blank Screen

I've been using Visual Studio Code since it was in beta and one of the features I like best about it is the integrated terminal for using the Angular CLI in app. I've had it working fine since I had...

View Article

NodeMCU and VS Code

I'm working on a little project with a NodeMCU, fairly typical temperature sensor type of thing reporting in to my own web service.I got the basics of it working just fine using the Arduino IDE, but I...

View Article


Image may be NSFW.
Clik here to view.

Add custom auto imports to vscode

if I type autorun inside the code, vscode suggests me to auto import it from mobx:I want to define some custom names for that for example if I type _ somewhere in the code, I want vscode to suggest me...

View Article

Debugging in VSCode

So, when i try to debug a simple program in VS Code i get the following message: "The preLaunchTask 'g++.exe build active file' terminated with exit code 1" and get 3 options to choose: Cancel, Debug...

View Article

Visual studio code suppress pep8 warnings

How can I suppress pep8 warnings, in Visual studio code? What I want to do is to suppress E501 warning I don't want to get warnings where my code length is more than 80 chars. I'm using Don Jayamanne's...

View Article
Browsing all 98772 articles
Browse latest View live


Latest Images

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