VSCode hangs with 100% CPU in Code Helper process when viewing specific file
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- csharp, typescript
- Domain
- tooling
Research direction
Reproduce the hang by downloading MiniParser.cs, opening its directory with VS Code, and opening the file. Start by examining the C# syntax grammar used for colorization; done means opening MiniParser.cs no longer makes the Code Helper process consume 100% CPU or causes the window to become unresponsive.
Written by the indexing model from the issue text.
Description
From @akoeplinger on June 23, 2017 12:8
- VSCode Version: Code 1.13.1 (379d2efb5539b09112c793d3d9a413017d736f89, 2017-06-14T18:13:05.928Z)
- OS Version: Darwin x64 16.6.0
- Extensions:
| Extension | Author | Version |
|---|---|---|
| vscode-markdownlint | DavidAnson | 0.9.1 |
| vscode-docker | PeterJausovec | 0.0.16 |
| sort-lines | Tyriar | 1.3.0 |
| githistory | donjayamanne | 0.2.0 |
| python | donjayamanne | 0.6.5 |
| cpptools | ms-vscode | 0.11.4 |
| csharp | ms-vscode | 1.10.0 |
| mono-debug | ms-vscode | 0.15.6 |
| Ruby | rebornix | 0.12.1 |
Steps to Reproduce:
mkdir vscodehang && cd vscodehangwget https://raw.githubusercontent.com/mono/mono/c7b19b52fd671233cf2daab451f09c7591c859b1/mcs/class/Mono.Security/Mono.Xml/MiniParser.cscode .- Open MiniParser.cs
- VSCode gets unresponsive and offers to reopen window
Copied from original issue: Microsoft/vscode#29319
- Dominant language
- TypeScript
- Stars
- 78
- Forks
- 43
- Avg merge
- 34m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dotnet/csharp-tmLanguage
-
C# syntax highlighting broken with collection expressions and string interpolation in method calls Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
dotnet/csharp-tmLanguage#332 · 7 comments · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
dotnet/csharp-tmLanguage#336 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
dotnet/csharp-tmLanguage#306 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
dotnet/csharp-tmLanguage#304 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
dotnet/csharp-tmLanguage#303 ·
All issues in dotnet/csharp-tmLanguage
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·