Open tgreiser opened 11 months ago
I've noticed VSCode has given deprecation warnings. Haven't had time to look into what's required for the migration.
Though, didn't realize it won't install any more. I thought you could still install and use deprecated extensions.
Have you tried using the new extension?
I tried it, but ruby-lsp has a different syntax for the launch.json configurations and I couldn't figure out how to pass the remoteHost, remotePort, etc.
Sample launch.json
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "ruby_lsp",
"name": "Debug",
"request": "launch",
"program": "ruby ${file}",
},
{
"type": "ruby_lsp",
"request": "launch",
"name": "Debug test file",
"program": "ruby -Itest ${relativeFile}"
},
{
"type": "ruby_lsp",
"request": "attach",
"name": "Attach to existing server",
}
]
}
I was able to install the old extension by manually copying my extensions folder from a backup, but not via the VS Code UI.
I'm encountering a similar problem. Regrettably, I no longer have access to the previous extension. I've recently begun experimenting with Ruby and delving into SketchUp extension development. Could someone kindly share the updated configuration for launch.json that is compatible with the Ruby-lsp extension?
The "Ruby" VS Code extension by Peng Lv is now deprecated and will no longer install. It is referenced here:
https://github.com/SketchUp/sketchup-ruby-api-tutorials/wiki/VSCode-Debugger-Setup#preparing-the-ide
The new recommended extension is Ruby LSP, but it is not compatible with the tutorial launch.json.