Skip to content

Use stable name generation from LSP spec - #368

Merged
Karthik Nadig (karthiknadig) merged 22 commits into
microsoft:mainfrom
karthiknadig:update_lsp
Jul 31, 2024
Merged

Karthik Nadig (karthiknadig) merged 22 commits into
microsoft:mainfrom
karthiknadig:update_lsp

Conversation

@karthiknadig

@karthiknadig Karthik Nadig (karthiknadig) commented Jul 30, 2024 •

Copy link
Copy Markdown
Member

Closes #364

@karthiknadig Karthik Nadig (karthiknadig) added the feature-request Request for new features or functionality label Jul 30, 2024
@karthiknadig Karthik Nadig (karthiknadig) changed the title Update LSP to latest spec Use stable name generation from LSP spec Jul 30, 2024
if (
request.params.kind == "reference"
and f"{class_name}Params" in CUSTOM_REQUEST_PARAMS_ALIASES
and {params_class_name} in CUSTOM_REQUEST_PARAMS_ALIASES

Copy link
Copy Markdown
Member

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

_completion_item_kind_hook,
),
(
Optional[Union[str, lsp_types.RelativePattern]],

Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature-request Request for new features or functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update LSP schema and model

3 participants