Closed veripoolbot closed 5 years ago
Original Redmine Comment Author Name: Wilson Snyder (@wsnyder) Original Date: 2019-08-27T17:41:49Z
Thanks for the report. Fixed this in git and verilog-mode-2019-08-27-be9b5af-vpo.
Note "swiper" can't be used by default as it's not distributed with Emacs itself (as Verilog-mode is).
Author Name: Enze Chi Original Redmine Issue: 1492 from https://www.veripool.org
Original Assignee: Wilson Snyder (@wsnyder)
When run the
verilog-goto-defun
command in verilog file buffer, the functions and tasks are not listed as candidates.As in the
verilog-build-defun-re
function, the original regexp only match with function/task start with no leading spaces and not taking "automatic|static" keywords and return type before function name into account.I did a little bit local hack as below, the function and task names are presented as candidates now:
Also tweak required for
verilog-comp-defun
as more matched items may be found.As the
swiper
package does great job for searching, it maybe good to delicate this functionality to it. The "class|package|interface", etc can all be found easily.