imc-trading / svlangserver

MIT License
100 stars 13 forks source link

tab autocomplete only work for systemtask and [A] around. #11

Closed raytroop closed 3 years ago

raytroop commented 3 years ago

VIM - Vi IMproved 8.1 (2018 May 18, compiled Sep 20 2021 11:42:42) Included patches: 1-2269
Modified by team+vim@tracker.debian.org
Compiled by team+vim@tracker.debian.org

node version: node-v14.18.0

coc.nvim version: release branch svlangserver:

npm install -g @imc-trading/svlangserver

.vim/coc-settings.json :

{
    "languageserver": {
        "svlangserver": {
            "command": "/home/software/node-v14.18.0-linux-x64/bin/svlangserver",
            "filetypes": ["systemverilog"],
            "settings": {
                "systemverilog.includeIndexing": ["**/*.{sv,svh}"],
                "systemverilog.excludeIndexing": [],
                "systemverilog.defines" : [],
                "systemverilog.launchConfiguration": "/TOOL/PATH/verilator -sv -Wall --lint-only",
                "systemverilog.formatCommand": "/home/software/verible-v0.0-1547-g5784ecba/bin/verible-verilog-format",
                                "systemverilog.disableCompletionProvider": false,
                                "systemverilog.disableHoverProvider": false,
                                "systemverilog.disableSignatureHelpProvider": true,
                                "systemverilog.disableLinting": true

            }
        }
    }
}

image image

svlangserver can handle systemtask autocomplete but dont work for keyword(module, endmodule, task, endtask...) Thanks.

raytroop commented 3 years ago

pull the latest master branch and npm install. finally, work like a charm.

git clone https://github.com/raytroop/svlangserver.git
cd svlangserver/
npm pack
npm install -g imc-trading-svlangserver-0.3.4.tgz

image