symbol-provider-ts-variables
Provides variables to `symbol-provider` on Tree-sitter grammars
confused-Techie 14 0 1.0.0 MIT GitHub
  • Made for Pulsar!

    This package was written specifically for Pulsar and did not exist in the Atom package repository.

Symbol-Provider-TS-Variables

Provides variables to symbol-provider on Tree-sitter grammars.

By default symbols-provider-tree-sitter doesn't provide variables from a grammar. This package adds variables to symbols-view.

Installation & Setup

To ensure your installation of Pulsar is able to utilize this package:

  • Ensure you are on version 1.113.0 of Pulsar or above
  • Ensure you've enabled the new symbols-view package
  • Ensure you have enabled Modern Tree-sitter Grammars (editor.useTreeSitterParsers = true && editor.useLegacyTreeSitterImplementation = false)

Then install this package, as long as you are in a Modern Tree-Sitter supported grammar, you'll be able to use this package for symbols navigation.

Grammar Support

This package is only able to support grammars using Modern Tree-sitter. Otherwise, this package should support just about any grammar, the method used to retrieve variables from the grammar is rather universal across languages, but if you find a language that isn't supported quite right, feel free to submit an issue. Otherwise you can enable "Strict Support" in the package's settings to ensure it only provides symbols for the languages it has been tested in.

TODO