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

Omnisharp does not resolve Microsoft.Extensions.DependencyInjection

I am using VSCode while writing a webapi in dotnet core 3.0.100. When i try to build below code (ServiceTool.ServiceProvider is IServiceProvider)...

View Article


Only lint typescript when saving file in VSCode

By default VSCode validates the typescript sources while editing them. Is it possible to somehow change this to only validate the sources when the files is saved? This is possible with ESLint but I...

View Article


How to run java programs simultaneously in VS codes

I am trying to run a Server and Client in VS codes. The Server and Client are programmed in Java and are in 2 different projects but whenever I try to run both of them simultaneously, VS codes shut the...

View Article

Escaping the '[' bracket in a JSON string without there being another ']'

I am trying to map a custom shortcut to VS code that will paste the following string (which clears the console), using the multi_command tool:"command": "multiCommand.clearConsole", "sequence": [ {...

View Article

VS Code - Search in Source Control View

Is there a search feature that we can use to search the files in the Source Control View (in the Activity Bar)? Let's say we have tens of files changed and when we go to the Source Control view, how do...

View Article


Image may be NSFW.
Clik here to view.

What are ALL configuration files used by Visual Studio Code?

VS Code from what I know handles User and Workspace configurations in JSON format. It creates .vscode folder in the working directory (when necessary) and another in user home (e.g. used to store...

View Article

Image may be NSFW.
Clik here to view.

Cancelling vscode warnning `Incorrect type. Expected "array"`

I'm writing a manifest.json as instructed in the google chrome extensions- getting started and the manifest is working fine, but on vscode I'm getting the following error : As said, it's working just...

View Article

Visual Studio Code - Debug Only Works Once w/ Conda Virtual Environment

Visual Studio Code Version: 1.40.1 for macOS I'm writing python code, and I am using an anaconda virtual environment. When I hit F5 to run in debug, it will work as expected but only once after the VS...

View Article


Image may be NSFW.
Clik here to view.

Different Typescript inference management between vscode and monaco-editor

I just made a complex function that take 3 arguments : name, types and method. This function stores a method in a store. It infer the return type of the third agument from the second...

View Article


vscode is not remebering MRU's?

What is required to make the Most Recently Used files work? For some reason VSCode is not saving MRU's anymore. I'm using the latest version in Windows 10 and nothing gets saved anymore. I did disable...

View Article

Image may be NSFW.
Clik here to view.

How to configure git credentials in VSCode Remote?

I've got VSCode Remote up and running, and I can connect from my Win10 laptop to a session in an Azure Ubuntu VM without problems. It's remarkable how painless it was, actually; everything, including...

View Article

Add a comment on closing SASS/CSS brackets automatically in VScode

I would like to add a comment on closing brackets, so when the code gets too nested the I can tell where each bracket belongs, something like this: .parent{ position: relative; height: 100px; width:...

View Article

Using WSL g++ Compiler From Visual Studio Code (Windows 10)

I've really been struggling for a long time to get VS Code to work properly so I'm finally deciding to post my question here. I'm using Visual Studio Code on Windows 10 to write C++ code. For the class...

View Article


Image may be NSFW.
Clik here to view.

VS Code: Python Interpreter can't find my venv

I've been stuck on this for a few days, kindly help me if you can.I have my venv folder on my root project folder. When I try to set the Python Interpreter, it shows me only the Python installed in my...

View Article

VS Code does not recognize unit tests in Flutter

Visual Studio Code does not recognize unit tests grouped in group(...). But it recognizes unit tests which are not grouped. I mean they are standalone test(...). I want to use group, because I need...

View Article


VSCode some shortcuts not working properly

latest version 1.40.1 on Windows 7 x64. I am developing in Java.The most common shortcut, "go to definition" F12 and "auto fix" ctrl+dot I tested it on another computer with 1.40.1. It works properly....

View Article

How can I run the command: "code ." from MacOS terminal after VS Code...

I keep getting this error when I run: code . on MacOS terminal -bash: code: command not found-bash: code: command not found image

View Article


VSCode does not recognize typescript 3.7.2 features

I'm using VS Code 1.40.0 and i have the following package.json{ "name": "test", "version": "0.0.1", "description": "test", "main": "./src/main.ts", "sideEffects": false, "author": "", "license": "ISC",...

View Article

In VS Code how can i reference the .dll files for a my Project(A)?

**I have tried to install nuget package manager . After installation there must be 4 lists of nuget but i am getting only 2 The project properties are not visible **

View Article

How to call VS Code Editor from command line

The question says it all.How can I call VS Code editor fromwindows cmdlinux and mac terminale.g. for notepad++ I write> start notepad++ test.txtBy the way, the editor is awesome (cross-platform)!...

View Article
Browsing all 97313 articles
Browse latest View live


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