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

Files appear empty after August 2016 updated #11701

Closed
jwoodhull opened this issue Sep 8, 2016 · 12 comments
Closed

Files appear empty after August 2016 updated #11701

jwoodhull opened this issue Sep 8, 2016 · 12 comments
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@jwoodhull
Copy link

  • VSCode Version: August 2016 Update
  • OS Version: OSX El Capitan

Steps to Reproduce:

  1. Update to the latest version of VSCode
  2. Open any text file.

Notice that the file appears to be empty.

@ahejlsberg
Copy link
Member

I'm seeing the same thing!

@jailsonayogo
Copy link

I got the same issue and to fix it I just deleted my settings.json. Then, I restored my settings file and it seems that the issue was caused by this line on my settings: "editor.fontSize": -4

@JCarran0
Copy link

JCarran0 commented Sep 8, 2016

Same problem here. My settings.json editor.fontSize was set to 0. Thanks @jailsonayogo for saving me some time.

@kieferrm
Copy link
Member

kieferrm commented Sep 8, 2016

@ahejlsberg similar issue for you?

@percyabrown
Copy link

I am experiencing the same thing on Windows 10 and my setting.json file only has
"php.validate.executablePath": "C:/PHP53/php.exe"

@jwoodhull
Copy link
Author

Thanks for the heads up. My fontSize and lineHeight were set to 0

@mjkeating
Copy link

I had the same issue. I removed the 'fontSize: 0' line from my user settings file (settings.json) to fix it - thanks to this thread.

@kieferrm
Copy link
Member

kieferrm commented Sep 8, 2016

0 literally setting the font size to 0, and you need to open the file in some other editor. The locations are:
Windows: %APPDATA%/Code/User/settings.json
Linux: ~/.config/Code/User/settings.json
Mac: ~/Library/Application Support/Code/User/settings.json

@percyabrown
Copy link

Thanks @kieferrm ! Using Notepad++ changed the settings in %APPDATA%/Code/User/settings.json from "editor.fontSize": 0, "editor.lineHeight": 0, to "editor.fontSize": 14, "editor.lineHeight": 14 and I can now see the text.

@kieferrm
Copy link
Member

kieferrm commented Sep 8, 2016

#11715 reports the same issue. We currently test a fix.

@kieferrm
Copy link
Member

kieferrm commented Sep 8, 2016

We have released a recovery build. It's 1.5.1. Thanks to @jailsonayogo for helping us tracking this down.

@kieferrm kieferrm closed this as completed Sep 8, 2016
@kieferrm
Copy link
Member

kieferrm commented Sep 8, 2016

Duplicate of #11715 .

@kieferrm kieferrm added the *duplicate Issue identified as a duplicate of another issue(s) label Sep 8, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

7 participants