symbol-provider-ctags Bundled

Provides symbols to symbols-view via ctags

pulsar-edit

0

0

1.0.0

MIT

GitHub

This package provides the following services:

symbol-provider-ctags package

Provides symbols to symbols-view via ctags.

This is the approach historically used by symbols-view — now spun out into its own “provider” package among several.

This symbol provider will typically be used on non-Tree-sitter grammars, and possibly when performing a project-wide search. Symbol-based navigation on files with Tree-sitter grammars will typically be provided by symbol-provider-tree-sitter.

Language support

This provider supports any language that is present in its config file, and detects any symbols that match the specified patterns. If your language isn’t supported and you can help add support, we’ll happily accept a pull request.

Toggle file symbols

For the Symbols View: Toggle File Symbols command, ctags will scan the file on disk and emit its tag information to stdout, where it is read by this package. You don’t need a TAGS file to do a symbol search within a single file.

Toggle Project Symbols, Go To Declaration

These commands require a tags file, typically defined at .tags/tags/.TAGS/TAGS in the root of your project. This package cannot generate (or regenerate) your tags file, since it doesn’t know which files to include. You can run ctags regularly on your own to generate this file. Consult the documentation for Exuberant Ctags for more information.

Once your tags file is present, these commands can be fulfilled by symbol-provider-ctags