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

How to separate changed files from untracked files in vscode?

I am checking out vscode to see if it does anything better than other options out there. I have the native version control and GitLens installed. I am trying to figure out how to work with version...

View Article


How to write async code (promises?) with vscode api: withProgress

I'm pretty sorry about the title, I've got no idea how to better describe my problem.I would like to implement the withProgress API of VSCode, to be able to show progressbar while my code is...

View Article


VSCode "go to definition" not working

I installed Visual Studio Code 1.1 with the C/C++ extension, opened my C++ project and tried to use "Go to definition" in vain.The "Go to definition" is not working at all. Example, go to definition of...

View Article

React-Native build in Visual Studio Code unable to connect with remote...

I was building react-native on vscode today and got the same error as the image. I've searched around, but it didn't help much as I only had answers for building in terminal. I want to know the...

View Article

How to debug a python function app using a virtual envrionment

I'm trying to do a basic thing: debug a python function app using a virtual environment.The Visual Studio code documentation does not indicate how to do and I cannot figure it out myself:...

View Article


Unable to load annotation processor factory in vs code

I am trying to use the immutables library with vscode (and Gradle)Steps I've taken:confirmed that the jar does existEnsured that the GRADLE_USER_HOME variable exists (it didn't initially)Set the...

View Article

Image may be NSFW.
Clik here to view.

Change VSCode Call stack view for C++?

The default C++ call stack view is above. It shows the library name, and for functions shows the full signature including arguments.I would like to hide the library name. As it is often not-useful or...

View Article

Hide .js.map files in Visual Studio Code

I am working on a typescript project in Visual Studio code and would like to hide the .js.map (and maybe even the .js) files from appearing in the file explorer. Is it possible to display only the .ts...

View Article


Find and replace with a newline in Visual Studio Code

I am trying out the new Microsoft Visual Studio Code editor in Linux Fedora environment. I would like to know how to replace new line (\n) in place of some other text. For example, I have html text...

View Article


VS Code Remote Development: Container postCreateCommand doesn't run

I'm trying to configure SSH authentication for a remote development workspace, as detailed in the documentation:{ "dockerfile": "Dockerfile", "runArgs": [ // ... "-v",...

View Article

Switch focus between editor and integrated terminal in Visual Studio Code

Does anyone know the keyboard shortcut (Mac and Linux) to switch the focus between editor and integrated terminal in Visual Studio Code.

View Article

Image may be NSFW.
Clik here to view.

VS Code crashing on restart after opening large file

I recently used VS code to open a large file by opening from the command line using the command line flag --max-memory=12288mb. I was able to edit the file fine and finished what I needed to do and...

View Article

How to use Optional Chaining in TypeScript?

I want to change how object is filled with properties.Currently I haveexport interface INewOffer { employment?: IEmployment; heightWeight?: IHeightWeight; } export interface IEmployment{ trainings?:...

View Article


Cant install any modules with npm. Error:spawn C:\Users\.......Microsoft VS...

Screen dump of errors npm install (some module) dosent work. It leaves me with some errors starting with error: spawn : c:\my-vsc-directoryI have checked my environment PATH's PATH I have tried this:...

View Article

multi elements styling in javascript

So not long ago i made a small library using Jquery for spacing (margin and padding).and what i'm trying to do now is switch this library to pure js with your help :)here's js code link : click hereand...

View Article


Set PYTHONPATH for local Jupyter Notebook in VS Code

I'm using Visual Studio 1.39.2 on Windows 10. I'm very happy that you can run Jupyter Notebook natively through VS Code as of October this year (2019), but one thing I don't get right is how to set my...

View Article

Image may be NSFW.
Clik here to view.

VsCode vim plugin automatically disabled

Vim plugin for vscode is automatically disabled. it shows that it is globally enabled, and I don't see any errors, but it automatically disables it once vscode is opened. I installed im-select as well...

View Article


Image may be NSFW.
Clik here to view.

Gray highlighted line in file in both editor and minimap?

I see this line highlighted with grey lines in both the minimap and the editor itself. What does that mean / convey?

View Article

Clearing up output in terminal

I would like to set up visual studio code so that when I run my python code, it is only showing the code output. Currently, the terminal shows the filepath and powershell information. I just want to...

View Article

How to pass parameters to Subreport using XSD in Visual Studio Code?

first time posting here.I've read a lot and couldn't find an answer to my problem.I'm creating a report to display a bill using Crystal Report and using Visual Studio Code. I'm doing it by creating a...

View Article
Browsing all 98994 articles
Browse latest View live


Latest Images