Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Kate Kate
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 26
    • Issues 26
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 4
    • Merge requests 4
  • 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
  • UtilitiesUtilities
  • KateKate
  • Merge requests
  • !192

Fix extra inverted comma on autocomplete with autobrackets

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Waqar Ahmed requested to merge work/lspdoublecomma into master Jan 20, 2021
  • Overview 11
  • Commits 3
  • Pipelines 0
  • Changes 1

If you have auto brackets on with the chars "" in it, consider the following case:

#include "someth"

when you autocomplete it, it becomes:

#include "something.h""

which is annoying. This change fixes this by removing the comma from incoming match if both the existing word and matching completion have an inverted comma at the end.

Edited Jan 20, 2021 by Waqar Ahmed
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/lspdoublecomma