[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 95696] New: Cursor navigation should not trigger code completion window
From:       kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date:       2004-12-22 21:41:04
Message-ID: 20041222224102.95696.fabio () gs2 ! com ! br
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
        
http://bugs.kde.org/show_bug.cgi?id=95696        
           Summary: Cursor navigation should not trigger code completion
                    window
           Product: kdevelop
           Version: 3.0.4
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: fabio gs2 com br


Version:           3.0.4 (using KDE KDE 3.2.3)
Installed from:    Debian testing/unstable Packages
OS:                Linux

I am using KDevelop to code PHP projects. When I navigate through the code with the arrow keys, \
KDevelop has the following weird behaviors:

1. When I walk on the end of a word, it displays the Code Completion Window with symbols that \
begin with that word, as if I was typing that word. For example, if I walk to the end of an \
"if", it offers me ifx_connect(), ifx_close(), etc.

2. Whem I walk to the beginning of a line that begins with tabs or an empty line, it displays \
the same window, offering me class names, probably thinking I created that line, offering me \
classes to instantiate.

In both cases, the code completion pop-up window grabs the keyboard focus, so when I press Up \
and Down, I move the selection of the listbox instead of moving the cursor of the text editor. \
In case "2", if I want to go down, walking through a lot of empty or indented lines, I must \
press an Esc for every Down Arrow.

This kind of behavior gets in the way when you are waking through the code and is a real \
showstopper, at least for those developing PHP applications. Imagine a text editor that \
prevents you from using the arrow keys. :P

My humble opinion is:
The code completion window should not be triggered by cursor navigation. Instead, the window \
should be triggered only by typing text or by hitting Ctrl+Space.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic