Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable autocomplete closing parenthesis around selected text

Tags:

I'm currently using Delphi10, and when I have a block of code selected and type and opening parenthesis "(" then instead of Delphi replacing the selected text by the opening parenthesis, it rather keeps the text but adds the opening parenthesis at the start of the selected text and a closing parenthesis at the end of the selected text. But I want it to just delete the selected text and write the "(" I just typed, as if I had typed any other character.

I tried disabling all options in Tools --> Options --> Editor Options --> Code Insight, but the unwanted behavior continues. How do I change this?

like image 639
Mardulu Avatar asked May 09 '16 02:05

Mardulu


1 Answers

That's a feature called smart surround keys. You can control it under key mappings of your editor options.

like image 127
Rob Kennedy Avatar answered Oct 11 '22 09:10

Rob Kennedy