I'm writing an extension for Nova App, and it's easier to "prequalify" a rename operation. For example, if the user has selected something that isn't renamable (like a keyword), having a prepareRename fail lets me give immediate feedback to the user that hte symbol they are trying to rename isn't actually a symbol. It also lets me identify the specific symbol if they have not highlighted the entire symbol or perhaps are renaming a symbol that is part of the declaration (for example int symbol = 5;) while they have their cursor in the text for 'int' above.)
Expected behavior
prepareRename is supported.
System information
ccls version (git describe --tags --long):
❯ ccls --version
Homebrew ccls version
clang version 15.0.3
clang version:
OS: macOS Ventura
Editor: Nova (extension in development -- I'm the author of the extension)
Observed behavior
I'm writing an extension for Nova App, and it's easier to "prequalify" a rename operation. For example, if the user has selected something that isn't renamable (like a keyword), having a prepareRename fail lets me give immediate feedback to the user that hte symbol they are trying to rename isn't actually a symbol. It also lets me identify the specific symbol if they have not highlighted the entire symbol or perhaps are renaming a symbol that is part of the declaration (for example
int symbol = 5;
) while they have their cursor in the text for 'int' above.)Expected behavior
prepareRename is supported.
System information
ccls version (
clang version 15.0.3
git describe --tags --long
): ❯ ccls --version Homebrew ccls versionclang version:
OS: macOS Ventura
Editor: Nova (extension in development -- I'm the author of the extension)
Language client (and version):