Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • K KTextEditor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FrameworksFrameworks
  • KTextEditor
  • Merge requests
  • !271

completion: show doc in a tooltip instead of as a tree node

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Waqar Ahmed requested to merge work/doc-tip into master Jan 29, 2022
  • Overview 22
  • Commits 11
  • Pipelines 22
  • Changes 18

This has a few advantages:

  • More usable out of the box, if the completion you select has doc, it will auto show up and will have more text visible than what we already have
  • No expand buttons needed anymore which allows the completion item texts to use more space
  • Since there are no expand buttons, things look more uniform and don't jump when items are filtered and the filtered items don't have any docs.
  • Allows using setUniformRowHeights which is good for performance
  • Allows dropping the KTextWidgets dependency (haven't done it yet)

See the video:

2022-01-29_16-11-30

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/doc-tip