Relative Paths in VS Code
I work with a multi-root workspace in VS Code. Here's my folder structure:project-one -node_modules -public --css ---styles.css --img ---global -----logo.svg --js ---main.js --index.html project-two...
View Articlevscode( vscode-ruby + rubocop ) how to auto correct on save?
Environmentsvscode Version 1.19.1 (1.19.1)rubocop (0.52.1)Darwin mbp 16.7.0 Darwin Kernel Version 16.7.0: Wed Oct 4 00:17:00 PDT 2017; root:xnu-3789.71.6~1/RELEASE_X86_64 x86_64ruby 2.3.5p376...
View Articlevscode command line variables before command
I want to launch a vscode project with variables before the application. I only seem to be able to supply command line arguments after the executable. Is this possible to...
View ArticleHow to configure VS Code to use TypeScript already installed
I am getting started with TypeScript and have it installed here C:\Program Files (x86)\Microsoft SDKs\TypeScriptWhen I try to run tscVS Code gives this error:How to configure VS Code to use one of the...
View ArticleHow can I print the output of each line in an .ml file
I have an .ml file and I want to be able to run it line-by-line as if I was typing it in the top-level ocaml interpreterThe problem is, if I simply type "ocaml file.ml" in the terminal, I don't get the...
View ArticleHow to provide code intelliSense for addModel function
I want this effect. How should I write a d.ts file?model({ state: { person: { name: 'lili' } }, reducer: { modify(state) { // I want code intelliSense at here state.person.name } } })
View ArticleError debug Visual Code C# in WebApi .net core
I want to lose your help I can not run the visual studio code debugger, when trying to configure it in the enviroment selection I do not find .NET CORE attached the captures
View ArticleVSCode Failed to update extensions
I'm facing issue with VSCode for a while, I'm unable to detect the issue which prevent me to update ExtensionsFailed to update 'ms-python.python'.Failed to update 'formulahendry.code-runner'.
View ArticleUnable to close a file in Visual Studio Code
Before six months, I opened a log file in Visual Studio code and with that file open I mistakenly did sudo rm -R <folder_name>. After that, I closed that file in Visual Studio code. But for the...
View ArticleVisual studio code duplicates breakpoiint visual indicator
Visual studio code is duplicating the breakpoint lines and it's very creepy to see that. I've changed my theme etc but problem still continues.Does anyone knows how can i fix it?
View ArticleHow can I debug C++ code on VS Code on Mac?
I am trying to debug my C++ code in VS Code on Mac. I am able to compile it and run the executable, but when I launch the debugger using launch.json, it doesn't stop at breakpoints. The breakpoints get...
View ArticleNewbie VSCode find/replace adding a new line at the begining of the replaced...
Recently I found a very annoying thing that when I find/replace text in TSScript file, the VSCode adds a new line in front of the replaced text, I double check there are no new lines in the find or...
View Articledebugging next.js with vscode debugger
I have installed a project using create-next-app. I need to debug the server side rendering using my editor: vscode. So i have visited vscode-recipes - how to debug next.js app.I have made a slight...
View ArticleCreate a new commit from old
I got one Master branch on local and on my github repo.As I commit locally I push it to remote (origin)I checked out a specific commit from my github using the following command;git checkout master git...
View ArticleLego EV3 python intellisense not available?
I've gone through the steps to get started with Lego EV3 and python described here: https://education.lego.com/en-us/support/mindstorms-ev3/python-for-ev3 however visual studio code isn't giving me any...
View ArticleHow to search code in directory from within VSCode extension?
I'm attempting to write a VSCode extension and I need to search all of the code in the directory for certain keywords. Basically, I want to simulate the results of running a search in the sidebar...
View Articlebazel failure build logs
I'm facing a bazel build and being presented with this popup suggestion from the vscode-bazel extension that I'm unsure what precisely it's referring to. Where are these build logs it speaks of and...
View ArticleHow do I look up the current context in VSCode?
Let's say I'm in VSCode (e.g. in the screenshot below in a Python interactive window), I'd like to define keybindings that only apply to a specific window type (e.g. Window 1, 2 or 3 in the screenshot...
View ArticleMigrating a Pycharm project to VS Code
I have a project that I set up in Pycharm with a repo in GitHub. I would like to change IDE's to VS Code and need help setting up the project in VS Code I have tried to open the entire folder in VS...
View ArticleVisual Studio Code Terminal keeps running Python script in Powershell
I recently installed both Python and Visual Studio Code. After taking an intro class I wrote a basic script and ran it in Visual Studio Code. That's when I noticed a problem with the way Python is...
View Article