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

GrammarRegistry docs link to wrong locationΒ #736

@icecream17

Description

@icecream17

Prerequisites

Description

https://flight-manual.atom.io/api/v1.57.0/GrammarRegistry/ links to the wrong location.

Should be atom@1.57.0/src/grammar-registry.js

But got first-mate@7.4.1/src/grammar-registry.coffee

Steps to Reproduce

  1. Go to https://flight-manual.atom.io/api/v1.57.0/GrammarRegistry/

Reproduces how often:

100%

Additional Information

Discovered by inconsistent types at https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/atom/src/grammar-registry.d.ts which are difference than the actual methods.

It seems that FirstMate's grammar registry is used for GrammarRegistry#textmateRegistry https://github.com/atom/atom/search?q=FirstMate

The methods are similar but not exactly the same. For example, GrammarRegistry doesn't have onDidRemoveGrammar

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