Skip to content

Completion

Gonzalo Larumbe edited this page Aug 21, 2023 · 6 revisions

Configuration

First make sure that capf has been included in verilog-ext-feature-list before running verilog-ext-mode-setup.

Next select which backend you want to use for tags collection: builtin or tree-sitter if available.

(setq verilog-ext-tags-backend 'tree-sitter)

Then, it is needed to set workspace variables for file parsing and gather project tags through one of these methods:

  • M-x verilog-ext-workspace-get-tags RET
  • M-x verilog-ext-workspace-get-tags-async RET

A tag database will be created and cached for future sessions.

Finally run completion-at-point, or if you are using company add company-capf as a company backend.

Clone this wiki locally