Rename Symbol is not available in some cases, e.g. for locals, so trying to use Rename Symbol will result in a failure. We can prevent the option for appearing using `textDocument/prepareRename`.
Activity
ro-gun commentedon Nov 20, 2024
@andyw8 I have some questions
Do we need to check if
prepareSupportis provided by the client before enablingprepare_provider, or should we enableprepare_providerby default?The renaming option will only be provided if the selected node is a constant type node, correct?