We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb21064 commit 11dd164Copy full SHA for 11dd164
src/commands/ModuleInstantiation.ts
@@ -159,8 +159,9 @@ class ModuleTags extends Ctags {
159
lines.forEach((line) => {
160
if (line !== '') {
161
let tag: Symbol = this.parseTagLine(line);
162
- // add only modules and ports
163
- if (tag.type === 'module' || tag.type === 'port' || tag.type === 'constant') {
+ // add only modules, ports and parameters
+ // Use 'parameter' type instead of 'constant' after #102
164
+ if (tag.type === 'module' || tag.type === 'port' || tag.type === 'parameter') {
165
this.symbols.push(tag);
166
}
167
0 commit comments