Skip to content
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

Hook up user specified options of air.logLevel and air.dependencyLogLevels in VS Code extension #100

Open
DavisVaughan opened this issue Dec 13, 2024 · 0 comments · May be fixed by #121
Open

Comments

@DavisVaughan
Copy link
Collaborator

DavisVaughan commented Dec 13, 2024

See #93 for more

The server side is mostly ready to go, but we need to create client and server representations of "client settings" like

ClientSettings {
  logLevel: Option<LogLevel>,
  dependencyLogLevels: Option<String>
}

Note that every field in ClientSettings should be optional. This allows:

  • Easier backwards compat
  • Partial initialization like in Zed's initialization_options setting

We will pass the settings through InitializeParams.initializationOptions, which is an "any" type field we are allowed to control

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant