-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
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
Manual setup rather than modifying settings on installation #76
Comments
Thanks, I'll think about it. Well, currently I think making a popup prompt will be more annoying for most users than modifying settings quietly. And all these 7 items are easy to reset manually. // settings.json (User/Global config, not Workspace config)
// To open this file in VSCode, press F1, type 'settings json' and choose 'Preferences: Open Settings (JSON)'
{
// ...
"editor.inlayHints.enabled": false,
"editor.guides.indentation": false, // new API for indent guides. The old one is: "editor.renderIndentGuides": false,
"editor.guides.bracketPairs": false, // advanced indent guides (But only for brackets) (This does not turn off editor.bracketPairColorization)
"editor.wordWrap": "off",
"diffEditor.wordWrap": "off",
"workbench.colorCustomizations": {
// ...
"editor.lineHighlightBorder": "#9fced11f",
"editor.lineHighlightBackground": "#1073cf2d"
}
} But of course I'll try to think about the cases like yours. |
Thank you |
I really like this extention, it does improve the readability of my code. Although in my situation, every time VsCode starts up, the mentioned settings are reset. However, I prefer using Maybe this has something to do with syncing of extensions and settings. I don't know. But I do think it's not a good pattern to change user settings without confirmation. I would be really grateful if this automatic behaviour would stop. Instead there could be a button in the welcome page (I do not see this page every startup but the setting is reset regardless) that sets these settings. It would not really complicate the installation process in my opinion because the user is already focussed on the plugin at that time, but it would remove any chance of this happening again unintended. A yes/no option would be fine as well. Many softwares have a simple config wizard after installation. I'm actually surprised vscode even allows extensions to automatically change user settings. Thanks again for this exstension and I hope you take these points into consideration. |
Hello, I'll try to make prompt dialogs during installation, but your case seems very strange. Blockman changes VS Code settings only at install-time, not at every startup. Maybe you do some kind of reinstallation on each startup? Edit: |
@ThaJay, Ok, I think this solution will fix your issue that Blockman changes indent guides settings on every startup. Probably in the past you have enabled automatic hiding of indent guides, so let's try to disable it: Press F1, type this command will show up: Run it. And it should show the message:
|
Initially I thought it was a kind of reinstallation but probably just because the old settings sync extention could do something like that. Thinking about it now, it's not very likely that the native settings sync vscode has now reinstalls things unnecessarily. Thank you for looking into this so quicly! Your advice works like a charm, now my indent guide stays after restarting vscode. |
Thanks for the nice extension 👍.
However, it might be better to allow manual setup (e.g. a command
use recommended settings
and a pop-up for confirmation when installed) rather than modifying settings upon installation.I have device A and both its extensions and settings are synced (including a custom
editor.lineHighlightBackground
). The problem is that when I open VS Code on device B, the custom color is overwritten (and then synced among all my devices). And I can see that every time I open VS Code on a device that hasn't installed Blockman, the setting will be overwritten again...The text was updated successfully, but these errors were encountered: