Search Terms
Suggestion
Follow up on microsoft/vscode#58907
Allow renames to be triggered on keywords such as public, private, class, const, readonly, and function to rename the symbol itself
class Foo {
public bar() { }
}
function func() { }
const x = 1;
Use the triggerSpan property on the renameResponse to actually trigger the rename on the symbol.
We currently return "You cannot rename this element." for these cases
Search Terms
Suggestion
Follow up on microsoft/vscode#58907
Allow renames to be triggered on keywords such as
public,private,class,const,readonly, andfunctionto rename the symbol itselfUse the
triggerSpanproperty on therenameResponseto actually trigger the rename on the symbol.We currently return
"You cannot rename this element."for these cases