Commit bf8d8c5
authored
Add multi-root workspace configuration file (#2505)
Currently, to make LSP servers like Ruby LSP properly work for gem, like
`sentry-ruby`, we need to open `/sentry-ruby` separately. When working on
tasks across multiple gems, like `sentry-ruby` and `sentry-rails`, it requires
2 separate VS Code windows while each can not interact with each other.
For example, when using `Debug` code lens provided by Ruby LSP in `sentry-rails`'s
tests, we can put breakpoints inside `sentry-rails`'s codebase, but not in `sentry-ruby`.
But if we open the project through this new workspace configuration file,
the multi-root workspace feature in VS Code will allow us to
- Access code across multiple gems
- Debug code with VS Code across multiple gems
- Run language servers independently for each gem1 parent ad535cc commit bf8d8c5
2 files changed
+35
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
0 commit comments