Skip to content

Navigation

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

Navigate through instances inside a module

  • verilog-ext-find-module-instance-fwd
  • verilog-ext-find-module-instance-bwd

Jump to definition/references of module at point

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

For Ubuntu/Debian:

sudo apt-get install global universal-ctags python3-pygments silversearcher-ag ripgrep
  • verilog-ext-jump-to-module-at-point-def
  • verilog-ext-jump-to-module-at-point-ref

Jump to parent module

Jump to parent module via ag/ripgrep.

For Ubuntu/Debian:

sudo apt-get install global universal-ctags python3-pygments silversearcher-ag ripgrep
  • verilog-ext-jump-to-parent-module

Context aware dwim navigation (do what I mean)

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.

  • verilog-ext-nav-beg-of-defun-dwim
  • verilog-ext-nav-end-of-defun-dwim
  • verilog-ext-nav-down-dwim
  • verilog-ext-nav-up-dwim
  • verilog-ext-nav-prev-dwim
  • verilog-ext-nav-next-dwim
Clone this wiki locally