-
Notifications
You must be signed in to change notification settings - Fork 116
Using as3mxml Language Server With Vim
yishayw edited this page Jan 2, 2020
·
1 revision
Here's how I got it to work (windows):
- Clone vscode-as3mxml
- Build
- Install Language Client
- Add this to vimrc.
Make sure to replace C:\dev\flexjs\royale-asjs\ with your ROYALE_HOME, and C:\dev\vscode-as3mxml\ with where you cloned vscode-as3mxm in step (1).
- open Vim
- cd to project location (where asconfig.json exists)
- Open an a3/mxml file and wait for language server to load
It should work now. With the given vimrc you can do K for hover info, gd for go to declaration, f2 to rename, f12 to find all references, and f11 to show document outline.
This reflects my personal choices. You can explore other language clients for Vim, and install the binary version of vscode-as3mxml rather than building from source, but I haven't tried that.
Apache®, Apache Royale, Royale™, and the Royale logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.