Many thanks for the updates!

However, there are a couple items of concern.

First, when I pulled the latest `vscode-nim` code from github, it refused to 
build (nim v2.0.8):
    
    
    [~/xxxx/vscode-nim]$ nimble vsix
      Verifying dependencies for nimvscode@1.0.0
      Executing task vsix in ~/xxxx/vscode-nim/nimvscode.nimble
    (node:49474) [DEP0040] DeprecationWarning: The `punycode` module is 
deprecated. Please use a userland alternative instead.
    (Use `node --trace-deprecation ...` to show where the warning was created)
    Executing prepublish script 'npm run vscode:prepublish'...
    
    > nimlang@1.0.0 vscode:prepublish
    > nimble release
      
      Verifying dependencies for nimvscode@1.0.0
      Executing task release in ~/xxxx/vscode-nim/nimvscode.nimble
    <<<< Snip - assorted Hint and Warning messages >>>>
    .......
    ~/xxxx/vscode-nim/src/nimLsp.nim(475, 5) Error: expression expected, but 
found 'keyword return'
    stack trace: (most recent call last)
    /tmp/nimblecache-1746932643/nimscriptapi_4059799742.nim(212, 16)
    ~/xxxx/vscode-nim/nimvscode.nimble(27, 3) releaseTask
    /opt/nim-2.0.8/lib/system/nimscript.nim(265, 7) exec
    /opt/nim-2.0.8/lib/system/nimscript.nim(265, 7) Error: unhandled exception: 
FAILED: nim js -d:release -d:danger --outdir:out --checks:off --sourceMap 
src/nimvscode.nim [OSError]
           Tip: 1 messages have been suppressed, use --verbose to show them.
    nimscriptwrapper.nim(161) execScript
        
        Error:  Exception raised during nimble script execution
     ERROR  npm failed with exit code 1
    stack trace: (most recent call last)
    /tmp/nimblecache-1746932643/nimscriptapi_4059799742.nim(212, 16)
    ~/xxxx/vscode-nim/nimvscode.nimble(34, 3) vsixTask
    /opt/nim-2.0.8/lib/system/nimscript.nim(265, 7) exec
    /opt/nim-2.0.8/lib/system/nimscript.nim(265, 7) Error: unhandled exception: 
FAILED: npm exec -c 'vsce package --out out/nimvscode-1.0.0.vsix' [OSError]
           Tip: 2 messages have been suppressed, use --verbose to show them.
    nimscriptwrapper.nim(161) execScript
        
        Error:  Exception raised during nimble script execution
    
    
    Run

I thought perhaps the problem might be that the build requires the latest 
version of `nimble`. This brings me to the second problem - the latest nimble 
release binaries do not include a 64-bit version for Linux.

Am I correct in assuming that I can just download the file 
`nimvscode-1.0.0.vsix` binary from the github `vscode-nim` release page and 
directly sideload it into `vscode`, without bothering with a build? 

Reply via email to