Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distribute language server via npm package #158

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from
Draft

Conversation

rvanasa
Copy link
Contributor

@rvanasa rvanasa commented Jan 25, 2023

This PR exposes the new TypeScript-based language server as an npm package (tentatively named mo-ide) which can be used in place of the original binary which powers the dfx _language-service subcommand.

TODO:

  • Bundle the language server as a separate CLI
  • Support different transport options (currently stdio, node-ipc, and socket from vscode-languageserver)
  • Build standalone mo-ide binaries for GitHub releases (using pkg)
  • Test the language server on Vim / Emacs
  • Include patches for Vim / Emacs if necessary
  • Add step-by-step instructions for configuring Vim / Emacs

Please leave a comment if you are interested in using the Motoko language server with Vim or Emacs. Thanks!

@rvanasa
Copy link
Contributor Author

rvanasa commented Feb 10, 2023

@ggreif, would you be interested in helping me test this language server on Emacs at some point (low priority)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant