https://bugs.kde.org/show_bug.cgi?id=401509

            Bug ID: 401509
           Summary: Autocompletion doesn't complete incomplete
                    uppercase-snake-style words
           Product: kate
           Version: unspecified
          Platform: unspecified
                OS: All
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: david.hu...@mailbox.org
  Target Milestone: ---

SUMMARY
C defines written in uppercase snake style are not recognized/accesible by
kate's autocompletion (Ctrl+Space), like words in lowercase snake style are.

STEPS TO REPRODUCE
1. Write '#ifndef SNAKE_STYLE_H'
2. Write '#define SSH' or '#define ssh'
3. Trigger autocompletion (Ctrl+Space, if you disabled auto-autocompletion)

OBSERVED RESULT
Autocompletion does nothing. Uppercase words have to be written exactly, before
they are recognized (SNA[...] instead of SSH)

EXPECTED RESULT
Autocompletion recognizes the first letters 'S', 'S', 'H', which follow \b or
_, so SSH (or even ssh) can be completed. Because the word is all uppercase,
'NAKE' and 'TYLE' are no "first letters", like capital letters in camel-case
are.

SOFTWARE/OS VERSIONS
Everything I used in the last 6 Years (Kubuntu, other *buntu, Raspian, Windows,
kdelibs4, KF5, many kate versions...)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to