logo
down
shadow

VISUAL-STUDIO-CODE QUESTIONS

How do I set up VSCode settings so that rules are different for different file types?
How do I set up VSCode settings so that rules are different for different file types?
this will help In my VSCode user settings, I have a default ruler at 80 chars using: , Given the comments on my question above, I have a working solution:
TAG : visual-studio-code
Date : November 21 2020, 07:01 PM , By : Carlin Van Zyl
How to select whole line in VSCode
How to select whole line in VSCode
it should still fix some issue All you need to do is put the cursor anywhere on the line, do not make any selection at all and then do the desired command (Cut, copy, or paste).When no text selected, VS Code will automatically select the entire line.
TAG : visual-studio-code
Date : November 15 2020, 07:01 PM , By : Hoàng Sơn Tùng
Cannot read property 'getExtension' of undefined - While running file in debug mode
Cannot read property 'getExtension' of undefined - While running file in debug mode
this one helps. I just got this issue and it was because of something wrong I had typed in my envFile. (This is what I had in my launch.json)...
TAG : visual-studio-code
Date : October 24 2020, 06:10 PM , By : Larsf
Enable xelatex in Latex Workshops for Visual Studio Code
Enable xelatex in Latex Workshops for Visual Studio Code
I wish this help you The simplest solution found in issues here, but in more common formulation Copying the content, simply go to Preferences/Extensions/LaTeX (meaning LaTeX is LaTeX workshops), find gear-wheel button with name Manage, then find in t
TAG : visual-studio-code
Date : October 18 2020, 06:10 AM , By : Aytana Garcia
How to hide/unhide comments with Microsoft VSCode?
How to hide/unhide comments with Microsoft VSCode?
this will help Can't find such feature as well. Read this issue from GitHub - https://github.com/Microsoft/vscode/issues/46505Seems like that VSCode can't do it (from the box) and all people waiting for that feature.
TAG : visual-studio-code
Date : October 14 2020, 04:00 AM , By : Anurag
Configure Emmet for JSX in VSCode
Configure Emmet for JSX in VSCode
I wish this help you Emment configuration or enabling is editor specific. In VSCode, You need to enable it for current work space. Follow theses steps. (If you are busy, follow bold letters.) Press Ctrl + , or Cmd + , or File > Preferences > Settings
TAG : visual-studio-code
Date : October 13 2020, 05:00 AM , By : TOUHEED ANWAR ATIF
Visual Studio Code for Hack IDE?
Visual Studio Code for Hack IDE?
Does that help Currently, vscode-hack by slack is the unofficial-official hack extension.Previously, Facebook created their own Hack/React IDE based on Atom ( https://nuclide.io/ ), sadly, the project has been archived, and now, VS Code is recommende
TAG : visual-studio-code
Date : October 12 2020, 10:00 AM , By : marvo
Most efficient way to swap () for {} in VsCode?
Most efficient way to swap () for {} in VsCode?
seems to work fine You can use the regex search and replace capability within VSCode.Make this your search string:
TAG : visual-studio-code
Date : October 12 2020, 12:00 AM , By : xding
Tasks - Windows Command Task with multiple commands
Tasks - Windows Command Task with multiple commands
seems to work fine I had a similar issue and to make the Visual Studio Code task to execute multiple commands, I had to separate each elements of the args array to leave out any white space. So in this case, the task could be something like this:
TAG : visual-studio-code
Date : October 11 2020, 10:00 AM , By : Ani Enthusiast
Preventing conflict between Prettier (code formatter) and ESLint/TSLint
Preventing conflict between Prettier (code formatter) and ESLint/TSLint
should help you out Generally, when using Prettier, it's best to let Prettier do all formatting work. Use linters only for non-formatting concerns such as bug detection.There are plugins for both ESLint and TSLint that turn off all style rules:
TAG : visual-studio-code
Date : October 11 2020, 06:00 AM , By : SMALLDKMCGEE
vscode-remote-release and wsl 2
vscode-remote-release and wsl 2
hop of those help? It seems wsl2 entry path problem, try execute wsl in any folder. If your shell enter your linux's user home and not the /mnt/ path to your windows's folder path.Currently I found reboot can resolve this problem for a while
TAG : visual-studio-code
Date : October 11 2020, 05:00 AM , By : Akash Soni
How to customize file right click actions on Visual Studio Code?
How to customize file right click actions on Visual Studio Code?
this will help I need to execute a JS code on a json file when I right click on it using VSCode and show the result on a modal or on command prompt based on other code. , For this, you'll need two contributions:
TAG : visual-studio-code
Date : October 09 2020, 09:00 PM , By : Mercurial
How to find and change Java compiler option in Visual Studio Code?
How to find and change Java compiler option in Visual Studio Code?
help you fix your problem VS Code does not have built-in support for Java projects. You need to install some Java extensions and configure them to specify the correct Java JDK version, which you can do by either setting the JAVA_HOME environment vari
TAG : visual-studio-code
Date : October 09 2020, 01:00 PM , By : Jasmine Frantz
How to kill VSCode remote services on Ubuntu Host
How to kill VSCode remote services on Ubuntu Host
I hope this helps . Try to kill vs code-remote host through the command after pressing ctrl + shift + p and enter
TAG : visual-studio-code
Date : October 09 2020, 08:00 AM , By : Marko Kaludjerovic
How do I get the number of ViewColumns the user has open from a VSCode extension?
How do I get the number of ViewColumns the user has open from a VSCode extension?
hope this fix your issue I am working on developing a VSCode extension, and I open a webview using the following: , Maybe you're looking for vscode.ViewColumn.Beside:
TAG : visual-studio-code
Date : October 08 2020, 09:00 PM , By : dfreitas.986
Is it possible to create an extension to vscode that changes the CSS of the editor?
Is it possible to create an extension to vscode that changes the CSS of the editor?
wish helps you You can't change arbitrary css in the editor. See the extension guide for info about the VS Code extension philosophy and how you can extend VS CodeTwo options:
TAG : visual-studio-code
Date : October 08 2020, 08:00 PM , By : GeekyNoob
VSCode inserting "non-breaking spaces" instead of regular spaces
VSCode inserting "non-breaking spaces" instead of regular spaces
This might help you I have this a lot too on Mac OS, but it turns out I am still holding the option key slightly when typing the space after using it to type I've installed https://marketplace.visualstudio.com/items?itemName=viktorzetterstrom.non-bre
TAG : visual-studio-code
Date : October 07 2020, 02:00 PM , By : Isaac
How to collapse sub-folders when a folder is closed in VS Code?
How to collapse sub-folders when a folder is closed in VS Code?
wish of those help You can Alt+Click a folder to recursively expand or collapse it. However, I don't think it's possible to make that the default, since keybindings don't support mouse input.
TAG : visual-studio-code
Date : October 07 2020, 03:00 AM , By : K Mahajan
I am unable to connect to the extension marketplace of Visual Studio Code
I am unable to connect to the extension marketplace of Visual Studio Code
should help you out Bypass the url from proxy. Open proxy settings (run command - inetcpl.cpl) Go to connection tab, now in your proxy add that url If it works then ok . Else you have to contact network team or need to do some firewall settings
TAG : visual-studio-code
Date : October 07 2020, 01:00 AM , By : David Love
Sniff Packets using Charles Proxy and Visual Code
Sniff Packets using Charles Proxy and Visual Code
I hope this helps you . I need to sniff packets that my node.js app is sending. I'm running Visual Code 1.36.1. , Adding environment variable
TAG : visual-studio-code
Date : October 06 2020, 05:00 AM , By : loicBenazech
Changing the key binding for Command Palette
Changing the key binding for Command Palette
around this issue The reason I couldn't find it is because it appears in Keyboard Shortcuts as "Show All Commands" rather than "Command Palette."
TAG : visual-studio-code
Date : October 05 2020, 07:00 PM , By : Gail
How to disable HTML autocompletion in VSCode?
How to disable HTML autocompletion in VSCode?
wish helps you "emmet.excludeLanguages": ["typescriptreact"] // or whatever languages you want to excludelike "emmet.excludeLanguages": ["javascript"]
TAG : visual-studio-code
Date : October 05 2020, 05:00 AM , By : MCCLI
F# with VS Code : Redirecting user input
F# with VS Code : Redirecting user input
With these it helps It is related to this and not F specific. In launch.json
TAG : visual-studio-code
Date : October 04 2020, 12:00 PM , By : Jamicah Sanchez
How to fix "Cannot find runtime 'nodemon' on PATH. Make sure to have 'nodemon' installed."?
How to fix "Cannot find runtime 'nodemon' on PATH. Make sure to have 'nodemon' installed."?
it fixes the issue I try to debug nodejs app with nodemon on visual studio code so that I can auto restart the debugger each time I save my code. However, it just kept poping up this error message when I run my debugger on visual studio code: "Cannot
TAG : visual-studio-code
Date : October 03 2020, 07:00 PM , By : DannyDorito
VSCode Rest client - how to set variable to variable
VSCode Rest client - how to set variable to variable
wish of those help You have to include variable inside double bracket like "{{variableName}}". In the above scenario, you could change the expression as shown below
TAG : visual-studio-code
Date : October 03 2020, 12:00 AM , By : Praveen
Prettier not formatting HTML files in VS Code
Prettier not formatting HTML files in VS Code
I wish did fix the issue. Prettier extension on my VS code is unable to format HTML. , Same for me. I managed to solve it as follow:
TAG : visual-studio-code
Date : October 02 2020, 07:00 PM , By : Akash Gupta
Is it possible to setup VSCode to show closing tags (or brackets) on the same line as all normal code editors do?
Is it possible to setup VSCode to show closing tags (or brackets) on the same line as all normal code editors do?
Does that help As of VS Code 1.39, you cannot change how folding works. This request feature is tracked by https://github.com/microsoft/vscode/issues/3352
TAG : visual-studio-code
Date : October 01 2020, 07:00 PM , By : Cadu Costa
How to hide gray boxes where the scrollbar is in VSCode
How to hide gray boxes where the scrollbar is in VSCode
will be helpful for those in need The grey bars you're seeing on the right side indicate where the block of code begins and ends. You can disable this with:
TAG : visual-studio-code
Date : October 01 2020, 01:00 PM , By : Aamir
Jupyter notebooks in vscode does not use active virtual environment
Jupyter notebooks in vscode does not use active virtual environment
will help you It's because there is an extra step needed - you need to explicitly install a Jupyter kernel that points to your new Python virtual environment. You can't simply activate Jupyter-lab or Notebook from the virtual environment. This has tr
TAG : visual-studio-code
Date : October 01 2020, 10:00 AM , By : Van de Eiginen
VSCode nested snippets (or include a snippet inside another snippet)
VSCode nested snippets (or include a snippet inside another snippet)
To fix this issue I think the only way to include or nest snippets within each other is to use a macro or some other programmatic way. Here is a solution using the macro extension multi-command.
TAG : visual-studio-code
Date : September 28 2020, 05:00 PM , By : Benjamin Larson
How download all dependency to local using bazel?
How download all dependency to local using bazel?
will help you If the build succeeded, the files are already on your machine. You just have to tell vs-code where.Bazel materializes all external repositories under /external/. The is a directory Bazel creates in its output tree, and you can find its
TAG : visual-studio-code
Date : September 27 2020, 08:00 PM , By : karunakar
Copy enable/disable extensions settings to another workspace
Copy enable/disable extensions settings to another workspace
it fixes the issue VS Code stores this info in its internals instead of the .vscode folder, so you can't copy this info between workspaces. There is an open issue asking exactly what you want.But, you have an alternative. Use the Profile Switcher ext
TAG : visual-studio-code
Date : September 27 2020, 02:00 PM , By : Chris Lee
VS Code - Search for text in all only c++ (.cpp) and header (.h) files in a directory
VS Code - Search for text in all only c++ (.cpp) and header (.h) files in a directory
it fixes the issue You can open the file filter with the ellipsis, and seperate file extensions to filter with a comma:
TAG : visual-studio-code
Date : September 26 2020, 10:00 PM , By : user6080193
How to Create a Ballerina Integrator project in vscode?
How to Create a Ballerina Integrator project in vscode?
This might help you You can create a new project from VSCode Dashboard by entering CMD+SHIFT+P (on mac). Click on Ballerina Integrator Dashboard Click on Create a new Project Enter the project name The same as above enter a name for the module. It wi
TAG : visual-studio-code
Date : September 25 2020, 11:00 PM , By : Alessandro Sotero
Using Rust Cargo TOML variables within VSCode?
Using Rust Cargo TOML variables within VSCode?
fixed the issue. Will look into that further I want to propose a different approach. What if you define cargo run as a task in your tasks.json with a shortcut and let cargo handle the naming. That also has the advantage that, if students make a chang
TAG : visual-studio-code
Date : September 25 2020, 08:00 PM , By : K Young
Is there a way to disable "MDN References Intellisense" popup (for HTML & CSS) in VS Code?
Is there a way to disable "MDN References Intellisense" popup (for HTML & CSS) in VS Code?
may help you . Found this, in settings.json insert the following. It might turn off more than you wanted, but at least that pop up will be gone.
TAG : visual-studio-code
Date : September 24 2020, 10:00 PM , By : Jeel Ashar
Disable hover which show information about the symbol/object in VS Code
Disable hover which show information about the symbol/object in VS Code
this will help How can I just disable the hover feature which brings up the information about symbol/object in VS Code. , You can fix this problem by setting false to these features.
TAG : visual-studio-code
Date : September 24 2020, 04:00 PM , By : boukas games
Vertical column in Visual Studio Code?
Vertical column in Visual Studio Code?
I hope this helps . You can't currently do that with just settings and color theme to the best of my knowledge.There is an extension mentioned in the comments of the linked question answers that allows to adjust the thickness of the indent lines amon
TAG : visual-studio-code
Date : September 24 2020, 12:00 AM , By : softwarecorridor
'ANY_NODE_APP' is not recognized as an internal or external command, operable program or batch file on windows 10
'ANY_NODE_APP' is not recognized as an internal or external command, operable program or batch file on windows 10
wish of those help It is probably caused by the version conflict between global and project's TsLint. You can see your version by: tslint -vThen you can reinstall Tslint globally to latest version by: npm install tslint typescript -g
TAG : visual-studio-code
Date : September 23 2020, 07:00 AM , By : J.Doe
Elm VSCode plugin does not format on save
Elm VSCode plugin does not format on save
Hope that helps The following are the responses and resolution.Response from @stoft:
TAG : visual-studio-code
Date : September 22 2020, 12:00 AM , By : Allenberg Galleries
Why was the Santa hat removed from VSCode insider builds?
Why was the Santa hat removed from VSCode insider builds?
it fixes the issue It was removed due to a GitHub issue on the repository for VS Code.
TAG : visual-studio-code
Date : September 21 2020, 08:00 PM , By : Christian
Is it possible to open a C# solution in Rider via the command line?
Is it possible to open a C# solution in Rider via the command line?
Hope that helps It is possible to open any file, folder, or solution and project in Rider for editing. Here is a corresponding help page. If you use a standalone Rider, you need to create a shell script. Call the action "Tools | Create Command-Line L
TAG : visual-studio-code
Date : September 05 2020, 12:00 AM , By : Xiao Kang
Full Rust setup in VSCode/Atom Issue
Full Rust setup in VSCode/Atom Issue
will help you Short Version Assuming I understand the issue correctly. Then the various build issues boil down to different ways you're trying to build the project, and attempting to do so in different directories.
TAG : visual-studio-code
Date : September 04 2020, 01:00 PM , By : Sri
shadow
Privacy Policy - Terms - Contact Us © 35dp-dentalpractice.co.uk