ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Toks

by thomasthorsen ST3

C/C++ source code navigation using toks (similar to CTags and Cscope)

Details

Installs

  • Total 546
  • Win 301
  • OS X 74
  • Linux 171
Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9
Windows 0 0 0 0 1 0 1 2 0 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 1 0 0 0
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1

Readme

Source
raw.​githubusercontent.​com

SublimeToks

Easy to use source code navigation for C/C++ using toks as indexing backend.

Usage

You need to have a Sublime Text project for SublimeToks to know which files to index. The index can be built or rebuilt anytime using the ctrl-l + ctrl-i shortcut. It will also automatically be created if it doesn't exist when using any of the lookup commands (also available from the command palette):

  • ctrl-l + ctrl-s : Lookup any identifier
  • ctrl-l + ctrl-d : Lookup definitions of identifier
  • ctrl-l + ctrl-e : Lookup declarations of identifier
  • ctrl-l + ctrl-r : Lookup references to identifier

When using any of the lookup commands, the results will be presented in a quick panel with 3 lines of information for each result:

# The filename, line and column of the result # The scope of the result # The classification of the result

When browsing through the results in the quick panel the file contents will be previewed in the active view. To cancel the lookup, press escape and the active view will go back to where you were. Press enter on a result and SublimeToks will navigate to the chosen location, saving the previous location in the history. To go back and forward in the history, use the following shortcuts:

  • ctrl-, Go back
  • ctrl-. Go forward

Note that if you move the caret away from a location in the history and then navigate back or forward, the new location will be included in the history. This is to make it easy to go back or forward in the history to check some details and then return to the point of development.

Installation

Install in the standard way using Package Control. If you are using Windows or Linux 64bit the plugin comes preloaded with the toks binary needed for the indexing. If you are using Linux 32bit or Mac OS X you will need to build toks from source and put it in your path to be able to use this plugin, see instructions at http://www.github.com/thomasthorsen/toks.