Questions tagged [vscode-formatter]
Use this tag to ask about code formatting problems in vscode.
vscode-formatter
5
questions
-1
votes
0
answers
12
views
How to properly set user configuration for vscdoe?
I'm trying to setup vscode for python development but some configurations in the user config file are completely ignored.
Here's my config:
{
// General editor settings
"editor.formatOnSave&...
0
votes
0
answers
43
views
VS Code : force horizontal alignment of parentheses, braces and square brackets
Is there any way to auto format code (in VS Code) in a way that forces horizontal alignment of parentheses, braces and square brackets?
For example:
let foo = {
a: 'a',
b: 'b',
c: 'c'
};
...
0
votes
0
answers
15
views
Enforcing Consistent Code Formatting for HTML and Typescript (VS Code & WebStorm)
I'm in a team working on Angular projects and using Prettier for code formatting (HTML, TypeScript, SCSS). We're encountering merge conflicts due to inconsistent Prettier formatting across team ...
-1
votes
1
answer
37
views
How to adjust the formatter in VSCode to avoid unnecessary line breaks? [duplicate]
I think 'Visual Studio Code' is applying too strict formatting rules that sometimes lines are moved even if there is enough space on the right side.
For starters, if you look at 'ProfileImage', you ...
2
votes
1
answer
2k
views
VSCode - autocomplete for loops
I used to write C code with Visual Studio, and whenever I wrote "for" and then pressed TAB, it was automatically completed to an entire for loop, i.e.
for (size_t i = 0; i < length; i++)
{...