Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get CTags to work #62

Closed
SoerenSofke opened this issue Mar 3, 2019 · 4 comments
Closed

Can't get CTags to work #62

SoerenSofke opened this issue Mar 3, 2019 · 4 comments

Comments

@SoerenSofke
Copy link

Hi,

I am trying to set up CTags to provide outlines, autocompletion, etc. But things will not come together.

I am using Windows 10, latest VSCode, CTags as of today and the most recent Verilog extension. CTags binaries are installed in C:\CTags, propper path is applied in VSCode extension settings.

Any ideas on how to debug?

Best
Sören

@Raamakrishnan
Copy link
Contributor

Hi,

  1. Are you able to run ctags from command line and is the output correct?
  2. In the settings, verilog.ctags.path should actually point to the executable and not the folder in which it is located. I think this might be misunderstood from the README.

For example,
Correct : "verilog.ctags.path": "C:\CTags\ctags.exe"
Incorrect : "verilog.ctags.path": "C:\CTags"

  1. Can you try adding your ctags installation folder to PATH variable and setting verilog.ctags.path to ctags?

Thanks

@SoerenSofke
Copy link
Author

SoerenSofke commented Mar 3, 2019

Hi,

Are you able to run ctags from command line and is the output correct?

I was only able to execute ctags on the command line after deleting the environment variable. See here for reference: universal-ctags/ctags#1775

After, I corrected "verilog.ctags.path" to "C:\CTags\ctags.exe"

Now certain features of the plugins are working, e.g. outline, autocompletion.
Goto Definition and Peek Definition are still not working.

Any ideas on how to proceed?

Best, Sören

@Raamakrishnan
Copy link
Contributor

Goto Definition and Peek Definition only works within a file for now. If it is not working within a file, can you attach the file where you are having trouble?

@rliangcn
Copy link

I have the same question. I wonder why this issue, which seems unresolved, was closed.

Does this imply that the project is outdated and incompatible with newer versions of Visual Studio Code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants