BBx-Kitchen / bbj-language-server

BBj Language Server
MIT License
6 stars 6 forks source link

Refactoring - Quick rename does not work #77

Open hyyan opened 1 year ago

hyyan commented 1 year ago

In Vscode , you can rename symbols (methods , properties , classes , ...) by selecting the symbol and pressing F2. Currently, this feature works wrongly in most places and does not work at all in other places.

For instance:

  1. Does not work with class methods
  2. Works wrongly with class fields
class private Test

  field public BBjControl DrawerNew!

  method public void setDrawer(BBjControl drawer!)
    #Drawer! = drawer!
    #DrawerNew!()
  methodend

  method public void nullify()
    #DrawerNew!(null())
  methodend

classend

https://github.com/BBx-Kitchen/bbj-language-server/assets/4313420/8409ad43-de7a-49db-ae11-4b7dde87ae77