pragmagic / vscode-nim

An extension for VS Code which provides support for the Nim language.
Other
237 stars 37 forks source link

Auto completion #49

Closed ghost closed 7 years ago

ghost commented 7 years ago

For some strange reason, autocompletion simply doesn't work for me. My settings.json:

{
    "files.autoSave": "d",
    "files.autoSaveDelay": 1, 
    "window.zoomLevel": -1,
    "nim.buildOnSave": false,
    "editor.quickSuggestions": {
        "other": true,
        "comments": false,
        "strings": false
    },
    "editor.tabSize": 2,
    "nim.buildCommand": "c -d:ssl --verbosity:2",
    "[cpp]": {
        "editor.quickSuggestions": true
    },
    "[c]": {
        "editor.quickSuggestions": true
    },
    "workbench.colorTheme": "Default Light+"
}

There's only VSCode builtin suggestions: image

I have latest nim devel and latest nimsuggest:

$ nimsuggest --version
Nim Compiler Version 0.16.1 (2017-04-24) [Linux: amd64]
Copyright (c) 2006-2017 by Andreas Rumpf

git hash: c6a8bd264e77da69fc95de17a7febe5a32955a40
active boot switches: -d:release --gc:markAndSweep

$ nim --version
Nim Compiler Version 0.16.1 (2017-04-22) [Linux: amd64]
Copyright (c) 2006-2017 by Andreas Rumpf

git hash: 34e253bf34b7e407792cebb9be7872c9daf572f6
active boot switches: -d:release