liujingbreak / atom-js-grammar Goto Github PK
View Code? Open in Web Editor NEWAn Atom editor plugin which shows Javascript AST function node structure of current opening file
License: MIT License
An Atom editor plugin which shows Javascript AST function node structure of current opening file
License: MIT License
[Enter steps to reproduce:]
Atom: 1.35.1 x64
Electron: 2.0.18
OS: Mac OS X 10.13.2
Thrown From: js-func-viewer package 1.1.4
Uncaught TypeError: Cannot read property 'then' of undefined
At /Users/philippeperret/.atom/packages/js-func-viewer/lib/atom-js-grammar-view.js:125
TypeError: Cannot read property 'then' of undefined
at AtomJsGrammarView._render (/packages/js-func-viewer/lib/atom-js-grammar-view.js:125:18)
at AtomJsGrammarView.setVisible (/packages/js-func-viewer/lib/atom-js-grammar-view.js:147:10)
at Object.toggle (/packages/js-func-viewer/lib/atom-js-grammar.js:73:8)
at /packages/js-func-viewer/lib/atom-js-grammar.js:25:10)
at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:350017)
at KeymapManager.t.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1212981)
at KeymapManager.t.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1209115)
at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:285196)
3x -1:50.7.0 core:backspace (input.hidden-input)
-1:50.1.0 editor:newline (input.hidden-input)
-1:49.4.0 core:save (input.hidden-input)
-1:43.2.0 editor:newline (input.hidden-input)
-1:42.7.0 core:save (input.hidden-input)
-1:15.6.0 git-plus:copy (input.hidden-input)
-1:15.6.0 clipboard-history:copy (input.hidden-input)
-1:15.5.0 git-plus:copy (input.hidden-input)
-1:15.5.0 clipboard-history:copy (input.hidden-input)
-1:11.2.0 editor:newline (input.hidden-input)
-1:10.6.0 core:paste (input.hidden-input)
-1:10 core:save (input.hidden-input)
-0:41.2.0 editor:newline (input.hidden-input)
-0:40.2.0 editor:toggle-line-comments (input.hidden-input)
-0:34 core:save (input.hidden-input)
2x -0:31.8.0 js-func-viewer:toggle (input.hidden-input)
atom-ctags 5.1.2
atom-runner 2.7.1
autocomplete-from-clipboard 0.0.1
busy-signal 2.0.0
clipboard-history 0.6.6
gherkin-table-formatter 0.1.0
git-plus 8.1.0
go-plus 5.8.6
html2haml 0.10.0
hyperclick 0.1.5
intentions 1.1.5
js-func-viewer 1.1.4
language-haml 0.31.1
language-latex 1.1.1
language-phil-icare 0.0.0
language-rspec 0.11.0
latex 0.50.0
linter 2.2.0
minimap 4.29.8
platformio-ide-terminal 2.8.4
process-palette 0.17.0
remote-sync 4.1.8
ruby-test 1.0.2
script 3.18.1
todo-show 2.3.2
I have Linux Mint PC with Atom 1.19.3 x64. Installed plugin with comand apm install js-func-viewer
and restart Atop. Menu item JS function viewer
appears with item Toggle Ctrl+F12
. But when I press on it or hit Ctrl+F12 nothing happens.
When I click on a function it closes. Also when I click on a down arrow to collapse a list it just closes.
When using more that one panel (e.g. View
> Panes
> Split Right
), the viewer always appears in the left pane, not the currently active one.
Further more (don't know if it is related), it doesn't show when the short-cut (default: <Ctrl>F12
) is used, and the user must use the mouse to dig into the Packages
menu.
Note: when a file with only one ES6 class and some methods are defined, the viewer stay empty.
i clone from git then move to ~/.atom/packages
ctrl + F12 give me thie error;
[Enter steps to reproduce:]
Atom: 1.16.0 x64
Electron: 1.3.13
OS: Unknown Windows version
Thrown From: js-func-viewer package 1.1.4
Failed to activate the js-func-viewer package
At Cannot find module 'lodash'
Error: Cannot find module 'lodash'
at Module._resolveFilename (module.js:455:15)
at Module._resolveFilename (~/AppData/Local/atom/app-1.16.0/resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._resolveFilename (/app.asar/src/module-cache.js:383:52)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (/app.asar/src/native-compile-cache.js:50:27)
at /packages/atom-js-grammar/lib/atom-js-grammar.js:1:88)
at Module._compile (/app.asar/src/native-compile-cache.js:109:30)
at /app.asar/src/compile-cache.js:216:21)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (/app.asar/src/native-compile-cache.js:50:27)
at Package.module.exports.Package.requireMainModule (/app.asar/src/package.js:796:27)
at Package.module.exports.Package.activateNow (/app.asar/src/package.js:207:16)
at /app.asar/src/package.js:876:25
at Function.module.exports.Emitter.simpleDispatch (/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (/app.asar/node_modules/event-kit/lib/emitter.js:141:28)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:240:20)
at /app.asar/src/command-registry.js:3:59
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:599:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:390:22)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/app.asar/src/window-event-handler.js:106:36)
at /app.asar/src/window-event-handler.js:3:59)
-1:14.3.0 pane:close (div.title)
-1:08.6.0 settings-view:uninstall-packages (atom-pane.pane.active)
-1:03.7.0 application:open-folder (div.panels-item)
-0:44.9.0 js-func-viewer:toggle (input.hidden-input)
js-func-viewer 1.1.4
atom-react-autocomplete 0.1.10
autocomplete-js-import 1.4.0
autocomplete-modules 1.6.10
language-babel 2.61.0
language-javascript-jsx 0.3.7
node_modules undefined
nuclide 0.223.0
react-native-snippets 0.3.0
react-snippets 0.7.2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.