Starting a New Project in VSCode
Okay so I'm a beginner to programming in general, first time I'm learning seriously and first time I use Stack Overflow. ^^ I started learning C++ and "How do you create a new project folder in...
View ArticleXUnit tests only works in command line not VSCode GUI
I have a project that was created in VisualStudio and after migrated to Visual Studio Code. Now I have the following problem, when executing Debug Test or Run Test in VSCode:I got the following...
View ArticleVSCode - add inputs to tree view
I'm working on a tree view; and would like to have a few inputs available - which I will use for searching and filtering.I don't mind getting rather hacky; I'm just prototyping some ideas. At the...
View ArticleCould not find module `Crypto.Hash.SHA1' in Haskell in Visual Studio Code
I want to run my Haskell program in the terminal of Visual Studio Code, but when I try to do this I get this error back:Could not find module `Crypto.Hash.SHA1' Use -v to see a list of the files...
View ArticleCopying variable contents to clipboard while debugging in Visual Studio Code
I'm debugging in Visual Studio Code and I have a JSON object that I would like to copy as text to the clipboard. Is this possible inside of Visual Studio Code?
View ArticleVS-Code: Use theme color in Tree View label
Is it possible to use theme colors in a TreeItem#label? Or if its not possible to use the theme; is there anyway to apply formatting to the displayed text for each tree view item?If the tree view is...
View ArticleFlutter New web project not showing in visual studio command palette
I have installed Visual studio Code, Dart and Flutter correctly according to the tutorial step shown in docs. I have checked it 100 times but nothing is wrong, unable to find issue. Please help....
View ArticleHow to create a directory in Visual Studio Code tasks.json in windows?
I'm trying to write a task to create a directory using Visual studio Code tasks (in tasks.json) for windows users using the mkdir command, it's working well except when the folder already exists....
View ArticleVSCode does not recognize unit test of pytest
I am trying this setup without success in VSCode with Python https://docs.pytest.org/en/latest/goodpractices.html#test-package-nameThe tests are not recognized, but moreover the Python structure seems...
View ArticleVisual Studio Code C# Intellisense Not Working
I'm having problems with Intellisense not totally working with C#. For some things it does work (Ex: trying to have a using statement), and for other things it doesn't (Ex: Linq queries or in a...
View ArticleHow can I run a custom task (different from test or build) from a keychord...
I know I can assign a keychord to 2 standard tasks: build and test in VSCode. I need to do the same with a custom task. How can I do it?
View ArticleHow to stop VScode reverting my changes after save
I have a super tedious issue with VSCode (run in POP!) wherein it will revert my changes back a few steps after I save or if I leave the code pane open for a while without any typing. I only use VScode...
View ArticleIs there a way of making the Active Tab Border highlighted on top instead of...
With the tab.activeBorder you can highlight the bottom of the active tab, but how do you highlight the top of the tab instead, like in Firefox's current design?An example of highlighting with...
View ArticleHow do you store a char[] array into a text file in c# (Using System.IO)...
This question already has an answer here:.NET / C# - Convert char[] to string 7 answersHow can I store the contents of a char array into a text file in C# with .NET? I have tried char[] characters =...
View Articlei am Generating a model from an existing database .Net Core 3.0 with VS Code...
Added these packages<ItemGroup> <PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.0.0"/> <PackageReference Include="Microsoft.EntityFrameworkCore.Relational"...
View ArticleHow to rename dart file in VSCode?
Working with dart/flutter in VSCode (1.38.1). I want to rename a class, so want to rename its dart file. I right-click on the filename in VSCode and rename the dart file. I then change all its imports...
View ArticleHow can I show ignored files in visual studio code?
My tree view hides all of the ignored files that are listed in .gitignore. I cannot find anything in settings.json to show ignored files in my project. How do I show files ignored because of .gitignore?
View ArticleTypescript Promise not returning optional variable
I have a function basically like thisfunction foo(): Promise<MyClass | undefined> { if(somethingGoesWrong) { return Promise.resolve(undefined); } return Promise.resolve(new MyClass()); } Outside...
View ArticleChange code while debugging python program in Visual Studio Code
Is it possible to change the code while debugging in VSCode and that the change will take effect immediately without rerun the code? I'm using Microsoft Python extension.
View ArticleHow to set terminal in ubutntu is intergrate terminal in vscode?
How to set terminal in ubutntu is intergrate terminal in vscode?we can open the terminal in ubuntu, that is Ctrl+Alt+T.I very like the intergrate terminal in vscode. It have many great things.For...
View Article