pragmagic / vscode-nim

An extension for VS Code which provides support for the Nim language.
Other
238 stars 37 forks source link

Rename does'nt rename in type declaration #192

Open gavr123456789 opened 3 years ago

gavr123456789 commented 3 years ago

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