Use the task's executed terminal for debugging
I want to execute a task that runs a bash script and activate virtual environment in python then I want to start debugging on that activated environment. I have written the task for it and referenced...
View ArticleHow to format Blazor code correctly in VS code?
How can you force Visual Studio Code to format blazor (.razor) files correctly?Setting lanquage mode to: aspnetcoderazor does not format the code, however set to html completely corrupts the formatting...
View Articleunable to load asset [flutter]
I tried yesterday to put an image and it was working just fine but when I tried to run it again it gave me this error:Restarted application in ٢٬٧٦٥ms. [38;5;248m════════ Exception caught by image...
View ArticleC-style comments in VS Code
Is it possible to configure VS Code to use C-style comments (/**/) instead of C++ style ones (//) for C code only? My Gooogle-fu might be weak, but I haven't found any useful solution to it so far.
View ArticleSalesforce DX: Single Project with multiple package directories vs. Multiple...
We are currently working on the architecture of our Salesforce DX project. We've got an extensive codebase of existing customizations and are planning to turn them into multiple Unlocked Packages to...
View Articlecontext.storagePath is empty (except meta.json) but cached data is still...
I do have a really spooky issue while debugging my extension. Since I am using the workspaceState to cache information I tried to figure out where the state is usually...
View ArticleForm Characters not displayed correctly at runtime - VS Code PowerShell
I'm making a forms application with powershell. I'm having issues getting the characters "æ", "ø", "å" to be displayed correctly in a label. See the screengrab below for how they appear. There seems to...
View ArticleVSCode single to double quote automatic replace
When I execute a Format Document command on a Vue Component.vue file VSCode replace all single quoted string with double quoted string.In my specific case this rule conflicts with electron-vue lint...
View ArticleProblems with libpcap - segmentation fault
I'm having problems with the libpcap function "pcap_findalldevs". The problem is when I run the code is gives a "segmentation fault". The code is:int listDevices() { int res = -1; int count = 1;...
View ArticleSwitch case auto indentation to enable folding on VSCode
I am using Visual Studio Code, and in one of my projects I have a huge switch-case statement that I want to be able to read through easily by collapsing individual case '...': statements.By doing...
View ArticleRun git pre-commit hook with specific node version
I'm working on multiple nodejs projects and managing different versions with nave.In one of the projects there's a pre-commit hook which fails because the node I have globally installed is 12.6,...
View ArticleComplete Rust plugin install for VS Code via command line
I'd like for my students to program Rust from within VS Code under Windows 10. I hope to provide the IT department with a set of scriptable commands to set this up on each machine.I have installed...
View ArticleVSCODE run gdb on remote server through proxy
I'm trying to use native debug (https://marketplace.visualstudio.com/items?itemName=webfreak.debug) extention in vscode to launch gdb on a remote server through ssh. It's working when I'm connecting...
View ArticleI am not able to run my vscode extension without using the command palette?
I have published my vscode extension to the marketplace but i need to run it without using command palette. when i am running it using command palette it is working fine, but what i need is, it should...
View ArticleWeb Server shows no content
Im new to VS code, Upon clicking the http-server on my terminal I get no content on my web-server. I tried:<head> <link rel="shortcut icon" href="#"> </head> <body> <h1>...
View ArticleHow to run all test cases of C++ in vscode
I am looking for VSCode extension, that runs all the tests I have in my project in one click. See the example below, to see what I really mean. ExampleLet's say I have a couple of files, that I want to...
View ArticleHow to suppress information on integrated terminal in Visual Studio Code
In Visual Studio Code v1.40 on Windows 10, the integrated terminal window always shows the information below.Microsoft Windows [Version 10.0.18362.476] (c) 2019 Microsoft Corporation. All rights...
View ArticleVsCode compare – switch editors
So in VsCode you can compare files. Either manually or review changes via git. But I like to have my original on the right and edit my current one on the left.Is there a way to switch those two? I...
View ArticleSetting http.proxyStrictSSL to false doesn't work for in a Development Container
I'm using the Remote-Container extension and wanted to install extensions in a container during container build. I get the error "unable to verify the first certificate" and wanted to set...
View ArticleIn VSCode, how do I select a word programmatically?
I'm working on an extension for VSCode where I'd like to grow the cursor/caret into a selection limited to one word.What's the best way to grow the selection to the whole word (such as foo_bar)...
View Article