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

List:       kdevelop-bugs
Subject:    [Bug 255867] New: file-codecompletion is confused by dots
From:       Milian Wolff <mail () milianw ! de>
Date:       2010-11-02 9:42:51
Message-ID: bug-255867-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: file-codecompletion is confused by dots
           Product: kdevelop
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: Build tools: CMake
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: mail@milianw.de


Version:           unspecified
OS:                Linux

cmake provides file-code completion in e.g. include_directories. But it can be
easily confused with something like this:


Reproducible: Always

Steps to Reproduce:
set(someVar
  foo.cpp
)

- place cursor after the foo, before the dot
- request file code completion
- insert some file

Actual Results:  
set(someVar
  bar.cpp.cpp
)
(assuming you inserted bar.cpp)

Expected Results:  
set(someVar
  bar.cpp
)


something similar happens if you try to request code completion in the file
extension, e.g. with the cursor somewhere in the .cpp part. It looks for files
starting with cpp

The code completion model should overload some of the helper functions to add
"." to the allowed chars.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

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