flutter-code-editor icon indicating copy to clipboard operation
flutter-code-editor copied to clipboard

Compatibility with LSP

Open 5hirish opened this issue 2 years ago • 0 comments

Hi, thanks a bunch for your contributions towards building this amazing package! I am curious to understand its compatibility with Language Server Protocol for dart-sdk. I am currently using the editor in my open-source Flutter IDE with LSP protocol (as opposed to Dart Pad Analyser) to implement various code assist, refactoring, lens, hover, definition, diagnostic, highlighting, folding features.

LSP protocol involves bunch of JRPC calls to these respective methods with text document uri and range. And in response it returns the folding range, hover markdown, code range, completion text.

  • Can the controller allow me to achieve these functionality?
  • Do I have to implement it has an analyser...for this LSP server? If so why?
  • Which of these textDocument features from LSP server can't be used in conjunction with the code-editor?

5hirish avatar May 28 '23 09:05 5hirish