Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS Code cannot treat java file which contains large 'enum'. #31958

Closed
jujinkim opened this issue Aug 3, 2017 · 1 comment
Closed

VS Code cannot treat java file which contains large 'enum'. #31958

jujinkim opened this issue Aug 3, 2017 · 1 comment
Assignees
Labels
freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues grammar Syntax highlighting grammar

Comments

@jujinkim
Copy link

jujinkim commented Aug 3, 2017

  • VSCode Version: 1.14.2 (32bit, 64bit both have problem with this)
  • OS Version: Windows 7

Steps to Reproduce:

  1. Create an empty java file.

  2. Open it with notepad.exe and type this -> 3 times or more.

public enum test {
AAAAAAAAAAA, BBBBBBBBBB, CCCCCCCCCC, DDDDDDDDDD, EEEEEEEEEE, FFFFFFFFFF, AAAAAAAAAAA, BBBBBBBBBB, CCCCCCCCCC, DDDDDDDDDD, EEEEEEEEEE, FFFFFFFFFF, AAAAAAAAAAA, BBBBBBBBBB, CCCCCCCCCC, DDDDDDDDDD, EEEEEEEEEE, FFFFFFFFFF, AAAAAAAAAAA, BBBBBBBBBB, CCCCCCCCCC, DDDDDDDDDD, EEEEEEEEEE, FFFFFFFFFF, AAAAAAAAAAA, BBBBBBBBBB, CCCCCCCCCC, DDDDDDDDDD, EEEEEEEEEE, FFFFFFFFFF, AAAAAAAAAAA, BBBBBBBBBB, CCCCCCCCCC, DDDDDDDDDD, EEEEEEEEEE, FFFFFFFFFF, AAAAAAAAAAA, BBBBBBBBBB, CCCCCCCCCC, DDDDDDDDDD, EEEEEEEEEE, FFFFFFFFFF, AAAAAAAAAAA, BBBBBBBBBB, CCCCCCCCCC, DDDDDDDDDD, EEEEEEEEEE, FFFFFFFFFF, AAAAAAAAAAA, BBBBBBBBBB, CCCCCCCCCC, DDDDDDDDDD, EEEEEEEEEE, FFFFFFFFFF,
}

  1. Save the file, and open it with VS Code.

  2. Observe. It'll take very long time to open and applying syntax highlight.

Reproduces without extensions: Yes

@vscodebot vscodebot bot added the workbench label Aug 3, 2017
@mjbvz mjbvz added the grammar Syntax highlighting grammar label Aug 3, 2017
@mjbvz mjbvz added the freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues label Aug 3, 2017
@aeschli
Copy link
Contributor

aeschli commented Aug 4, 2017

This issue was moved to atom/language-java#103

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues grammar Syntax highlighting grammar
Projects
None yet
Development

No branches or pull requests

3 participants