notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
'define', 'include' keyword missing in C/C++ autoCompletion files
@donho is already working on this.
Since Feb 7, 2022.
- Dominant language
- C++
- Stars
- 29.4k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Description of the Issue
The keyword define (used as #define) and include (used as #include) in C/C++ files is missing from the 'autoCompletion/c.xml' and 'autoCompletion/cpp.xml' files. The keyword #define and #include is present; however, without # as an additionalWordChar in either file, typing #define never offers the autocomplete.
I've tried adding the additionalWordChar="#" but that doesn't seem to help. The simplest way may be to just add 'define' and 'include' themselves as keywords.
Steps to Reproduce the Issue
- Open Notepad++ select C or C++ as language from menu
- Ensure Settings => Preferences => Auto-Completion is enabled
- Type
#define - Notice
#defineis never offered as an autocomplete option.
Expected Behavior
#define is offered as an autocomplete option.
Actual Behavior
#define is never offered as an autocomplete option.
Debug Information
Notepad++ v8 (64-bit)
Build time : Jun 16 2021 - 01:08:30
Path : C:\usr\bin\npp64\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 1909
OS Build : 18363.1621
Current ANSI codepage : 1252
Plugins :
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.
Assessment
This issue has not been assessed yet.