Skip to content

Added 'override', ' before' and 'after' moose modifiers to symbols list.#182

Open
carlosfrodriguez wants to merge 1 commit intobscan:mainfrom
carlosfrodriguez:feature-fix-missing-moose-modifiers-cr
Open

Added 'override', ' before' and 'after' moose modifiers to symbols list.#182
carlosfrodriguez wants to merge 1 commit intobscan:mainfrom
carlosfrodriguez:feature-fix-missing-moose-modifiers-cr

Conversation

@carlosfrodriguez
Copy link

Support override, before, and after Moose/Moo modifiers

The parser previously detected only the around method modifier.
override, before, and after were not recognized, so modified methods using these keywords were missing from the symbol list.

This change extends the existing regex to include all standard Moose/Moo method modifiers:

/^(?:around|before|after|override)\s+["']?([\w:]+)\b/

Result
• Modified methods now appear in the VSCode Symbol Outline
• Improved navigation in Moose/Moo-based classes
• Consistent handling of all method modifiers

@carlosfrodriguez
Copy link
Author

Should fix: #181

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant