You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS: Windows 10 Pro 1709 build 16299.192
VSCode Version: 1.19.3
Solargraph extension: 0.11.1
Possibly relevant extensions:
Ruby extension: rebornix.ruby version 0.16.0
Chef Extension for Visual Studio Code Pendrica.chef version 0.6.4
All extensions:
I've been trying to get your extension to work, and I think I found a bug. Entering Ctrl+Space to show suggestions was showing a Loading... prompt that would never finish. When I opened Process Explorer to see if VSCode had a Ruby process running, there was nothing. Running Solargraph: Restart Solargraph showed a Ruby process running for a split second, then exiting.
To make sure the Gem was working, I ran solargraph server -p 0 in a Powershell prompt (having seen you suggest that as a method for testing in another issue), and pointed my browser to the localhost port. I saw the "Sinatra doesn’t know this ditty.", and corresponding output in the server log in my terminal, so that confirmed there wasn't anything the matter with the Gem.
My username has a space in it, so my profile path does as well ("C:\Users\<Firstname> <Lastname>\..."). In the dev console, when running the Solargraph: Restart Solargraph command, this error is thrown: [Extension Host] ERROR: "solargraph server" was called with arguments ["<Lastname>\\.vscode\\extensions\\castwide.solargraph-0.11.1/views"] Usage: "solargraph server". It seems like the command is getting split by the space in my profile folder name?
Let me know if there's any further context I can provide!
The text was updated successfully, but these errors were encountered:
Thanks for the report. I'll fix it in the solargraph-utils package to ensure that command-line arguments are always escaped. Seeing as how the function accepts arguments as an array, I'm a little surprised it isn't already being done.
Hey there,
OS: Windows 10 Pro 1709 build 16299.192
VSCode Version: 1.19.3
Solargraph extension: 0.11.1
Possibly relevant extensions:
Ruby extension:
rebornix.ruby
version 0.16.0Chef Extension for Visual Studio Code
Pendrica.chef
version 0.6.4All extensions:
I've been trying to get your extension to work, and I think I found a bug. Entering
Ctrl
+Space
to show suggestions was showing aLoading...
prompt that would never finish. When I opened Process Explorer to see if VSCode had a Ruby process running, there was nothing. RunningSolargraph: Restart Solargraph
showed a Ruby process running for a split second, then exiting.To make sure the Gem was working, I ran
solargraph server -p 0
in a Powershell prompt (having seen you suggest that as a method for testing in another issue), and pointed my browser to the localhost port. I saw the "Sinatra doesn’t know this ditty.", and corresponding output in the server log in my terminal, so that confirmed there wasn't anything the matter with the Gem.My username has a space in it, so my profile path does as well (
"C:\Users\<Firstname> <Lastname>\..."
). In the dev console, when running theSolargraph: Restart Solargraph
command, this error is thrown:[Extension Host] ERROR: "solargraph server" was called with arguments ["<Lastname>\\.vscode\\extensions\\castwide.solargraph-0.11.1/views"] Usage: "solargraph server"
. It seems like the command is getting split by the space in my profile folder name?Let me know if there's any further context I can provide!
The text was updated successfully, but these errors were encountered: