You can customize the operation of the SQL Server Management Studio editors by configuring the options for each editor.
Setting Editor Options
Most of the editor options are set by using the Tools menu and selecting Options... to display an Options dialog. In the Options dialog, open the Text Editor node in the left pane to set code and text editing options. The nodes under Text Editor apply to specific editors:
All Languages - options set using this node apply to all of the Management Studio editors. You can override these settings by using the other nodes to set different options for a specific editor.
Plain Text - options set using this node apply to the MDX, DMX, and text editors.
Transact-SQL - options set using this node apply to the Database Engine Query Editor.
XML - options set using this node apply to the XML for Analysis editor.
Open the Query Execution or Query Results nodes to customize the execution of queries and how the results are displayed.
Editor Configuration Tasks
Task Description
Topic
Describes how to specify that an editor be opened by double-clicking on a file with a specified extension in Windows Explorer.
Administer an SQL Server database infrastructure for cloud, on-premises and hybrid relational databases using the Microsoft PaaS relational database offerings.