This is an automated email from the ASF dual-hosted git repository.

yishayw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-asjs.wiki.git


The following commit(s) were added to refs/heads/master by this push:
     new d2985a3  Created Using as3mxml Language Server With Vim (markdown)
d2985a3 is described below

commit d2985a3d6dd8b83f453603643a59c84d2409ef19
Author: yishayw <[email protected]>
AuthorDate: Thu Jan 2 10:40:44 2020 +0200

    Created Using as3mxml Language Server With Vim (markdown)
---
 Using-as3mxml-Language-Server-With-Vim.md | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/Using-as3mxml-Language-Server-With-Vim.md 
b/Using-as3mxml-Language-Server-With-Vim.md
new file mode 100644
index 0000000..02ce734
--- /dev/null
+++ b/Using-as3mxml-Language-Server-With-Vim.md
@@ -0,0 +1,17 @@
+Here's how I got it to work (windows):
+
+1) Clone [vscode-as3mxml](https://github.com/BowlerHatLLC/vscode-as3mxml)
+2) [Build](https://github.com/BowlerHatLLC/vscode-as3mxml)
+3) Install [Language Client](https://github.com/autozimu/LanguageClient-neovim)
+4) Add [this](https://paste.apache.org/wwv88) 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).
+
+5) open Vim
+6) cd to project location (where asconfig.json exists)
+7) Open an a3/mxml file and wait for language server to load
+
+It should work now. With the given [vimrc](https://paste.apache.org/wwv88) 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](https://bluz71.github.io/2019/10/16/lsp-in-vim-with-the-lsc-plugin.html)
 other language clients for Vim, and install the [binary 
version](https://marketplace.visualstudio.com/items?itemName=bowlerhatllc.vscode-nextgenas)
 of vscode-as3mxml rather than building from source, but I haven't tried that.
+

Reply via email to