This repository was archived by the owner on Aug 31, 2023. It is now read-only.
clarify configuration of vs code extension defaults (📜 rome.json) #4557
probfusion
started this conversation in
Suggestions
Replies: 1 comment
-
|
You're right, our documentation lacks this part of the functionality, and we should update it. There are few places that need to be updated. Let me know if you want to help update the documentation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
i think the documentation should clarify how to set defaults for the vs code extension. it took me a while to figure out.
i wanted single quotes for js, and it worked fine within my project directories with a
rome.json. but when i wanted to do one-off edits of js files i couldn't figure out how to make rome use single quotes, even with requireConfiguration asfalse.ℹ️ after some experimentation i found out i could put a
rome.jsonin any folder upstream of my workspace folder, and it would be read properly. in addition, a workspacerome.jsonwould correctly override the upstream one. ℹ️i'm on windows so i just plopped a
rome.jsoninC:\and now i have single quotes by default for any workspace in that drive. one-off js edits will still be formatted the way i like.Beta Was this translation helpful? Give feedback.
All reactions