-
Notifications
You must be signed in to change notification settings - Fork 62
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
requireConfig setting #96
Comments
@dliuzzi I read through the vs-code discussions on the topic. And I'm of the opinion (at least for now) that such a setting, adding a That said, I'm not ruling it out as future enhancement. |
Just ran into this exact issue. @jonlabelle are you just opposed to the naming? Or to the feature itself? I'm unsure how to ever make use of the Would you reconsider? |
Further, this feature has been requested in 4 different issues in this plugin already, so there is a clear want for the functionality from users:
And the equivalent VS Code issue even further shows that this helps a lot of people. |
Okay, I'm sold. Will work on introducing it this weekend. Though the setting definitely needs a more meaningful name. I was thinking...
|
@jonlabelle thank you!! I much prefer that name, it's super clear. |
Question... can I assume a valid path to Prettier exists in the current environment, or specified in JsPretter Settings? Just trying to avoid introducing a considerable amount of bloat trying to resolve Prettier config locations (and changes/additions to the config spec) - and simply run the native config resolve command (which is the current behavior of the plug-in). |
@jonlabelle honestly I'm not sure. Seems like it would be nice and simple if so though. |
there is a typo in the setting name ( also, it seems to ignore my prettier settings now. for example I have |
Typo fixed. |
This thread 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 have auto format on save turned on in both Sublime Text and VSCode. This works great for new files (i.e. files that already comply to Prettier's style) but older files are a pain: saving those results in literally hundreds of changes that I have to undo. With prettier-vscode, setting
"prettier.requireConfig": true
fixes this problem rather neatly (relevant PR).Unless I'm missing something, a similar option doesn't seem to exist in SublimeJsPrettier. So what I end up doing is (1) disabling SublimeJsPrettier, (2) saving, and (3) re-enabling SublimeJsPrettier. This of course gets old really quick.
Are there any plans to bring this setting to SublimeJsPrettier? Thanks!
The text was updated successfully, but these errors were encountered: