Skip to content

Auto-completion does not include keywords #839

@corytertel

Description

@corytertel

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

  1. Create a new file test.cpp.
  2. Open in NotepadNext
  3. Type in any keyword. For example, "class" or "public". You will notice no suggestions appear.
  4. 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

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions