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

Setting a large tab_size value will cause the editor to open the file stuck. #228955

Open
ihavecoke opened this issue Sep 18, 2024 · 0 comments
Open
Assignees

Comments

@ihavecoke
Copy link

ihavecoke commented Sep 18, 2024

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.93.1
  • OS Version: mac OS 15

Steps to Reproduce:

  1. command + , then change the tab size value to 99999999, and disable Detect Indentation

image

  1. Save user settings, open any file, and enter tab anywhere. At this time, there will be a period of software stuck, and the file content will become unreadable.
iShot_2024-09-18_12.52.43.mp4
  1. I think can refer to the jetbrains editor to limit the tab size to 16. If the value is too large, it is not convenient to read and format the document. If it is too large, it will also cause the file rendering to be stuck, resulting in poor input experience.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants