Skip to content

v1.12.0 seemingly breaks functionality for multiple files (at least with Zed editor) #345

@derek-v-s

Description

@derek-v-s

I manually installed nimlangserver v1.12.0, and while it no longer spawns redundant instances if I try to interact with files before nimsuggest sets up, and no longer spawns an instance of nimsuggest for each file, I don't seem to have any functionality in any file other than the projectFile (the one associated with the nimsuggest instance).

I'm not seeing anything different in Zed editor's LSP logs. From hovering over the same token in a file that is not the projectFile:

v1.12.0 (no popup)

DBG [Processsing Message]                      request="\"textDocument/hover\""
DBG processQueue                               size=1
DBG Started...                                 benchmark="highlight \"/home/derek-v-s/1a/GitHub/figuro/src/figuro/widgets/input.nim\":344:8" command="highlight \"/home/derek-v-s/1a/GitHub/figuro/src/figuro/widgets/input.nim\":344:8"
DBG timeoutCallback is set                     timeout=120000 command="highlight \"/home/derek-v-s/1a/GitHub/figuro/src/figuro/widgets/input.nim\":344:8"
DBG Sending result(s)                          length=0 command="highlight \"/home/derek-v-s/1a/GitHub/figuro/src/figuro/widgets/input.nim\":344:8"
DBG CPU Time                                   benchmark="highlight \"/home/derek-v-s/1a/GitHub/figuro/src/figuro/widgets/input.nim\":344:8" time=0.013 command="highlight \"/home/derek-v-s/1a/GitHub/figuro/src/figuro/widgets/input.nim\":344:8"

v.1.10.2 (popup)

DBG [Processsing Message]                      request="\"textDocument/hover\""
DBG processQueue                               size=1
DBG Started...                                 benchmark="highlight \"/home/derek-v-s/1a/GitHub/figuro/src/figuro/widgets/input.nim\":344:7" command="highlight \"/home/derek-v-s/1a/GitHub/figuro/src/figuro/widgets/input.nim\":344:7"
DBG timeoutCallback is set                     timeout=120000 command="highlight \"/home/derek-v-s/1a/GitHub/figuro/src/figuro/widgets/input.nim\":344:7"
DBG Sending result(s)                          length=4 command="highlight \"/home/derek-v-s/1a/GitHub/figuro/src/figuro/widgets/input.nim\":344:7"
DBG CPU Time                                   benchmark="highlight \"/home/derek-v-s/1a/GitHub/figuro/src/figuro/widgets/input.nim\":344:7" time=0.139 command="highlight \"/home/derek-v-s/1a/GitHub/figuro/src/figuro/widgets/input.nim\":344:7"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions