-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Improve vscode api get configuration #2129
base: main
Are you sure you want to change the base?
Conversation
not sure I'm in love with having something on |
workspace: { | ||
getConfiguration, | ||
watchConfiguration, | ||
onDidChangeConfiguration, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replace with top-level usingConfiguration
, similar to https://github.com/cursorless-dev/cursorless/blob/pokey/keyboard-improvements/packages/cursorless-vscode/src/usingSetting.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Unfortunately now we lost all improvements in mocking settings that I had originally introduced.
I have on purpose not migrated all references to
vscode.workspace.getConfiguration
because we might need to have a discussion if this is a preferable implementation first.Checklist