You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a simple erl file like the one above, placing the cursor on the print/0 function or the Str variable and renaming it to print_2/0 and Str1 will work fine. However, trying to rename either macro or type will fail.
Expected behavior
Macro definitions in hrl or erl files can also be renamed.
erlang_ls can rename Function / Variable / MacroName / TypeName correctly.
Actual behavior
A clear and concise description of what happens instead.
Context
ELP Version (output of elp version): 1.1.0+build-2024-12-09
Editor used: Emacs
melpa package: lsp-mode: 20250106.2151
The text was updated successfully, but these errors were encountered:
Describe the bug
Cannot rename macros define and type define by calling
lsp-rename
.But renaming variables and functions works fine.
To Reproduce**
For a simple erl file like the one above, placing the cursor on the
print/0
function or theStr
variable and renaming it toprint_2/0
andStr1
will work fine. However, trying to rename either macro or type will fail.Expected behavior
Macro definitions in hrl or erl files can also be renamed.
erlang_ls can rename Function / Variable / MacroName / TypeName correctly.
Actual behavior
A clear and concise description of what happens instead.
Context
elp version
): 1.1.0+build-2024-12-09The text was updated successfully, but these errors were encountered: