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

KCL language server high CPU usage #547

Closed
He1pa opened this issue May 12, 2023 · 1 comment
Closed

KCL language server high CPU usage #547

He1pa opened this issue May 12, 2023 · 1 comment
Assignees
Labels
bug Something isn't working langserver lsp

Comments

@He1pa
Copy link
Contributor

He1pa commented May 12, 2023

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

Typing following code in VSCode

a = True
if a:
    _abc = 1
else:
    _abc = 2

2. What did you expect to see? (Required)

3. What did you see instead (Required)

image

4. What is your KusionStack components version? (Required)

@He1pa He1pa added bug Something isn't working langserver lsp labels May 12, 2023
@Peefy
Copy link
Contributor

Peefy commented May 12, 2023

There may be an endless loop trap of lexical syntax error recovery, which causes the CPU to be temporarily high.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working langserver lsp
Projects
No open projects
Status: v0.7.0 Release Done
Development

No branches or pull requests

2 participants