Disable formatting on Visual Studio Code C++ formatter only for a block of...
Is there a way to guide the formatter to not touch part of the C++ code in Visual Studio Code? For example:// FORMAT THIS PART int a; // DON'T TOUCH THIS PART std::map<int, std::set<int>> m...
View ArticleHOW to fix, listen EADDRINUSE 8083 - NodeJS
EADDRINUSE actually means that the port number which you are binding to the server using listen() is already in use.
View ArticleHow to open file from VSCode file explorer in same window
Using cmd+shift+e I can highlight the file explorer tab and then use vim keybindings to select a given file. However, I've only figured out how to open a selected file in a new editor pane...
View ArticleNo python at '\python.exe'
No Python at 'C:\Users\~~~~\python.exe' error keeps coming out.. Even if I deleted my previous python and path, the file location is where I installed my previous python...I want to use python in VS...
View Articlepython modules are not imported in VS Code
I have some problem with my Visual Code settings. Currently I work with Python, but ctrl+click or Go to Definiton works. Not even within the same class. Under Problems I get a bunch of errors like...
View ArticleVSCode/Mocha exits prematurely when running extension tests
I am trying to UI test the command in my extension. When I run the test, it quits without any error message before reaching assert.equal() function.The code of my test is as follows:suite("Extension...
View ArticleHow can I highlight the errors on the modules / path vscode?
It seems that either my editor has been deconfigured or my node/npm it's not working properly, basically, when I type an invalid path on an import the vscode used to show an error like this:But after a...
View ArticleVisual Studio Code - Need to launch new terminal with a specific path
I need to use VSC on windows but i like to use terminal in WSL (debian from MS Store). Is possible to start new terminals in the home of the WSL and not in the working directory?If i try to...
View ArticleCan't edit files in Vscode
I've just started using Vscode and have a created a WebAPI project. On trying to open any of the default code files (Startup.cs and Program.cs) whatever I type starts to appear in the blue bar as shown...
View ArticleWhenever I open integrated terminal in VS code 1.18, it crashes PowerShell
Even though I have set below code in setting.json:"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe"Whenever I open the "integrated terminal" it starts and right away...
View ArticleOptional chaining operator support in VSCode
React Native 0.56 provides native support of Optional Chaining Operator i.e ?.However the latest stable release of VS Code can not recognize this syntax and throw a TypeScript validation error:[ts]...
View ArticleTypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string....
I'm working on a project in React and ran into a problem that has me stumped.Whenever I run yarn start I get this error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string....
View ArticleHow do I update all NuGet packages at once with the dotnet CLI?
I'm trying to update all NuGet packages for a solution in VS Code (using Mac). Is there a way to achieve that in VS code or for a specific project.json file? At the moment I'm going one by one but I...
View ArticleEJS shows red mark when trying to embed data
i have this node server with express which directs data to different files like .ejs files and it worked before but I dont know what I did and so that it doesnt work, it marks every ejs's "<" in...
View ArticleHow to make VSCode to replace the word when accepting autocomplete hint?
JetBrains IDE platform have very useful feature, which I am using a lot and I find it a performance booster. When I have a word in editor, and I want to change or update that word, I do the...
View ArticleOverride to toggle menu bar on VS CODE
What I want to achieve is as follows:Disable ALT to show menu bar by toggle-menu-bar completely.-> Potentially map ALT to a NULL action?Use a different shortcut to toggle-menu-bar. Is there a way to...
View ArticleHow to use Code-server with eclipse projects?
I'm having problems with using code-server with my eclipse java project and I honestly have no idea what to do, i have installed java on the box that is running code-server and It keeps throwing errors
View ArticleUse offline cppreference for context help in VS Code
Here are cppreference archives for offline viewingI would like to see C++ documentation from cppreference in VS Code instead of Is there a simple way to make vscode and cppreference friends?
View ArticleProblem formatting in VSCode with Prettier
textComp() { return this.props.GMarcha ? this.props.english ? 'On' : 'Encendido' : this.props.english ? 'Off' : 'Apagado'; } I have this function. When I use Prettier to format it it stays like...
View ArticleVS Code warning message on extension activation
Mine and another extension have merged, and for the now deprecated extension we're going through and making sure that users will be well informed about the merger. One thing I'd like to do to make...
View Article