Comments (7)
Hey, thanks for contributing to the issue. Unfortunately, I still don't have a huge amount of time for this repo. Still, feel free to submit a pull request!
from jsdoc-preview.
Do you see any errors in the Atom developer console?
from jsdoc-preview.
When i hit the hotkey, or use the menuitem the console does not log anything
from jsdoc-preview.
Yikes, sorry about that.
Unfortunately, I don't have a whole lot of time to debug this one right now.
Feel free to submit a pull request if you would like.
from jsdoc-preview.
Alright, I'll see if I can't figure out how to make it work. I hate submitting an issue without a PR, but I wanted to at least make sure I wasn't overlooking anything, and let you know my environment as-is. Looks like we're both equally stumped. I'll try to resolve this if I have time - thanks for reading.
from jsdoc-preview.
👍
I'm using Atom 1.17.2 on macOS. I can't get the preview to launch at all either. This was in my console, though I'm not sure if it's related or not:
Uncaught Error: Cannot read property 'object' of undefined
TypeError: Cannot read property 'object' of undefined
at ObjectsRegistry.get (/Applications/Atom.app/Contents/Resources/electron.asar/browser/objects-registry.js:41:28)
at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:306:31)
at emitMany (events.js:127:13)
at EventEmitter.emit (events.js:201:7)
at WebContents.<anonymous> (/Applications/Atom.app/Contents/Resources/electron.asar/browser/api/web-contents.js:222:13)
at emitTwo (events.js:106:13)
at WebContents.emit (events.js:191:7)
from jsdoc-preview.
Here's what I've uncovered so far:
In index.coffee
, there is an array of grammars. The fourth element is misspelled; it should be source.coffee
When I try to open the pre-viewer in my own project, editor.getGrammar().scopeName
returns source.js.jsx
which is not in the grammars
array. If I add it to the array, then the window opens but says "No JSDocs to Preview". My project does contain some JSDoc comments.
from jsdoc-preview.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsdoc-preview.