FarCtags

Announcements of new plug-ins. Plug-ins are discussed in a forum below.
Post Reply
pepak
Posts: 329
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 3 times
Been thanked: 9 times

FarCtags

Post by pepak » Fri 28 Jul, 2017 19:17

This is a source code navigation plugin based on Ctags. According to Wikipedia (2017-07-28):
Wikipedia wrote:Ctags is a programming tool that generates an index (or tag) file of names found in source and header files of various programming languages. Depending on the language, functions, variables, class members, macros and so on may be indexed. These tags allow definitions to be quickly and easily located by a text editor or other utility.
This plugin uses a Ctags utility (which must be provided by the user) to locate names in the current editor and provide means for quickly navigating to a selected name.

Usage

Before you can use this plugin, you need to install Ctags. Any standard implementation should work, e.g. the plugin was tested with both Exuberant Tags and Universal Ctags and worked fine. Ctags may be installed either in a regular fashion with ctags.exe available in the PATH, or you can copy the necessary executables to the ctags subdirectory of the plugin; in this scenario the Ctags support is "portable", as in, it doesn't need any installation and if you need to use your specific .ctags file, you can store it in the same directory.

When Ctags is available, simply press F11 in an editor and select FAR Ctags from the menu of plugins. If any names were found, a list will appear; here you can start searching the names by typing into the search window, or you can navigate the names by pressing UP, DOWN, PAGEUP, PAGEDOWN (you don't need to activate the list first, these keys work even when the search window is focused). The list displays a line number, symbol name, symbol type. Under the list, a context information about the symbol is displayed (e.g. to let you distinguish between several overloaded variants of a function). The OK button will close the dialog and move the cursor to the selected name.

Screenshots




History
For the list of what's new, please read the following posts in the discussion thread.

Download:
Last edited by pepak on Fri 28 Jul, 2017 19:21, edited 1 time in total.

pepak
Posts: 329
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 3 times
Been thanked: 9 times

FarCtags

Post by pepak » Wed 02 Aug, 2017 16:08

Version 0.02
  • Search is performed within symbol names, not in the display text.
  • Much improved speed of scrolling in the listbox, particularly using PAGEUP/PAGEDOWN.
  • PAGEUP/PAGEDOWN were jumping too far within the listbox (the jump was slightly more than one page, whike the intended jump was one line less than one page).

Post Reply

Return to “Announcements of new Plug-Ins”