Code hangs when trying to open C# File

Open
#79 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp
Domain
tooling

Research direction

The issue names only a C# file and the code --disable-extensions and --verbose entry points; first obtain the private reproducing file and confirm the hang with extensions disabled. Trace the C# grammar or opening path involved, and consider the issue done when that file opens without Code becoming unresponsive.

Written by the indexing model from the issue text.

Description

Bug

From @leadZERO on July 17, 2017 21:8

I have a CSharp file that will cause Code to become unresponsive every time it is opened. I've tried to narrow it down to what about the file causes it, but it doesn't seem to be a single line, nor consistent. I've uninstalled all the extensions, tried running with --disable-extensions, and closing the active folder. I've also run code with --verbose, but it doesn't report anything after the arg display other than:

[main 3:02:30 PM] IPC#vscode-machineId
[main 3:02:30 PM] IPC#vscode-workbenchLoaded
[VS Code]: detected unresponsive

I'd be happy to email the file to one of the devs, but don't want to post on the open Internet.

R

  • VSCode Version: 1.14.1
  • OS Version: OS X 10.12.5

Steps to Reproduce:

  1. Launch Code
  2. Try to open file.

Reproduces without extensions: Yes

Copied from original issue: Microsoft/vscode#30884

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/csharp-tmLanguage

All issues in dotnet/csharp-tmLanguage

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.