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

LSP(Language Server Protocol) support #161

Open
hkoba opened this issue Mar 20, 2019 · 0 comments
Open

LSP(Language Server Protocol) support #161

hkoba opened this issue Mar 20, 2019 · 0 comments
Assignees

Comments

@hkoba
Copy link
Owner

hkoba commented Mar 20, 2019

T/O

@hkoba hkoba self-assigned this Mar 20, 2019
hkoba added a commit that referenced this issue Mar 20, 2019
```shell
Lite/Inspector.pm ctags_symbols --ignore_symlink --emit_relative_path
```
hkoba added a commit that referenced this issue Mar 21, 2019
hkoba added a commit that referenced this issue Mar 21, 2019
hkoba added a commit that referenced this issue Mar 21, 2019
hkoba added a commit that referenced this issue Mar 21, 2019
hkoba added a commit that referenced this issue Mar 21, 2019
hkoba added a commit that referenced this issue Mar 22, 2019
hkoba added a commit that referenced this issue Mar 23, 2019
hkoba added a commit that referenced this issue Mar 23, 2019
hkoba added a commit that referenced this issue Mar 23, 2019
hkoba added a commit that referenced this issue Mar 23, 2019
hkoba added a commit that referenced this issue Mar 23, 2019
```zsh
./Lite/LanguageServer/SpecParser.pm parse_statement_list "$(
   ./Lite/LanguageServer/SpecParser.pm tokenize_statement_list "$(
       Lite/LanguageServer/SpecParser.pm  extract_statement_list "$(
          Lite/LanguageServer/SpecParser.pm extract_codeblock typescript ./specification.md)")")"
```
hkoba added a commit that referenced this issue Mar 23, 2019
hkoba added a commit that referenced this issue Mar 23, 2019
hkoba added a commit that referenced this issue Mar 23, 2019
```shell
% ./Lite/LanguageServer/Spec2Types.pm make_typespec_from "$(
     ./Lite/LanguageServer/Spec2Types.pm --flatten gather_interfaces "${(f@)$(
         ./Lite/LanguageServer/SpecParser.pm  --flatten parse_statement_list "$(
             ./Lite/LanguageServer/SpecParser.pm cli_array "${(f@)$(
                 ./Lite/LanguageServer/SpecParser.pm --flatten tokenize_statement_list "$(
                       Lite/LanguageServer/SpecParser.pm  extract_statement_list "$(
                          Lite/LanguageServer/SpecParser.pm extract_codeblock typescript ./Lite/LanguageServer/specification.md)")")}")")}")" RequestMessage
["Message",[["fields","jsonrpc"],["subtypes","RequestMessage",[["fields",["id","doc","The request id."],["method","doc","The method to be invoked."],["params","doc","The method's params."]]]]]]
```
hkoba added a commit that referenced this issue Mar 23, 2019
```shell
% time ./Lite/LanguageServer/SpecParser.pm parse_files ./Lite/LanguageServer/specification.md >/dev/null
./Lite/LanguageServer/SpecParser.pm parse_files  > /dev/null  0.18s user 0.06s system 101% cpu 0.236 total
```
hkoba added a commit that referenced this issue Mar 23, 2019
hkoba added a commit that referenced this issue Mar 23, 2019
hkoba added a commit that referenced this issue Mar 23, 2019
hkoba added a commit that referenced this issue Jun 23, 2019
hkoba added a commit that referenced this issue Jun 23, 2019
hkoba added a commit that referenced this issue Jul 17, 2019
hkoba added a commit that referenced this issue Jul 17, 2019
- BUG: This code returns sinagures in wrong syntax for actions and entities
hkoba added a commit that referenced this issue Aug 12, 2019
hkoba added a commit that referenced this issue Aug 12, 2019
hkoba added a commit that referenced this issue Aug 12, 2019
* textDocument/hover for entity variables also worked.

TODO:

* textDocument/hover for entity functions
* textDocument/definition for entity variables
hkoba added a commit that referenced this issue Aug 12, 2019
hkoba added a commit that referenced this issue Aug 28, 2019
hkoba added a commit that referenced this issue Sep 4, 2019
hkoba added a commit that referenced this issue Sep 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant