1、首先,打开一个的IntelliJ IDEA的代码工具的界面中
2、进入到了IntelliJ IDEA的界面中,点击左上角中的 file 菜单
3、点击了file菜单之后,弹出了下拉菜单选中为 settings 选项
4、进入到了settings界面中,选中左侧中 smart keys 选项
5、选中左侧中 smart keys 选项之后,勾选上 surround selection on typing quote or brace 选项
6、勾选上 surround selection on typing quote or brace 选项之后,点击 ok 来保存当前的设置。