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

            Bug ID: 475236
           Summary: Option 'Auto select first completion entry' (from
                    Kate/Ktexteditor) not honoured by KDevelop
                    autocompletion
    Classification: Applications
           Product: kdevelop
           Version: 5.10.221203
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: Code completion
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: andrewclimb...@gmail.com
  Target Milestone: ---

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. In Settings -> Editor -> Editing -> Auto Completion, turn off 'Auto select
first completion entry'
2. Type something that triggers auto completion (from the KDevelop language
support side, not the basic Kate autocomplete)
3. Press Enter

OBSERVED RESULT
The first result of the autocompletion is inserted because the first
autocomplete entry is selected

EXPECTED RESULT
A new line is inserted because no autocompletion entry is selected

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
The Kate option to not auto-select the first autocompletion target is not
honoured by KDevelop's autocompletion even though the option exists in the
KDevelop settings. This causes issues when getting spurious autocompletion
(e.g. for Python, it constantly tries to insert a blank variable entry in f
strings).

Resolved bug in Kate that led to development of option:
https://bugs.kde.org/show_bug.cgi?id=316413
Commit in Kate that adds option:
https://invent.kde.org/frameworks/ktexteditor/-/commit/3733a2b4b7a6813820ce7a55196e64ccfed4e90d

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

Reply via email to