Menu

#1279 ccmanager ignores completion request

Undefined
fixed
pecan
RFC (1)
Undefined
2022-08-16
2022-06-30
pecan
No

This is a request for comments.

ccmanager ignores completion requests when its length is the same as the previous mispelled request.
Example:
Create a virgin wx project. type "OnC", in the last method (OnAbout).
Completion will suggest OnClose. Hit escape.
Backup and change C to Q for OnQuit. No suggestions occur.
All three letter requests will be ignored until a 4th letter is typed.

This patch adds a test of the pattern text to determine if the last request is different from the current. It works for both plugins codecompletion and clangd_client.

1 Attachments

Discussion

  • pecan

    pecan - 2022-06-30
    • assigned_to: pecan
     
  • pecan

    pecan - 2022-06-30
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,3 +1,5 @@
    +This is a request for comments.
    +
     ccmanager ignores completion requests when its length is the same as the previous mispelled request. 
     Example: 
     Create a virgin wx project. type "OnC", in the last method (OnAbout).
    
     
  • pecan

    pecan - 2022-06-30
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -6,3 +6,5 @@
     Completion will suggest OnClose. Hit escape.
     Backup and change C to Q for OnQuit. No suggestions occur. 
     All three letter requests will be ignored until a 4th letter is typed.
    +
    +This patch adds a test to determine if the last request is different from the current.
    
     
  • pecan

    pecan - 2022-06-30
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -7,4 +7,4 @@
     Backup and change C to Q for OnQuit. No suggestions occur. 
     All three letter requests will be ignored until a 4th letter is typed.
    
    -This patch adds a test to determine if the last request is different from the current.
    +This patch adds a test of the pattern text to determine if the last request is different from the current. It works for both plugins codecompletion and clangd_client. 
    
     
  • Miguel Gimenez

    Miguel Gimenez - 2022-08-12

    I think this was fixed in [r12847].

     

    Related

    Commit: [r12847]

  • pecan

    pecan - 2022-08-16
    • status: open --> fixed
     
  • pecan

    pecan - 2022-08-16

    Fixed r12847

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.