Quantcast
Channel: Active questions tagged vs-code-settings - Stack Overflow
Browsing latest articles
Browse All 62 View Live

vscode won't wrap html class attribute contents (class list) to multiple lines

Consider this simple html with single element that has a lot of classes:[...]<body><article><div class="my-class my-12 pr-8 text-blue-800 bg-blue-500 hover:bg:blue:800 rounded-2xl abc...

View Article


How to enable auto formatting for specific subfolders only?

When working on a team project with various preferences, how can one enable auto formatting on a specific folder (not file type) only?For...

View Article


Image may be NSFW.
Clik here to view.

VS Code finds problems in GitHub Copilot Chat code blocks. Why?

When using GitHub Copilot Chat within Visual Studio Code, I've encountered an issue where TypeScript attempts to type check "temporary files" generated by Copilot. These files, identifiable by their...

View Article

How to stop VS Code cursor from blinking?

How do I stop the VS Code cursor from blinking? What's the right option in settings.json?

View Article

How can I prevent VS Code from replacing a newly opened, unmodified (preview)...

I am using Visual Studio Code 1.3.1 with the newly introduced tabs.When I click on files, the first file will open in a tab. If I do not make any changes to this file, the second clicked file will open...

View Article


Image may be NSFW.
Clik here to view.

How to block a VS Code extension from opening output window on every parse error

When using Microsoft's Kubernetes extension in Visual Studio Code, the output window pops up every time there's a Helm parsing error. This is visually disruptive.How can I prevent the output window...

View Article

How can I have multiple vertical rulers in VS Code?

VS Code's default configuration for a ruler is demonstrated below."editor.ruler": 80The issue I am having with the default VS Code configuration (as shown above) is that it only renders a single ruler....

View Article

How to hide specified files/directories (e.g., .git) in the sidebar? (VSCode)

In Visual Studio Code, what setting can be configured, using file patterns, to hide files from view in the sidebar's file-explorer?I would like to hide certain groups of files, like .meta and .git files.

View Article


How to hide a folder in VS Code except for certain files?

I'm trying to configure Visual Studio Code to hide a specific folder from both the left panel and the search results, but I want to keep certain file(s) within that folder visible.Here's what I have in...

View Article


Image may be NSFW.
Clik here to view.

How to disable "Alt" key menu navigation in Ubuntu for VS Code shortcuts...

I frequently use keyboard shortcuts in VS Code to speed up my workflow. However, since switching to Ubuntu, I've noticed an issue with shortcuts that involve the "Alt" key. Every time I press and hold...

View Article

VScode Prettier Extension Not Formatting on Save

When saving a file that has Prettier configured as the default formatter, nothing happens and the file is not formatted.I have looked at all the similar questions related to this issue, but they all...

View Article

Image may be NSFW.
Clik here to view.

vscode file nseting pattern getting applied to internal folder also; how to...

vscode version: 1.95.3os: MacOSbelow seetings in vscode ( in workspace file )"explorer.fileNesting.enabled": true,"explorer.fileNesting.expand": false,"explorer.fileNesting.patterns": {"*.js":...

View Article

How to reference custom file location for snippets in Visual Studio Code....

Goal: To find a VSCode setting that I can update to have VSCode reference a custom file or folder location to store and save my code snippets. System wide and not project specific.OR find a way to have...

View Article


Copy from VS code to Powerpoint: how do I get single line spacing?

I copy/paste code from VS Code to PowerPoint. I want to keep the VS Code formatting.However, the line spacing looks very different.Can I define something in settings.json so that when I paste in...

View Article

Image may be NSFW.
Clik here to view.

Error in VS Code: “Command 'Error Lens: Copy Problem Message' resulted in an...

I encountered an issue while using the Error Lens extension in Visual Studio Code. When I try to use the "Copy Problem Message" command, I get the following error popup:Steps to Reproduce:Make sure you...

View Article


How to completely disable VS Code merge editor?

When I run git cherry-pick, VS Code automatically starts the merge editor.For some unknown reason, it alters the content of the conflict files and immediately autosaves those changes to the disk, so...

View Article

Image may be NSFW.
Clik here to view.

VS Code : How to deactivate matching characters in bold?

On VS Code, on command palette or on suggestions for example, the matching characters (in orange in my screenshots) are in bold. Is there a way to make it not bold ?(I guess there should be a setting...

View Article


How to prevent VS code from auto-scrolling to keep active lines centered?

VS code has a feature where if you type something close to the upper or lower bounds of the editors viewport, it auto scrolls vertically to bring the lines you just changed close to the center of the...

View Article

Image may be NSFW.
Clik here to view.

Hide changes to files in my `.vscode` dir from VS Code Source Control /...

When working on public projects from GitHub using VS Code sometimes changes keep showing up in the Source Control panel that I'm not interesting in seeing.But I don't want to change .gitignore because...

View Article

Why aren't sub-settings recognised in VS Code? [duplicate]

Consider the following settings.json file.{"[markdown]": {"editor": {"tabSize": 4,"insertSpaces": true,"detectIndentation": false } },"[json]": {"editor.tabSize": 4,"editor.insertSpaces":...

View Article

Image may be NSFW.
Clik here to view.

Visual Studio Code commits both staged and unstaged changes

Initially, I always got the dialog box asking me this:One day, I accidentally clicked "Always," and since then, all of my changes (both staged and unstaged) go to commit every time I click "Commit." My...

View Article


In VS Code how can I use multiple setting files? [duplicate]

I use VS Code on a few machines without internet connection, so I cannot use VS Code's Settings Sync.I still want to share the settings as far as possible (just via local "USB stick sync"). Most...

View Article


CTRL + I opens Continue instead of Github Copilot

I have both Github Copilot and Continue on my VS Code installed. When I want to do using Github Copilot inline edits with Ctrl + I, it instead chooses Continue. How do I change it so that the Github...

View Article

Disable tab key from triggering Copilot's "commit inline suggestion"

I'm using VS Code to edit a file with lots of tabs.Github Copilot by default binds tab key to the "commit inline suggestion" action.I want to disable that default keybinding so I don't need to first...

View Article

The code . command opens Cursor instead of VS code [closed]

When you install the "Cursor" AI code editor / IDE on Windows, it takes over the code command which many developers often use in the terminal to quickly open VSCode.For example, the issue arises if you...

View Article


Image may be NSFW.
Clik here to view.

How to change the view of a json file in VS-code for editing is BUT without...

Example:The RPG-MAKER MV and MZ data/*.json files are formated as On-Liners.If I format them with VS-Code extensions,then their content will be set into many lines (each with a line-number).And when I...

View Article

Terminal is not opening in visual studio code

The terminal process"C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe" terminated with exit code: -65536.I am geting only this above message can anyone help me..I want help ,please help me .I...

View Article

VS Code: How to automatically remove double spaces on save?

I want VS Code to automatically correct spaces when saving a JSON file (I do not want this rule to be applied to any other types of files, but this is not crucial)Example:// before saving{"someField":...

View Article

Image may be NSFW.
Clik here to view.

How can I customize font color in the error panel of VS Code?

How can I customize or change the font color displayed in the editor, such as those shown by linters or code analysis tools?I want to customize the font color forUndefined name `abc` Ruff(F821)"abc" is...

View Article



VSCode text overlap when editor font size is adjusted (it changes line...

When I change the editor's font size to very small in Settings, the editor is hard to read with lots of overlapping text: image link.Notice that the sticky header has a very tiny font size (which i...

View Article
Browsing latest articles
Browse All 62 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>