vscode-ruby version: 0.20.0 ruby intellisense with rubyLocate using in workspace should detected locate by current project not vscode.workspace.rootPath.
rubyLocate using first project path as rootPath
This and the next section should include screenshots, code samples, console output, etc. The more information we have to reproduce the better!
function registerIntellisenseProvider(ctx) {
...
let locate = new locate_1.Locate(vscode.workspace.rootPath, settings);
console.warn(`vscode.workspace.rootPath: ${vscode.workspace.rootPath}`)
...
}
got
vscode.workspace.rootPath: /Users/mymac/GoPath/src/github.com/fagongzi/gateway
my workspace config:
{
"folders": [
{
"path": "/Users/mymac/GoPath/src/github.com/fagongzi/gateway"
},
{
"path": "reocar_store"
},
],
"settings": {
}
}
gateway is golang project and reocar_store is an ruby on rails project.
when move reocar_store to first project of workspace it work perfect.
This extension does not currently support multi-root workspaces. Support for that is in progress but there's no ETA
@wingrunr21 We can do a fix around creating a provider or class to deal with this many roots, sending all events of modified files to that new class, what you think?
Multi-root support was merged in #405. However, I will not be moving rubyLocate support to the language server as I will be utilizing the existing AST infrastructure there to facilitate Intellisense features
Any updates? Or what can we help with this problem?
This issue has not had activity for 30 days. It will be automatically closed in 7 days.
Most helpful comment
This extension does not currently support multi-root workspaces. Support for that is in progress but there's no ETA