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

V1.89.1 crashes when entering a folder with a "prefs.js" file inside #214444

Open
sergio-costas opened this issue Jun 6, 2024 · 0 comments
Open
Assignees

Comments

@sergio-costas
Copy link

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

  • VS Code Version: 1.89.1
  • OS Version: Ubuntu 24.04

Steps to Reproduce:

  1. Create a folder with a file called "prefs.js" that has its first line as "// -- mode: js; js-indent-level: 4; indent-tabs-mode: nil --"
  2. Open VSCode
  3. Go to File -> Open folder
  4. Navigate into the folder that contains that "prefs.js" file using double click (don't press "Select" button)
  5. As soon as the user enters the folder, Code crashes.

I've been noticing this bug for several versions. It seems to have been fixed in 1.90.0, but since I didn't notice anything specific about this in the list of changes, I'm afraid that the fix was "accidental" and can reappear again in the future. That's why I fill this.

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

4 participants