VS code: JDK 13 not working in WSL ubuntu
For some reason whenever I try running VS code within the WSL it says that "The JAVA_HOME environment variable (/mnt/c/Program Files/jdk-13.0.1) does not point to a JDK."When I simply run VS code...
View ArticleVS Code extension to hide console.log commands?
My typescript files are usually littered with console.log commands to output values at various stages of execution. Is there a VS Code extension that automatically collapses .log commands when they are...
View ArticleWhat is VSCode's regular expression capture group notation for numbered...
Does VSCode have support for numbered backreferences? I'm trying to do a find replace from the dialog but it matches the entire regex and replaces with a literal \1# Regex <tr><th...
View ArticleWhy "ls" command is not working on Windows CMD while working on VS Code...
"ls" command is not working on my windows cmd while it is working on visual studio code. Can you please tell me why ?E:\ls
View ArticleVSCode SourceMap cannot catch breakpoint Vuejs
I'm using vscode to write my code in VueJs and in order to debug I'm using a config I found which doesn't work correctly:module.exports = { runtimeCompiler: true, productionSourceMap: false,...
View ArticleDetect git subfolder in Visual studio code
I have a folder where the root folder is not git repository but the underlying src/ folder is. So for example I have this ~/workspace/some_project_folder <-- not a git repository...
View ArticleHow we can make in VS, like this in picture i.e gap of line 95 and 96 as well...
enter image description hereWhen we copy some code from html, how we past all code in 1 line in js fileTHANK YOU
View ArticleVisual Studio Code C++, I would like to run the output in a cmd
I would like to run the output of the c++ code that I have made in a command prompt rather than the terminal. Also, if I run an infinite loop, how would I terminate the current program given that I am...
View ArticleVS Code snippet with multiple transforms
I am trying to make a snippet that will take clipboard contents (the text of a heading in a markdown document) and transform it into a link to that section. For example, if my clipboard contains: Some...
View ArticleHow to set VSCODE bookmark with single mouse click
Visual Studio Code 1.32, Bookmarks extension 10. After installing this extension, I can open the Bookmarks explorer, toggle bookmarks using context menu and shortcut:Left-most code editor column is...
View ArticleUnrecognized option: -ea,--enable-preview error shown in a Java standalone...
I have yet to find any documentation regarding this problem. In a standalone project, the following error shows up when I attempt to run a simple JUnit test. Even after configuring the launch.json file...
View ArticleVS Code task process stdout/stderr
I'm attempting to write some test for a VS Code extension. The extension basically creates some tasks, using ShellExecution to run a local executable file, for example:new Task( definition, folder,...
View Articlevscode always ask for permission to save
I'm new to Ubuntu and here is my issue: VSCode is always asking for permission to save any edit on any file.I just want to edit and save without having to enter my password every time so is this...
View ArticleHow to install npm package while offline?
I'm working on an offline network and want to install angular-cli using npm. I have a zip file of angular-cli and using the latest node and npm version. I'm using the command: npm install...
View ArticleHow do I keep text selected when changing from Visual to Insert mode?
I am running Vim extension in VS Code and want to be able to select text using Visual mode and keep that text selected when I'm in Insert mode. Currently I am able to select text in Visual mode but the...
View ArticleIssue in visual studio code?
I want to use selenium+java on VSC, can anyone suggest me how to run a script there,nugget manager etc. extension it shows the path referred message,but still not able to code.
View ArticleRedirect input/output to/from the debug target Visual Studio Code C
First of all, I am using VS Code and I am coding in C.I want to take input from a file and write output to a file. In cmd, I used this code:test.exe < input.txt > output.txt It perfectly works....
View ArticleVisual Studio Code Quick Constructor for Dart not working
I created this Dart Class in Visual Studio Code:class User { String userId; String info; } Ctrl + . not opening the quick fix menu for a quick constructor.Any suggestions on how to show all of the...
View ArticleError in VS Code dotnet core C#: "The type or namespace name 'System' could...
When trying to work with Visual Studio Code on a C# DotNet Core MVC application, I am having a lot of trouble getting visual studio code to work. It is having trouble finding anything related to C#,...
View Articlehow to stop a command in the VS Code terminal
I've been stopping commands with the trash can for too long. Command period doesn't work on Mac. I can't find anywhere how to stop the terminal via a command. Anyone know what it is?
View Article