-
Notifications
You must be signed in to change notification settings - Fork 22
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
Use stable name generation from LSP spec #368
Conversation
if request.params: | ||
if ( | ||
request.params.kind == "reference" | ||
and f"{class_name}Params" in CUSTOM_REQUEST_PARAMS_ALIASES | ||
and {params_class_name} in CUSTOM_REQUEST_PARAMS_ALIASES |
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.
is the curly brackets what you want here? All the other ones for this line removed those, just wanted to check
@@ -1115,6 +1116,22 @@ def _completion_item_kind_hook( | |||
Union[lsp_types.CompletionItemKind, int], | |||
_completion_item_kind_hook, | |||
), | |||
( | |||
Optional[Union[str, lsp_types.RelativePattern]], |
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.
Are you planning on switching to using the |
operator? Or is there a preference for Union here? Not sure the python version for this repo either
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.
We can make the change after this commit. As it will be a huge change.
Closes #364