Uncaught TypeError: atom.grammars.startIdForScope is not a function #717
Comments
[Enter steps to reproduce:]
Atom: 1.24.0-beta3 x64 Stack TraceUncaught TypeError: atom.grammars.startIdForScope is not a function
Commands
Non-Core Packages
|
[Enter steps to reproduce:]
Atom: 1.24.0 x64 Stack TraceUncaught TypeError: atom.grammars.startIdForScope is not a function
Commands
Non-Core Packages
|
I'm not sure if this is related, but I have a similar issue in my own package and have started a discussion on atom.io to see if there's any support: |
This is the PR that fixed it for semanticolor: digitallyserviced/semanticolor#27 I will submit a PR to fix soon if no one else beats me to it. |
Thanks, @sharedprophet! I could do it though if you're busy! Just don't wanna take credit for your work. |
@ccjmne I am not actually the submitter of that PR, just the maintainer of that project who merged it. :) And I am a bit busy, though the real issue is that the computer I would use for this is out of order at the moment. Long story short, if you could do it that would be great. :D |
@sharedprophet Ha! Gotcha :) Thing is, I just don't have nearly enough experience with Atom packages and JS test suites; I just spent a couple hours catching up and that's really interesting, but I gotta drop the ball here and just PR the fix with no test implemented. |
im having this bug as well when i do a diff with git-plus. |
When I trying to run
Atom: 1.24.0 x64 Stack TraceUncaught TypeError: atom.grammars.startIdForScope is not a function
Commands
Non-Core Packages
|
Please merge in and release one of the PRs that fixes this... |
I like this extension very much, but the error raised by this bug is really annoying, Please merge PRs to fix this, Thank you |
@ChenXiyu It takes 30 seconds to copy paste the fix into your own version of atom, just saying ;-) |
Awesome! Thank you @ashthespy for mention that. |
@ashthespy woke up to this and cant seem to find where do update the code. No lib/semanticolor-grammar.js to edit... any ideas? Edit: found the file, edited and still not working :( Nevermind, i've just fixed it following https://github.com/akonwi/git-plus/pull/729/files Thanks, back to work... |
@ChenXiyu Nope, the new update will rewrite the files:
|
@ashthespy Make senses, Thanks |
Fix #717 (registry.startIdForScope is not a function)
[Enter steps to reproduce:]
Atom: 1.24.0-beta1 x64
Electron: 1.6.15
OS: Mac OS X 10.13.2
Thrown From: git-plus package 7.10.0
Stack Trace
Uncaught TypeError: atom.grammars.startIdForScope is not a function
Commands
Non-Core Packages
The text was updated successfully, but these errors were encountered: