All notable changes to the "ctagsx" extension will be documented in this file.
- Fix clash with QuickPickItem that was preventing option selection from working (#20)
- Preference the current text selection when navigating via the definition provider (F12). This matches the behaviour when searching via Ctrl+T.
- Fixed tag searching for VSCode 1.31
- Prevent folders that match the tag file pattern (e.g.
tags
or.tags
) from being considered as a tags file
- Added a command to create a terminal in the workspace of the active document (key binding: unbound)
- Fixed a regression when jumping to a positional (line-based) tag
- Registered ctagsx as a definition provider for all languages (integration into VSCode's definition provider interface). May be disabled by setting
ctagsx.disableDefinitionProvider
totrue
.
- Reverted use of
vscode.ViewColumn.Active
for backwards compatibility/minimum version mismatch (currently specifies 1.15.0 as minimum, butvscode.ViewColumn.Active
is present only in 1.17.0)
- Added a new command to manually enter the tag to jump to via an input prompt (default:
Ctrl+alt+t
/Cmd+alt+t
) - Added a preference (
ctagsx.openAsPreview
) to open the navigated file in preview mode (default:false
). This restores to default behaviour as observed pre VSCode 1.15.
- Fix jumping to tags when editing an untitled document (default to using workspace root to search for tags)
- Added jump stack to allow jumping back to previous location where 'Navigate to definition' was called (default:
Alt+t
) - Added method to clear jump stack (not bound to any hotkey)
- Fix off-by-one error when navigating to file line number
- Fix not navigating to line when ctags defines address only by line number
- Added handling for file names in the format of
file_name:line_number:char_number
, e.g.stemdb.c:3513:30
, wherefile_name
is the text selected for lookup. It will now jump to the specified line number, and if given, the character position.
- Display the absolute path to the file in the drop-down selection
- Account for having absolute file paths as provided directly by the tags file
- When navigating to the line within a file, also move the cursor to the start of the tag on that line. ctagsx will only move to the first occurrence of the tag on the line; it does not delineate which occurrence it should move to.
- Open the definition in the same view column as the active editor, instead of always in the first
- Initial release