VScode java project build and run from command line
I have java project generated in Visual Studio Code (installed addon: Java Extension Pack )Everything works properly when i work with it using IDE, but i would like to know how to build and run it...
View ArticlePrettier VSCode JSON Format Error - SyntaxError: ';' expected
I'm trying to format a JSON file in VSCode using Prettier. However, I've had no luck formatting any JSON files. I've Googled for possible fixes or ideas with no luck. I'm trying to figure out how do I...
View ArticleVS code extensions for Flutter
I want to write platform specific code for Android using Java but cannot find suitable extensions for it in Visual Studio Code. I installed the recommended extensions for Java but it is not working...
View Article.Pytest session scoped fixture showing error in pylint
I created a session-scoped fixture so that my webdriver will be consistent with all tests (the browser won't close between tests), but for some reason, I am getting an error from within each test that...
View ArticleConsole.ReadLine() not working in VS Code, writing a code in C#
I am learning C# and I am using VS Code, when I tried to take input from user using Console.ReadLine() it's not working.I referred from a video which did exactly same thing and still after a couple of...
View ArticleVS Code Workspace launch configuration section does not work
My VS Code Workspace file includes a launch configuration and tasks section, so a developer can run the Azure Functions local.But it seams that the launch configuration from workspace file will be...
View ArticleVSCode - Open terminals in a separate window
in VSCode is it possible to open the terminals in a separate window? So far my research has pointed to a resounding NO but Im curious if anyone has a solution?
View ArticleHow to find and activate a virtual environment in WSL (Ubuntu) using VS Code...
I have a Windows machine and I'm trying to use WSL that I can use Linux to complete a learning project by Corey Schafer on Django development. (All had been well until I had to use Gunicorn which works...
View ArticleVSCode Dart/Flutter not rename import when rename the file
I'm coding Dart/Flutter in VSCode.How to fix the problem where VSCode did not rename all import when I rename .dart file?Is this the extensions bug or it's an unimplemented feature?
View ArticleMark not used modules in Python in VS Code as like in PyCharm
Pycharm is identifiying not used modules in the Pyhton script, so you can have an overview about the modules. In my Template the unused modules are grey, the used modules are blue. I googled it, but I...
View ArticleSettings to copy paste with correct indentation in Visual Studio Code
When I copy and paste a piece of code using Visual Studio Code, after pressing enter to create a new line, the following happens:It seems to keep the indentation created by the new line, adding the...
View ArticleHow to add built-in assembly from .Net Core to a C# project in VS Code
How to add .Net Core built-in assembly, say, System.Windows.Forms, to a C# project in VS Code?This can easily be done in Visual Studio by using the Reference Manager. However, I got stuck with VS Code....
View ArticleHow to call VS Code Editor from command line
The question says it all.How can I call VS Code editor fromwindows cmdlinux and mac terminale.g. for notepad++ I write> start notepad++ test.txtBy the way, the editor is awesome (cross-platform)!...
View ArticleHow to configure VS Code to understand nested package.jsons?
I have a large React Native application which uses nested package.json files to keep the dependency imports at the top of the package clean.For example, my libraries folder has a package.json...
View ArticleHow to debug source code in Visual Studio Code?
My nodejs project uses mocha/pact.js as the test framework. I want to debug the source and not just the mocha tests. With my current launch configuration, only the breakpoints in the mocha test are...
View ArticleVisual Studio Code: Unexpected error at running Selection/Line in python...
Not sure anyone faced the same error before. When I choose to run the selection/line in python terminal at line:a = 5 The terminal returns:Traceback (most recent call last): File "<stdin>", line...
View ArticleVisual Studio Code Python run section in interactive window not working
When I work on a .py file in Visual Studio Code with python extension, I used to be able to run selected lines in interactive window with Alt+Enter or click on context menu, which is highlighted in the...
View Articleshortcut to run current Python unit test in VSCode
The question is regarding Visual Studio Code (VSCode from here) and python VSCode extension that finds and runs py.test tests.Is it possible to assign some shortcut to run current (under cursor) test...
View ArticleVSCode JSDoc - define dynamic property type
I have a class that extends a class from some external code. In my "constructor", I set a field that the parent uses to make an API call and upon completion, the result gets stored in the data property...
View ArticleVim extension: can I use it and preserve the vscode original bindings?
I have been using vscode with the vim extension for the last year in my mac, and now that I switched to Linux, the original bindings of vscode won't work when the vim extension is enabled. Is it...
View Article