Glavin001 / atom-beautify

:mega: Help Wanted - Looking for Maintainer: https://github.com/Glavin001/atom-beautify/issues/2572 | :lipstick: Universal beautification package for Atom editor (:warning: Currently migrating to https://github.com/Unibeautify/ and have very limited bandwidth for Atom-Beautify Issues. Thank you for your patience and understanding :heart: )
http://unibeautify.com/
MIT License
1.5k stars 453 forks source link

Atom Beautify could not determine a supported beautifier to handle this file with grammar "Null Grammar" and extension "undefined". #2373

Open somnus-lin opened 5 years ago

somnus-lin commented 5 years ago

Atom Beautify could not determine a supported beautifier to handle this file with grammar "Null Grammar" and extension "undefined". 1.39.1 mpb,thanks!

somnus-lin commented 5 years ago

format json file,eg:{"status":"new","currUserId":"11111","unReadSize":14}

somnus-lin commented 5 years ago

some stack trace: TypeError: Cannot read property 'name' of undefined at HTMLElement.debug (/Users/ql/.atom/packages/atom-beautify/src/beautify.coffee:363:54) at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/:11:348736) at CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/static/:11:347211) at AtomEnvironment.dispatchContextMenuCommand (/Applications/Atom.app/Contents/Resources/app/static/:1:717275) at EventEmitter.t (/Applications/Atom.app/Contents/Resources/app/static/:1:725281) at EventEmitter.emit (events.js:182:13)