You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
At atom.grammars.startIdForScope is not a function in /usr/share/atom/resources/app.asar/node_modules/language-csharp/grammars/csharp.json
TypeError: atom.grammars.startIdForScope is not a function
at grammarCb (/packages/omnisharp-atom/dist/omnisharp-atom.js:145:35)
at Function.simpleDispatch (/usr/share/atom/resources/app/static/<embedded>:11:1206583)
at Emitter.emit (/usr/share/atom/resources/app/static/<embedded>:11:1208024)
at GrammarRegistry.t.exports.GrammarRegistry.addGrammar (/usr/share/atom/resources/app/static/<embedded>:14:113518)
at Grammar.t.exports.Grammar.activate (/usr/share/atom/resources/app/static/<embedded>:14:120700)
at grammarRegistry.readGrammar (/usr/share/atom/resources/app/static/<embedded>:11:3424609)
at l.readFile (/usr/share/atom/resources/app/static/<embedded>:11:358746)
at u (/usr/share/atom/resources/app/static/<embedded>:11:578696)
at /usr/share/atom/resources/app/static/<embedded>:11:579949
at ELECTRON_ASAR.js:530:9
at FSReqWrap.wrapper [as oncomplete] (fs.js:658:17)
at /app.asar/node_modules/language-csharp/grammars/csharp.json:1:1
Commands
Non-Core Packages
linter 2.3.0
omnisharp-atom 0.31.2
The text was updated successfully, but these errors were encountered:
I've fix the issue by using the method seen here : OmniSharp/omnisharp-atom#1037 (comment)
After you did all of the modifications you just need to reload Atom and it should be fixed.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
[Enter steps to reproduce:]
Atom: 1.38.2 x64
Electron: 2.0.18
OS: Ubuntu 19.04
Thrown From: language-csharp package 1.1.0
Stack Trace
Failed to load a language-csharp package grammar
Commands
Non-Core Packages
The text was updated successfully, but these errors were encountered: