Skip to content

[Feature request] Perl Function List: add class/method syntax #17382

@pryrt

Description

@pryrt

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

As per https://community.notepad-plus-plus.org/topic/27322/perl-keywords-class-and-method-not-recognised-by-function-list, when #14191 added the new keywords for 5.38 a few years ago, it should have also updated the Function List parser for Perl to handle class/method syntax in addition to the traditional package/sub syntax.

Describe the solution you'd like.

I will add those alternative keywords for classes and methods, and update the test file and results to verify.

Debug Information

Notepad++ v8.9   (32-bit)
Build time: Dec 27 2025 - 14:27:12
Scintilla/Lexilla included: 5.5.8/5.4.6
Boost Regex included: 1_85
TinyXML-2 included: 11.0.0
nlohmann JSON included: 3.12.0
Path: C:\usr\local\apps\npp\npp.8.9.portable\notepad++.exe
Command Line: 
Admin mode: OFF
Local Conf mode: ON
Cloud Config: OFF
Periodic Backup: ON
Placeholders: OFF
Scintilla Rendering Mode: SC_TECHNOLOGY_DIRECTWRITE (1)
Multi-instance Mode: monoInst
asNotepad: OFF
File Status Auto-Detection: cdEnabledNew (for current file/tab only)
Dark Mode: OFF
Display Info:
    primary monitor: 1920x1080, scaling 100%
    visible monitors count: 1
    installed Display Class adapters: 
        0000: Description - Intel(R) UHD Graphics 770
        0000: DriverVersion - 32.0.101.7026
OS Name: Windows 11 Home (64-bit)
OS Version: 24H2
OS Build: 26100.7171
Current ANSI codepage: 1252
Plugins: 
    ComparePlus (2.2)
    JsonTools (8.4)
    mimeTools (3.1)
    NppConverter (4.7)
    NppExport (0.4)

Anything else?

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions