Is there a VSCode action to close the sidebar if open, otherwise do nothing?
There's an action called workbench.action.closePanel that does exactly what you'd think it does; it closes the panel in VSCode if it's open, and if it's not open it does nothing. As far as I can tell,...
View ArticleDebug vue-cli project - no breakpoints, console links to wrong files
Trying to setup vscode to debug a vue project.I use vue ui because it's actually super convenient.I have 2 problems:Breakpoints end up Breakpoint set but not yet bound. And obviously not working.File...
View ArticleHow do I Auto-bind Visual Studio Code Breakpoints for Mocha Unit Tests?
I've been unit testing with Visual Studio Code and Mocha. I've found that breakpoints only bind right away in the spec.js files. The ones in external files are only bound when you manually step into...
View ArticleVS Code with es6
I am getting the linting error in my code 'import' is only available in ES6 (use 'esversion: 6').Everything es6 related is throwing an error. Not sure what I have to configure to get it to work.
View ArticleVS Code move debug tab (left panel) to bottom
Is it possible to move left panel Debug from left to bottom? I believe is more comfortable to see all the callstacks, variables and watches in the bottom panel.Many thanks!
View ArticleVS Code Intellisense for unity not working
The Intellisense for VS Code for Unity specific methods is not working. I keep getting the following warnings repeated several times in the Output log of VS Code:[warn]:...
View ArticleDebugging Laravel with VSCode on Docker container using Xdebug as debugger
I am trying to debug Laravel code on Visual Studio Code using Xdebug. I am using Docker container that works as server.But I am getting this error when try to debug:Cannot connect to runtime process,...
View ArticleVSCode add parentheses when automcompleting functions
Is is possible to tweak VSCode so that when function gets autocompleted it is written with () instead of just plain function name?For example when I type str and autocomplete to strlen I would like to...
View ArticleVscode "Unable to open [file]: Unable to read file" message when clicking on...
I get this message when I click on a warning. This is a screenshot of the case. The error reads,Unable to open 'warning.cpp': Unable to read file...
View ArticlePython elif works in IDLE but not Visual Studio Code
I'm a Python newbie, currently working on my first project.My elif statements seem to work in IDLE but not VSCTo demonstrate, I have a very simple if statement:dud = 'You' if dud == 'You': print('You...
View ArticleActivate conda environment stopped working in vscode
I have noticed that conda activate environment stopped working in vscode integrated terminal with no obvious reason (I certainly did not install any new extensions, nor updated conda or vscode in the...
View ArticleVS Code gives me an ssh_askpass error when I try to push the changes to my...
I have this problem, I've created a Github repository to back up a project. I have normal SSH access to my repo from my Linux command line and I can push, pull, commit, sync and all that stuff with no...
View ArticleVSCode "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 ArticleSnippet formating in VSCcode (c++)
I am using Visual studio code on mac. I didn't find solution nowhere. When i use snippets for C/C++ from Microsoft. I get results like this:for (size_t i = 0; i < count; i++) { } but i want this...
View ArticleCan I hook up vscode language extensions and terminals to use a container...
Specifically looking at the powershell extension, Im running vscode on macosNow I can install the .net core sdk and then install powershell on my systemBut what I would prefer is to install this in a...
View Articlepython setup.py install error LNK2019: unresolved external symbol fmin...
I am new to python. I am trying to install a module in python by visual studio code in terminal and I have provided all the requirements but it gives me an error:"error LNK2019: unresolved external...
View ArticleHow can a extension obtain remote URL of file in currently connected remote...
I'm writing an extension targeted for VSCode Remote environment. In this setup, one extension (UI extension) runs in client and another (workspace extension) runs in remote server.Now, here's a...
View ArticleCant activate environment from Visual Studio Code
I use Python mostly in Spyder for data science. Both Visual Studio Code and virtual environments is fairly new to me. Anyway, using the terminal in Visual Studio Code I try to switch between...
View ArticleVisual Studio Code tree view setting. Get back the old view (pre 2020)...
This makes me crazy! It should be trivial but I cant find in settings how to get back the old look in the file explorer window. Well it's not that old, it was just a few weeks ago.First image shows...
View ArticleHow to resolve "unresolved import" in Rust when using VS Code?
I'm fairly new to rust and have been following the official book that they provide on their site. During chapter 2 they tell you to import a "Rand" cargo which I did. However, when I try to run my code...
View Article