Menu

#5 Not jumping to the selected tag within the TagLEET window

2.0
open
None
2019-04-17
2019-04-12
Anonymous
No

System Info:
Notepad++ v7.6.6 (64-bit)
TagLEET 1.3.1.0 and 1.3.2.0
Windows 7 Professional SP1

Description:
I press ALT-space and it displays the dialog with a list tag matches. But if I select a tag within the TagLEET window it fails to navigate to the relevant file. I tried pressing SPACE and RETURN but it does not navigate to the tag in either case. There is no error displayed or any feedback to give me clues on what is happening.

Regards
Chris.

Discussion

  • Gur Stavi

    Gur Stavi - 2019-04-13

    The likely reason is that the file is not found.
    'tags' file contains a file path that should be either:
    Relative to the location of 'tags' file. This is the default case.
    Absolute.
    If file with that is not found then TagLEET can't jump to tag and there will be no visual indication.
    Did you move the tags file? How did you generate it?

    I did encounter another issue once in 'wine' under Linux where handling of keystrokes was screwed so the system thought that 'ALT' is still pressed and the plugin would not get the relevant message to actually perform the "goto". I doubt that can happen under Win7. But you can try to press and depress ctrl and alt to make sure this is not the problem.

     
    • Chris

      Chris - 2019-04-17

      The likely reason is that the file is not found.

      Yes, you were correct. The file paths in my generated ctag file contained a combination of forward and back slashes. I edited the tag file so that all paths had backslashes and then I could navigate to tags in any file.

      I would suggest a warning message is displayed if a file cannot be opened.

      I was using an old version of Exuberant Ctags, so I moved to Universal Ctags (Win 32) which is an actively maintained package. I can directly use the tag files generated by Universal Ctags without having to correct the paths.

      In case it helps someone else, you can download the latest Universal Ctags Win32 build from here:
      https://github.com/universal-ctags/ctags-win32/releases

      Thanks
      Chris.

       

Log in to post a comment.