How to use Visual Studio Code with Haskell and Docker
A lot of people use Visual Studio Code. Very common scenario today is to use Docker. So, I have some Haskell code in the Docker with "stack" tool - all is fine, I build my project without errors. I can...
View ArticleC: Set custom entry point in Visual Studio Code using clang
I am trying to set clang to use a function called entry() (instead of main) as the entry point (in order to prevent C-runtime initialization), but the compiler does not seem to recognize any of the...
View ArticleVSCode (WSL) cannot find modules
I have a TypeScript monorepo containing /packages, which are published to npm using lerna on deploy.For some reason my Intellisense refuses to recognise any of my custom modules. I have tried editing...
View ArticleInspect nested TypeScript interfaces & types in VSCode
When using VSCode with TypeScript I find myself constantly hovering over functions or objects to inspect their type. Often, the types and interfaces for these objects rely on multiple other interfaces...
View ArticleHow do you change the spring-boot dashboard project name in VS Code?
How do you change the spring-boot dashboard project name that shows up in VS Code?I have tried changing every instance of 'boilerplate-spring' in the project folder including the launch.json...
View ArticleHow to setup Java in Vscode on Elementry Os (Linux)?
I downloaded the OpenJDK by Redhat, I don't know the next step to make use of it.
View ArticleESLint: Prevent Arrow Function Use in Javascript (I grew up calling them...
I have a JavaScript project that I'd like to prevent the use of lambda expression functions =>.Is there an ESLint rule I can use to help enforce this?I'm working with Visual Studio Code.(I've...
View ArticleWrong intendation of multiline comments in VSCode with C/C++ extension
It seems that the clang formatter of the C/C++ extension has difficulties when intending multiline comments.I get the following format when using the formatter (so just the first line is formatted...
View ArticleHow to get changes from other users in VS Code from TFS
This question is for building Angular application in VS Code. My team has been coding in VS2015 and using Microsoft TFS for version control (Please note that our code is within the company firewall, on...
View ArticleVS Code - HTML - Emmett Intellisense doesn't seem to be working as expected
I'm attempting to learn web development, and I'm taking an online course from udemy. I am still in the html coding stage and I don't get the correct attributes auto suggested when I type in "form"...
View ArticleRemove trailing spaces automatically or with a shortcut
Is there a way to remove trailing spaces in Visual Studio Code (automatically or with a shortcut)?I've been looking for this in the command palette and in the editor settings, but I cannot find what I...
View ArticleVS Code - Switch between editor and terminal with keyboard shortcuts [duplicate]
I would like to be able to switch between all editor windows and the terminal. Is there a concise workflow / keyboard configuration to achieve this?I can switch between terminal windows or between...
View ArticleFlutter apps won't debug in VScode
After I had factory reset my MacBook Air(2019) and reinstalled flutter my apps wont start/debug. When I start debugging, both the IOS and Android emulators would start, but after that the app doesn't...
View ArticleIs it possible to call commands between extensions in VSCode?
For example, there are two VSCode extensions:extension1 has registered command exCommand1extension2 has registered command exCommand2According to documentation, a VSCode extension can call commands...
View Articlecpp code for Visual Studio Code not working [closed]
I tried installing C++ for VS code. Ran code without success.Errors show up like this: [Running] cd "c:\Users\gugel\OneDrive\Desktop\vc++\"&& g++ main.cpp -o main &&...
View ArticleHow to build react.js apps at visual studio code?
I have created two apps using Visual Studio Code and node.js. I run them using command npm start, and they show in the browser. I want to build them or deploy them so they can be used by anyone. It...
View ArticleHow do I enable scrolling in the integrated terminal in Visual Studio Code?
I am running Visual Studio Code 1.41.1 on Manjaro. I can't scroll in the integrated terminal with the scroll wheel on my mouse nor using two fingers on my trackpad. I have to navigate my cursor to the...
View ArticleKeyboard shortcut for running current cell but not moving cursor to next one...
I am using visual studio code and the jupyter functionality and I want to run the current cell without going to the next cell nor creating a new cell. Just run the current cell and keep the cursor...
View ArticleUnable to start debugging : The value of miDebuggerPath is invalid
I recently started working on vscode. I wanted to debug my C code. But the moment I am launching the debugger getting Error : Unable to start debugging. The value of miDebuggerPath is invalid.I have my...
View ArticleVS Code Autocomplete Re-imports Package with Full Path
Everytime I want to add a widget by selecting it on the autocomplete list from VS Code, let it be a Container, Column, etc., the full path is re-imported. Sometimes the autocomplete list will also show...
View Article