vscode-nim icon indicating copy to clipboard operation
vscode-nim copied to clipboard

Rename does'nt rename in type declaration

Open gavr123456789 opened this issue 4 years ago • 0 comments

Same as #190 but for type

type
  Directions = enum east, west, north, south
  SomeObj = object
    bar: int
    
proc foo(str: string): Directions = 
  west # rename this doesnt rename it on second line
  
proc sas() =
  var someObj = SomeObj()
  someObj.bar = 25  # rename bar here do nothing

gavr123456789 avatar May 10 '21 15:05 gavr123456789