vhdl-speedbar-menu-items
vhdl-speedbar-menu-items is a variable defined in `
vhdl-mode.el
'.
Its value is shown
below.
Documentation:
Additional menu-items to add to speedbar frame.
Value:
(["Edit" speedbar-edit-line t]
["Expand" speedbar-expand-line
(save-excursion
(beginning-of-line)
(looking-at "[0-9]+: *.\\+. "))]
["Contract" vhdl-speedbar-contract-level t]
["Expand All" vhdl-speedbar-expand-all t]
["Contract All" vhdl-speedbar-contract-all t]
("Hierarchy Depth"
["All"
(vhdl-speedbar-set-depth 0)
:style radio :selected
(= vhdl-speedbar-hierarchy-depth 0)
:keys "0"]
["1"
(vhdl-speedbar-set-depth 1)
:style radio :selected
(= vhdl-speedbar-hierarchy-depth 1)
:keys "1"]
["2"
(vhdl-speedbar-set-depth 2)
:style radio :selected
(= vhdl-speedbar-hierarchy-depth 2)
:keys "2"]
["3"
(vhdl-speedbar-set-depth 3)
:style radio :selected
(= vhdl-speedbar-hierarchy-depth 3)
:keys "3"]
["4"
(vhdl-speedbar-set-depth 4)
:style radio :selected
(= vhdl-speedbar-hierarchy-depth 4)
:keys "4"]
["5"
(vhdl-speedbar-set-depth 5)
:style radio :selected
(= vhdl-speedbar-hierarchy-depth 5)
:keys "5"]
["6"
(vhdl-speedbar-set-depth 6)
:style radio :selected
(= vhdl-speedbar-hierarchy-depth 6)
:keys "6"]
["7"
(vhdl-speedbar-set-depth 7)
:style radio :selected
(= vhdl-speedbar-hierarchy-depth 7)
:keys "7"]
["8"
(vhdl-speedbar-set-depth 8)
:style radio :selected
(= vhdl-speedbar-hierarchy-depth 8)
:keys "8"]
["9"
(vhdl-speedbar-set-depth 9)
:style radio :selected
(= vhdl-speedbar-hierarchy-depth 9)
:keys "9"])
"--"
["Copy Port/Subprogram" vhdl-speedbar-port-copy
(or
(vhdl-speedbar-check-unit 'entity)
(vhdl-speedbar-check-unit 'subprogram))]
["Place Component" vhdl-speedbar-place-component
(vhdl-speedbar-check-unit 'entity)]
["Generate Configuration" vhdl-speedbar-configuration
(vhdl-speedbar-check-unit 'architecture)]
["Select as MRA" vhdl-speedbar-select-mra
(vhdl-speedbar-check-unit 'architecture)]
["Make" vhdl-speedbar-make-design
(save-excursion
(beginning-of-line)
(looking-at "[0-9]+: *[[<]"))]
["Generate Makefile" vhdl-speedbar-generate-makefile
(save-excursion
(beginning-of-line)
(looking-at "[0-9]+:"))]
["Rescan Directory" vhdl-speedbar-rescan-hierarchy :active
(save-excursion
(beginning-of-line)
(looking-at "[0-9]+:"))
:visible
(not vhdl-speedbar-show-projects)]
["Rescan Project" vhdl-speedbar-rescan-hierarchy :active
(save-excursion
(beginning-of-line)
(looking-at "[0-9]+:"))
:visible vhdl-speedbar-show-projects]
["Save Caches" vhdl-save-caches vhdl-updated-project-list])