notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
Function List doesn't show functions with C++ Builder keywords
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 29.4k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Is there an existing issue for this?
- I have searched the existing issues
Description of the Issue
C++ functions with keywords:
- __fastcall
- _export
- __export
- WINAPI
- __stdcall
- __declspec
and others...
Steps To Reproduce
- Create a new C source file, foo.cpp.
- Write the simplest function which returns boolean true.
- Save the file and make sure that function list shows new record.
- Add __export keyword before function name.
- Save the file and check function list again. There are no any records again.
Current Behavior
Functions with optional C++ (Builder) keywords are not showing in the list
Expected Behavior
Functions list should parse these keywords
Debug Information
Notepad++ v8.6.7 (64-bit)
Build time : May 12 2024 - 20:04:00
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : "d:\projects\graphit_dev\core\environment.cpp"
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 10 Pro (64-bit)
OS Version : 22H2
OS Build : 19045.4046
Current ANSI codepage : 1251
Plugins :
GitSCM (1.4.8.2)
mimeTools (3.1)
NppConverter (4.6)
NppExport (0.4)
NppXmlTreeviewPlugin (2)
XMLTools (3.1.1.13)
Anything else?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with a saved foo.cpp containing a function preceded by __export, then trace the Function List handling for C++ declarations and the listed keywords. Done means functions using __fastcall, _export, __export, WINAPI, __stdcall, __declspec, and similar keywords appear in the Function List.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100