ballerina-platform / module-ballerina-c2c

Ballerina Code2Cloud implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update LS related interfaces and utils to support LS changes

gayalkuruppu opened this issue · comments

Description:
In the language server, code action interfaces are refactored to support more functionality. And the CommonUtil class is also refactored. Need to update c2c to support those changes when updating to the latest LS version.

Describe your solution(s)

  1. Use RangeBasedCodeActionProvider and DiagnosticBasedCodeActionProvider instead of LSCodeActionProvider
  2. CommonUtil is refactored and have to use related Util (PositionUtil, PathUtil, etc)