Giter Site home page Giter Site logo

Comments (7)

benderTheCrime avatar benderTheCrime commented on May 28, 2024 1

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.

benderTheCrime avatar benderTheCrime commented on May 28, 2024

Do you see any errors in the Atom developer console?

from jsdoc-preview.

the-simian avatar the-simian commented on May 28, 2024

When i hit the hotkey, or use the menuitem the console does not log anything

from jsdoc-preview.

benderTheCrime avatar benderTheCrime commented on May 28, 2024

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.

the-simian avatar the-simian commented on May 28, 2024

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.

techrah avatar techrah commented on May 28, 2024

👍

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.

techrah avatar techrah commented on May 28, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.