CodeEditSourceEditor icon indicating copy to clipboard operation
CodeEditSourceEditor copied to clipboard

✨ Code Completion

Open lukepistrol opened this issue 2 years ago • 3 comments

As the user types, offer suggestions to complete their code.

Note: In order to offer code completion, a language server protocol (LSP) implementation is needed (see #40).

Resources

  • https://microsoft.github.io/language-server-protocol/
  • https://nshipster.com/language-server-protocol/
  • https://github.com/ChimeHQ/LanguageClient

Screenshot

image

lukepistrol avatar Jun 17 '22 21:06 lukepistrol

if implement the LSPClient use Swift to call Rust version LSP server protocol, Is it acceptable?

CreatorMetaSky avatar Feb 23 '23 05:02 CreatorMetaSky

@CreatorMetaSky as far as I know https://github.com/ChimeHQ/LanguageClient already offers a way to interact with the LSP servers natively. I haven't looked into it in detail yet though. Since we already use some of the great packages ChimeHQ provides this is probably the way to go.

lukepistrol avatar Feb 23 '23 07:02 lukepistrol

@lukepistrol ok, If time permits, I will try to make a pull request using https://github.com/ChimeHQ/LanguageClient

CreatorMetaSky avatar Feb 23 '23 08:02 CreatorMetaSky