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

            Bug ID: 374301
           Summary: Code completion should offer variable first
           Product: kdevelop
           Version: 5.0.3
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Language Support: CPP (Clang-based)
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: master.ha...@gmail.com
  Target Milestone: ---

When using code completion, it should offer the variable before offering the
variable's methods, regardless of what you using it for.

QList<int> values;

int foo=values.at(0);

if you hit the code completion at any point while typing 'values' before the
'.', it will complete to 'values.count()'. i think it should probably always
have the full variable name be at the top of the offered completion because
hitting enter and accepting the first choice shouldnt ever require that you
undo what you just did in order to get it right. If it offers the variable
first, the worst that would happen is that you have to hit the dot to get the
completion again.

This is especially annoying because it seems to be ignoring a huge number of
methods for QList, so it doesnt even realize that values.at() exists as a
method.

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

Reply via email to