-
Notifications
You must be signed in to change notification settings - Fork 118
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
Split "clangd.arguments" setting into multiple options #50
Comments
I vote for still keep clangd.arguments for options not provided by other means. |
I started looking on this and a small inconsistency appeared: for simplicity I assumed that the explicit single options should have precedence over the manually specified settings if they are present both ways. This way if those options are present in the However this might be problematic when updating the extension to a new version with this feature: if a user had their own options already defined in the Personally I see three solutions:
Also what about older clangd versions that may not like certain options? Should we assume that a recent version should be used? |
An alternative I did not consider is giving the |
I have to admit that it is a very future-proof design, no matter what argument may be introduced in clangd in the future, we have a way to pass it from clangd extension. However, at the same time this approach isn't the most user friendly, because user has no hints when filling array of options via UI or directly in JSON file.
The text was updated successfully, but these errors were encountered: