gediminasz / ctags-companion

A Visual Studio Code symbols provider based on Ctags
https://marketplace.visualstudio.com/items?itemName=gediminaszlatkus.ctags-companion
MIT License
25 stars 7 forks source link

How to debug? #11

Closed dufferzafar closed 3 years ago

dufferzafar commented 3 years ago

The extension isn't working. When i select the reindex command. The status bar shows Ctags Companion: reindexing <project name> but nothing actually happens.

Go to symbol in file, Go to symbol in Workspace, Go to definition, nothing works!

How can I debug this further?

╰─❯ ctags --version
Universal Ctags 0.0.0(bf00708d), Copyright (C) 2015 Universal Ctags Team
Universal Ctags is derived from Exuberant Ctags.
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
  Compiled: Dec  2 2019, 16:28:04
  URL: https://ctags.io/
  Optional compiled features: +wildcards, +regex, +iconv, +option-directory, +xpath, +yaml, +packcc
gediminasz commented 3 years ago

Hello @dufferzafar . Is the .vscode/.tags file present?

I know this is confusing but are you using the "reindex" command or the "rebuild ctags" task?

Reindex

This only reindexes an existing ctags file. So if it is not present, nothing gets indexed.

Screenshot 2021-02-16 at 11 20 38

Rebuild

This will generate the ctags file and index it.

Screenshot 2021-02-16 at 11 23 07 Screenshot 2021-02-16 at 11 20 05