-
Notifications
You must be signed in to change notification settings - Fork 37.9k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugtypescriptTypescript support issuesTypescript support issues
Milestone
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: v1.71.0
- OS Version: macOS v12.5.1
NOTE
It's new issue for wrongly closed #159071
Steps to Reproduce:
- Use multi-root workspace with Javascript Node.js & React.js projects
- Try to use IntelliSense and auto-complete
Updated steps
- Download https://github.com/dalisoft/vscode-workspace-bug/archive/refs/heads/master.zip DO NOT CLONE, DOWNLOAD ZIP FILE FOR BETTER REPRODUCE
- Run
./git-init.sh(Linux & macOS) for imitiateGitpowered repo - Open
workspace.code-workspacewith VSCode - Install dependencies for all workspaces
- Try to work with IntelliSense on both
backendandfrontendfolder, you'll see the bug
Settings
Workspace settings
{
"folders": [
{
"path": "api-shared"
},
{
"path": "ui-shared"
},
{
"path": "backend"
},
{
"path": "frontend"
},
],
"settings": {
"git.autofetchPeriod": 60,
"task.allowAutomaticTasks": "on",
"typescript.tsserver.useSyntaxServer": "always",
"typescript.tsserver.experimental.enableProjectDiagnostics": true,
"typescript.tsserver.maxTsServerMemory": 5120,
"typescript.tsserver.log": "verbose",
"cSpell.enabled": false,
"eslint.workingDirectories": [
"./api-shared",
"./ui-shared",
"./backend",
"./frontend",
],
}
}Global settings
Actual
actual.mp4
Excepted
excepted.mp4
How to switch between Actual & Excepted?
Just open backend folder from VSCode
Interesting facts
- On my daily using (6-8 folders with macOS Native tabs) using Workspaces feature reduces my memory usage up-to 4-5 times (from 14GB to ~3GB) while increasing CPU usage by 3-x (so coolers forgets about silent)
- On workspaces (6-8 folders) using launch tasks uses CPU very aggressively so CPU coolers keeps at max almost always
- On workspaces easier to work and opening terminals, so it increases productivity up-to 20% and it's huge if calculate per year
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugtypescriptTypescript support issuesTypescript support issues