You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to open various folders. On my machine quite a few of them fail to open and the console shows exceptions.
The exceptions are coming form the definition of brackets.fs.readdir in brackets_extensions.js. It looks like JSON.parse doesn't like some of the JSON we are passing it
The text was updated successfully, but these errors were encountered:
Comment by peterflynn Saturday Dec 17, 2011 at 00:23 GMT
I can repro this with certain weird files which cause the Brackets.app native file APIs to create malformed JSON.
For example, this repros for me with one of the files inside the "Adobe Wireless Setup.app" folder. In Finder, the file is hidden (but if I show hidden files, it appears as a grayed-out file named "Icon"). In Terminal, the filename appears to be "Icon?", but I assume that's impossible since "?" is a wildcard. In the JSON Brackets.app generates, we get a CR character instead of a "?", which is illegal inside of a string literal and thus breaks the JSON string.
Comment by peterflynn Saturday Dec 17, 2011 at 00:37 GMT
Seems to always happen wit the hidden "Icon" file inside app packages (or any other folder with a customized icon). I can get this with all the various Adobe CS apps' folders, for example, since they all have custom folder icons.
Friday Dec 16, 2011 at 23:25 GMT
Originally opened as adobe/brackets#19
The exceptions are coming form the definition of brackets.fs.readdir in brackets_extensions.js. It looks like JSON.parse doesn't like some of the JSON we are passing it
The text was updated successfully, but these errors were encountered: