Auto-completion does not include keywords
Operating System and Version
Fedora 41
Distribution
flathub
Description
When typing, keyword suggestions should appear based on the language you are in.
In C++, when typing "publ", the autocompletion should suggest "public" based on the keywords set here: https://github.com/dail8859/NotepadNext/blob/master/src/NotepadNext/languages/cpp.lua
In every language the keyword autocompletion is broken. The autocomplete only suggests existing words in your file.
Steps to Reproduce
- Create a new file test.cpp.
- Open in NotepadNext
- Type in any keyword. For example, "class" or "public". You will notice no suggestions appear.
- Once you have words in the file, suggestions will appear, but only those existing in the file already.
Debug Information
Notepad Next v0.12 (Flatpak) Build Date/Time: Nov 11 2011 11:11:11 Qt: 6.5.3 OS: KDE Flatpak runtime Locale: en_US CPU: x86_64 File Path: /app/bin/NotepadNext Arguments: NotepadNext Config File: /home/cory/.var/app/com.github.dail8859.NotepadNext/config/NotepadNext/NotepadNext.ini
Additional Details
Upon further inspection, Notepad Next does not perform keyword auto-completion at all. I believe Notepad Next should offer this feature, just like Notepad++ does.