Preferences> Editor > General > Smart Keys: Surround selection on typing quote or brace.