1. 26 Aug, 2019 2 commits
  2. 10 Aug, 2019 1 commit
  3. 19 Jul, 2019 1 commit
  4. 16 Jun, 2019 1 commit
  5. 06 May, 2019 1 commit
  6. 03 Dec, 2018 2 commits
  7. 20 Nov, 2018 1 commit
  8. 27 Oct, 2018 1 commit
  9. 23 Oct, 2018 2 commits
    • Amish Naidu's avatar
      Place cursor after opening brace for function implementation · 48e0f084
      Amish Naidu authored
      Summary:
      This will place the cursor after the opening brace for the generated
      body of the function implementation, similar to how the cursor is placed
      after the opening parenthesis of an executed function declaration
      completion.
      
      Reviewers: brauch
      
      Reviewed By: brauch
      
      Subscribers: brauch, kdevelop-devel
      
      Tags: #kdevelop
      
      Differential Revision: https://phabricator.kde.org/D16386
      48e0f084
    • Amish Naidu's avatar
      Replace leading typed text when completing function implementation · 4f2fc9e3
      Amish Naidu authored
      Summary:
      When executing function-implementation auto-completion, this will now
      replace and leading typed text that matches the proposed completion
      instead of duplicating it.
      
      BUG: 384710
      
      Test Plan:
      ```
      int Foo(int thing);
      struct Bar
      {
        void Method(int thing);
      }
      ```
      Start typing `int Foo` or `Bar::Meth` and then execute the offered completion.
      
      Reviewers: #kdevelop, mwolff
      
      Reviewed By: #kdevelop, mwolff
      
      Subscribers: kfunk, brauch, mwolff, apol, kdevelop-devel
      
      Tags: #kdevelop
      
      Differential Revision: https://phabricator.kde.org/D16326
      4f2fc9e3
  10. 12 Sep, 2018 1 commit
  11. 20 Aug, 2018 1 commit
  12. 17 Aug, 2018 1 commit
  13. 15 Aug, 2018 3 commits
  14. 13 Aug, 2018 1 commit
  15. 06 Aug, 2018 1 commit
  16. 15 Mar, 2018 1 commit
  17. 01 Mar, 2018 1 commit
  18. 26 Feb, 2018 1 commit
  19. 09 Jan, 2018 4 commits
    • Milian Wolff's avatar
      Workaround: find declarations for constructor argument hints · 113deb25
      Milian Wolff authored
      Summary:
      For non-namespaced constructors we can find the declarations by
      manually adding the identifier a second time before the lookup,
      as that gives us the proper QID. This allows us to find the
      declaration for many situations, most notably for most Qt classes.
      
      Subscribers: kdevelop-devel
      
      Differential Revision: https://phabricator.kde.org/D9745
      113deb25
    • Milian Wolff's avatar
      clang: Improve argument hint code completion · 203b02d4
      Milian Wolff authored
      Summary:
      Previously, the overload candidates never got an DUChain Declaration
      associated, meaning we could not inspect the API documentation in-line
      from the code completion. The reason was that most of the time the
      hinted declaration is also a valid "normal" completion item, and thus
      was found a second time. The findDeclaration call then returned null
      for the second call, since we added the declaration to the exclusion
      set after the first call. Instead, use a separate set for overload
      candidates to fix this. Note that the expanded argument hint item
      is still not showing any documentation in-line... Apparently there's
      more to fix to get this done properly.
      
      While at it, also use the ArgumentHintItem for the situations where
      we (now) find a Declaration, to get proper current-argument
      highlighting.
      
      Then fix the unit test to expect the default arguments. Though
      potentially this is clang-version dependent? Anyhow, this makes the
      test pass for me on my machine with libclang from LLVM 5.0.0.
      
      Reviewers: #kdevelop
      
      Subscribers: kdevelop-devel
      
      Differential Revision: https://phabricator.kde.org/D9725
      203b02d4
    • Milian Wolff's avatar
      Cleanup: use auto and remove explicit KDevelop:: qualification from identifiers · f1f23ce1
      Milian Wolff authored
      Reviewers: #kdevelop
      
      Subscribers: kdevelop-devel
      
      Differential Revision: https://phabricator.kde.org/D9721
      f1f23ce1
    • Milian Wolff's avatar
      Cleanup: Reduce amount of ifdefs · 35d1bfa3
      Milian Wolff authored
      Summary:
      Only use one ifdef and store result in a boolean, then use that
      variable elsewhere.
      
      Reviewers: #kdevelop
      
      Subscribers: kdevelop-devel
      
      Differential Revision: https://phabricator.kde.org/D9720
      35d1bfa3
  20. 21 Nov, 2017 1 commit
  21. 28 Sep, 2017 1 commit
  22. 13 Sep, 2017 1 commit
  23. 29 Jul, 2017 4 commits
  24. 27 Jul, 2017 1 commit
    • Sven Brauch's avatar
      clang: fix precompiled preamble cache misses · f14a8fc9
      Sven Brauch authored
      We were a) passing in a wrong file size, and b) a different set of unsaved
      files on building the translation unit as compared to invoking completion.
      This resulted in the precompiled preamble being rebuilt every single time.
      On my test file, time spent in clang_codeCompleteAt goes down from ~700ms
      to ~12ms with this change after the project is fully parsed.
      
      It still doesn't work in header files at all.
      
      Differential Revision: https://phabricator.kde.org/D6905
      f14a8fc9
  25. 16 Jul, 2017 1 commit
  26. 28 Jun, 2017 3 commits
  27. 07 Apr, 2017 1 commit