If i recall correctly, Glitch had an awesome function where if I typed ( then the editor would automatically complete it i.e. append )
but since yesterday (its the time when I noticed it)
I see the feature dissapeared.
So if I am incorrect about the exsitence of feature over glitch, correct me.
Else if it had some existence can anyone tell me why is it not working for me ??
Indeed I asked a friend of mine to test and he also noticed the same thing.
You’re right - it used to do that. We turned that off the other day, because we found it more annoying than helpful - If you’re trying to add ( before some code that already exists, it adds the ) in the wrong place, and it does the same thing with “”.
I’m interested in how everyone else feels about that feature.
For the moment, you can turn it back on by putting this in the JS console in the browser debugging tools:
Aside from the problem you stated, its an really awesome feature I would love to see in any editor in use,
And I guess more people also feel like that.
And if you guys are planning to remove it, then I guess having it setup per-project can also be a good alternative.
How about only inserting the matching quote/bracket if the cursor is before whitespace (or the EOF) or if text is selected (in that case, the quotes/parens/etc should go around the selection.
We don’t have immediate plans to make options for these kinds of settings but we’re actively working on the Editor so it’s possible this might come up down the road and it would be helpful for us to know what things folks would like to toggle.