Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Failed to load a language-csharp package grammar #133

@jiwantmg

Description

@jiwantmg

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.53.0 x64
Electron: 6.1.12
OS: Ubuntu 20.04.1
Thrown From: language-csharp package 1.1.0

Stack Trace

Failed to load a language-csharp package grammar

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:1190051)
    at Emitter.emit (/usr/share/atom/resources/app/static/<embedded>:11:1191492)
    at GrammarRegistry.addGrammar (/usr/share/atom/resources/app/static/<embedded>:14:122537)
    at Grammar.activate (/usr/share/atom/resources/app/static/<embedded>:14:129719)
    at /usr/share/atom/resources/app/static/<embedded>:11:3575270
    at /usr/share/atom/resources/app/static/<embedded>:11:360749
    at u (/usr/share/atom/resources/app/static/<embedded>:11:581594)
    at /usr/share/atom/resources/app/static/<embedded>:11:582847
    at electron/js2c/asar.js:571:9
    at FSReqCallback.wrapper [as oncomplete] (fs.js:477:5)
  at /app.asar/node_modules/language-csharp/grammars/csharp.json:1:1

Commands

     -0:53.7.0 application:reopen-project (atom-pane.pane.active)

Non-Core Packages

omnisharp-atom 0.31.2 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions