• Top
  • New

Ask HN: Is there a library for creating cross-editor plugins?

by snrji on 9/21/2019, 2:11:45 PM with 2 comments
Hi there, assume that you have an idea for a plugin for text editors (or IDEs), but you don't want to mess up with the specifics of Sublime's API or Atom's API. Is there any higher level API that would help me abstract away from Vim's, Emacs' or IntelliJ's APIs?

I'm not looking for specially fancy features, so it should be possible. However, I don't know if I'm looking the right keywords.

  • by siliconshinobi on 9/22/2019, 6:41:11 PM

    If the plugin you want to make is around language support in an editor (i.e. autocomplete, goto definition, or documentation), the Language Server Protocol might work.

    https://microsoft.github.io/language-server-protocol/

    https://microsoft.github.io/language-server-protocol/impleme...