VsCode - Is there a way to maintain last selected text after edit/delete?
Coming from Eclipse I used to use the Find Next functionality (cmd+k in my Eclipse IDE) to do a very quick search and replace because after you've selected text and moved to the next instance it is...
View ArticleHow to get intellisense in Visual Studio Code for Unity functions names?
I am following a tutorial about Unity and I see that the instructor has intellisense when writes the method's name.However I have only intellisense with classes and variables, I mean Unity classes like...
View ArticleI am facing problem while iterating over a string vector
I was trying to make a program to convert numbers into words using the range-based loop for string vector. // conversion of numbers into word #include<bits/stdc++.h> using namespace std; int...
View Article'eslint' is not recognized as an internal or external command
I'm trying to install eslint & run it in vs code. I ran this command: npm i -g eslint and it seemed to work, but I keep keep getting a "'eslint' is not recognized as an internal or external...
View ArticlePossible to add palette command running another command with arguments?
Is it straightforwardly possible to define a command to be added into VS Code's command palette, which runs an existing command with specified arguments?Concrete example: I have installed the Alignment...
View ArticleVSCode nested snippets (or include a snippet inside another snippet)
I'm wondering if I can refer to another snippet within a snippet in VSCode user defined snippet.Say I have"Test1": { "prefix": "snippet_test1", "body": "something" } and is there a way to insert...
View ArticleVSCode import "C" fails
Please see the following screenshot:It says:could not import C (no package data for import path C)I am using Go 1.13 with the latest versions of each extension for Go and C/C++. There is no compiler...
View ArticleIn VS Code, is it possible to disable code unfolding when the user clicks the...
Excluding keyboard shortcuts, folded regions in VSCode can be unfolded by clicking on one of three places:[+] button in the gutter areaThe "..." immediately preceding the last character of the first...
View ArticleIs it possible to add auto-completion into external code editors for Unity
I just started using Unity with Visual Studio Code and got it up and running to use it instead of the default code editor but VSC doesnt display auto-completion and I am wondering if it is even...
View ArticleHow to install Visual Studio code on Fedora 12?
Does Visual Studio Code work on Fedora 12 ? I see that it works on Fedora, but will it work on an old version of Fedora 12. I had trouble understanding the install process using snapd any help would be...
View ArticleWhy does the VS Code integrated terminal not work if I'm invoking a...
I'm editing Typescript files in VS Code, and when I invoke the build task via Shift-Cmd-B, I get `env: node: no such file or directory'but if I start the terminal and manually type the same command...
View ArticleBash shell doesn't work properly (VSCode)
I've started setting up VScode for python and I have a problem with the git bash shell that I've installed and already added to user settings. The terminal switched to bash but it doesn't look right...
View ArticleHow to customise the textMateRules for multiple themes in VS Code?
In VS Code, I'd like to customise some textMateRules the same for multiple themes. For example, both for Atom One Dark and Default Dark+ but without affecting any of the other themes, I'd like to make...
View ArticleCan I add a mouse click callback to decorated text?
I have a decoration applied to the portion of text (matched with regex) it has the option to specify a hoverMessage I'm wondering if there is a way to specify a mouse click to this element. I would...
View ArticleVS Code + Arduino IDE: How to select which sketch will compile? Missing...
Long-time Arduino IDE user, one-day VS Code + Arduino extension user:When I first load a sketch and do "Arduino:Initialize", the name of the sketch is stored in the arduino.json settings file, e.g....
View ArticleError Message Dart 2.5 The for, if, and spread elements weren't supported...
Use of the spread (...) element produces the following error:"The for, if, and spread elements weren't supported until version 2.2.2, but this code is required to be able to run on earlier versions....
View ArticleWhere to define a shared problemMatcher to check the terminal?
In vscode I experience sometimes I can click on build errors in the integrated terminal and sometimes it is not possible to do so. This has annoyed me for quite some time because I was not able to find...
View ArticleVSCode Python version defaults to 2.7 in the integrated terminal
I have VScode installed on iMac with Catalina. On the vscode the interpreter defaults to python 2.7. It remains same even after I change python interpreter and python path. I have referred to following...
View ArticleIs there a way to edit codes in kubernetes pods using VS Code?
Typically, if I have a remote server, I could access it using ssh, and VS Code gives a beautiful extension for editing and debugging codes for the remote server. But when I create pods in Kuberneters,...
View ArticleOpen a script in a new tab in VS code
Typically when I want to open a code and edit in VS code, I run the command code code_name.py in the terminal in the VS code. In the past, the code would just be opened in a new tab, which is exactly...
View Article