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

How to debug Cucumber - Protractor in Visual Studio Code (VSCode)?

I am trying to debug Gherkin Cucumber scenarios in Visual Studio Code but I am getting the following error:-Parse error in 'zFunctionalTests\protractor_ui.conf.js': (1:1): expected: #EOF, #Language,...

View Article


Php xdebug works only in htdocs root path using vscode

launch.json:{ "name": "Listen for XDebug", "type": "php", "request": "launch", "port": 9000 }, { "name": "Launch currently open script", "type": "php", "request": "launch", "program": "${file}", "cwd":...

View Article


Using Rust Cargo TOML variables within VSCode?

I need to prepare a number of exercises for student learning Rust. I've found the use of ${workspaceFolderBasename} within the program field of my launch.json to be quite useful, as in:"program":...

View Article

How to use integratedTerminal in launch.json for C++ in Visual Studio Code?

I am trying Visual Studio Code for debugging C++ code. I would like the debugger to use the integrated terminal for showing the STDOUT and reading from the STDIN. Currently it opens an external...

View Article

Image may be NSFW.
Clik here to view.

How can I ignore Lorem Ipsum text from my Spellchecker?

I am using Code Spell Checker and I was wondering if it was possible to ignore Lorem Ipsum text from being marked as as "unknown word" without having to add every single word in my "cSpell.userWords"...

View Article


Visual Studio Code: Take Input From User

Currently, I'm trying to write C/C++ program in Visual Studio code. For this I've installed two extensions: C/C++& C++ IntellisenseAs per the documentation, the debugging facility is not available...

View Article

Is there a solution to this injection template tagging problem?

After learning about how Django operates what is known as Models-Templates-Views, my goal was to learn how to connect everything. So in order to practice the method of connecting everything I have...

View Article

how does vs code works with power bi (.pbix) for version control?

I want to version control my .pbix file through vs code, but vs code doesn't recognize the file. Is there a way to version control powerbi through vs code?

View Article


Using Python to transform text that I select in the editor

Let's say I select some text in the editor. I would like to define my own Python functions or scripts that:Take as an input the selected text as a string.Transform it and return a new string that...

View Article


VSCode keeps complaining there is no "process.env"

I have a file test/test.ts which is as simple as one line:process.env["NODE_ENV"] = 'test'; My VSCode complains that it cannot find 'process':Cannot find name 'process'. Do you need to install type...

View Article

Visual Studio Code includePath

I'm trying to build C/C++ in Visual Studio Code. I installed C/C++ and all the relevant extensions.#include <stdio.h> int main() { printf("Test C now\n"); return 0; } But there's a green line...

View Article

Image may be NSFW.
Clik here to view.

VS Code giving header errors for Arduino? Missing official header?

I've recently started developing for Arduino. Initially I used the Arduino IDE but I soon realised it was not up to par. Development was considerably slower with the need for IDE restarts every now and...

View Article

Image may be NSFW.
Clik here to view.

Debug Console doesn't output anything when start debugging in VSCode

{ "version": "0.2.0", "configurations": [ { "type": "node", "request": "launch", "runtimeExecutable": "nodemon", "console": "integratedTerminal", "name": "Launch Program", "program":...

View Article


Is there any way to show figures in VScode remote ssh (windows)

vscode was installed in my windows computer, I use ssh remote service and when I tried to plot a figure, the figure just did not show up. e.g., the code as followsimport matplotlib.pyplot as plt import...

View Article

Cannot edit in read-only editor VS Code

I am using Visual Studio Code V 1.31.1. I used an input function but I can't write an input in output panel it shows this errorCannot edit in read-only editor.Please help me solve this problem.

View Article


Image may be NSFW.
Clik here to view.

Visual Studio Code "cannot open source file" error when including OpenCV

I'm using Visual Studio Code to develop a C++ project, and I have OpenCV installed in a custom location. However, it complains with the following error when I try to include header files from...

View Article

How to switch accounts via VS Code Azure Account Extension

I've signed into one of my Azure accounts with Azure Account Extension via VS Code. I didn't find any button to sign out or switch accounts. How do I sign out or switch accounts?

View Article


Why is VS code live server opening a directory instead of running the code in...

I am using VS code for react. I have the live server extension installed, whenever I try to go live with VS code it shows me a listing directory with all of my folders and files in the browser instead...

View Article

run multiple python scripts at the same time

Is there a way to run multiple python scripts simultaneously in vsc. I mean while there is already a script running, I would like to run another script. When I try I get "code is already running". In...

View Article

Image may be NSFW.
Clik here to view.

How to re-use a VS Code task window, without closing it

My goal is to re-use a task window in VS Code. However, when I enter ctrl + c, the task stops, but then writes: "Terminal will be reused by tasks, press any key to close it.".I don't want to close the...

View Article
Browsing all 97288 articles
Browse latest View live


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