Skip to content

Navigation

Gonzalo Larumbe edited this page Feb 20, 2023 · 14 revisions

For Ubuntu/Debian:

sudo apt-get install global universal-ctags python3-pygments silversearcher-ag ripgrep

Dwim

Context aware functions (do what I mean) depending on the file being edited. Modules (RTL) navigate through instances while classes (Verification) navigate through methods/defuns.

Functions:

  • verilog-ext-nav-down-dwim
  • verilog-ext-nav-up-dwim
  • verilog-ext-nav-beg-of-defun-dwim
  • verilog-ext-nav-end-of-defun-dwim
  • verilog-ext-nav-next-dwim
  • verilog-ext-nav-prev-dwim

Jump to definition of module at point. Requires setting up an xref-backend via LSP, ggtags or other means. See link to configure.

Jump to parent module via ag/ripgrep.

Context aware functions (do what I mean) depending on the file being edited. Modules (RTL) navigate through instances while classes (Verification) navigate through methods/defuns.

Clone this wiki locally