We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scoop has requirements to JSON indent type (spaces) and size (4) which could easily be enforced inside .vscode\settings.json and/or with EditorConfig.
.vscode\settings.json
Example:
{ ... "[json]": { "editor.autoIndent": "full", "editor.defaultFormatter": "vscode.json-language-features", "editor.detectIndentation": false, "editor.formatOnSave": true, "editor.indentSize": 4 }, ... }
.editorconfig
root = true [*.json] indent_style = space indent_size = 4
Add config to overwrite JSON indent type (spaces) and size (4) to all Scoop repositories.
None yet.
The text was updated successfully, but these errors were encountered:
There's an .editorconfig file w/ indent size 4 already.
Sorry, something went wrong.
Yes, wow, how did I not see that. Maybe because it does not actually override my own VSCode preferences for JSON.
Will look more into how EditorConfig works, or doesn't.
Edit: For future reference I was hit by the following issues:
indent_size
tab_size
My fix was to add in VSCode settings.json: editor.indentSize = "tabSize".
settings.json
editor.indentSize = "tabSize"
No branches or pull requests
Feature Request
Is your feature request related to a problem? Please describe.
Scoop has requirements to JSON indent type (spaces) and size (4) which could easily be enforced inside
.vscode\settings.json
and/or with EditorConfig.VSCode settings
Example:
EditorConfig
.editorconfig
file:Describe the solution you'd like
Add config to overwrite JSON indent type (spaces) and size (4) to all Scoop repositories.
Describe alternatives you've considered
None yet.
The text was updated successfully, but these errors were encountered: