Code Highlight
September 9, 2017 ยท View on GitHub
Put your cursor on a symbol to see relevant ranges highlighted.

Service API
Provide the code highlight Atom service by adding this to your package.json:
"providedServices": {
"code-highlight": {
"versions": {
"0.1.0": "provideCodeHighlight"
}
}
}
Then, in your package entry point, add:
export function provideCodeHighlight(): CodeHighlightProvider {}
You must return a CodeHighlightProvider object
as described in atom-ide-code-highlight/lib/types.js.
grammarScopesshould be a list of scope names of grammars that the provider should apply to.prioritywill be used to determine the provider to use in the case of multiple providers.highlightwill be called every time the cursor position changes or the buffer changes with the current position. The returned array of ranges will be highlighted.