-
-
Notifications
You must be signed in to change notification settings - Fork 455
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
Reloading / Restarting Window is the only way to apply config file #584
Comments
Is this actually an issue? I mean, how many times do you change your settings on a daily basis? |
Well the rationale is that if Workspace Settings apply without reloading the window manually, you would expect the prettier configs to do the same. It's 1 extra factor someone setting up the config will have to test for when something doesn't work. Also it may not be a huge factor after you have already determined all your settings, but during the process of testing those rules, it becomes very cumbersome to reload every time. |
When we detect a change in a config file we empty prettier's config cache. |
I'm seeing this same issue on a fresh install of VSCode (Version 1.30.1) on macOS Mojave (10.14.1). When I edit a setting in Also, I see the detecting a change code includes all prettier config formats: const PRETTIER_CONFIG_FILES = [
'.prettierrc',
'.prettierrc.json',
'.prettierrc.yaml',
'.prettierrc.yml',
'.prettierrc.js',
'package.json',
'prettier.config.js',
]; However, the plugin doesn't seem to actually support all of those file formats. For instance, I can't get |
Yes, |
This issue has been automatically closed because there has been no response to our request for more information from the original author. Currently, there is not enough information provided for us to take action. Please reply and reopen this issue if you need additional assistance. |
I'd like to re-open this issue. VSCode 1.44.0 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I'm using a .prettierrc.yml config at project root to override my Workspace Settings. But whenever I edit the setting, the only way for VSCode to pick up those new settings is to reload the project.
VSCode: 1.27.2
Prettier: 1.6.1
The text was updated successfully, but these errors were encountered: