sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
804 stars 39 forks source link

Autocompletion of closed parenthesis/etc should work before a comma #3247

Open RheingoldRiver opened 4 years ago

RheingoldRiver commented 4 years ago

Wanted behavior

Before a , an ( should be autocompleted by a ) (same for brackets, braces, quotes)

Current Behavior

The parenthesis isn't autocomplete-closed

Steps to reproduce

  1. Type ,
  2. Press left arrow
  3. Type (

image

        orderBy = (,
        types = {
            IsLegacy = 'boolean'
        }
jfcherng commented 4 years ago

it can be configured like https://github.com/jfcherng/my-Sublime-Text-settings/blob/264b11522b54ec03d14e5b538ff75c0a48da1b1a/Packages/my_keymap/LatinQuotes/Default.sublime-keymap#L115

RheingoldRiver commented 4 years ago

Ah ok thanks!

FichteFoll commented 4 years ago

Yes, it can be configured, but I believe it's in our interest to get this into the default distribution.