The Column Chooser extension for Azure Data Studio allows users to easily select and customize columns in SQL SELECT statements.
- Displays a list of available columns in a SQL SELECT statement.
- Supports multi-column selection.
- Retrieves column information from the connected database, including column names and data types.
- Provides the option to qualify columns with their respective table or schema names.
- Automatically formats the modified SQL query for better readability.
- Support for T-SQL with other databases to come.
- Shows column description in column picker when MS_Description available.
To install the Column Chooser extension, follow these steps:
- Open Azure Data Studio.
- Go to the Extensions view by clicking on the square icon on the sidebar or by pressing
Ctrl+Shift+X
. - Search for "Column Chooser".
- Click on the "Install" button next to the Column Chooser extension.
To install a .vsix
(VISX) extension file in Azure Data Studio, you can follow these steps:
-
Download the VISX File: Obtain the
.vsix
extension file either from the extension's official website, a download todo: here, or a source like the Azure Data Studio Marketplace. -
Open Azure Data Studio: Launch Azure Data Studio on your computer.
-
Access Extensions View:
- Click on the "Extensions" icon on the Activity Bar on the side of the window (it looks like four squares).
- Alternatively, press
Ctrl+Shift+X
(Windows/Linux) orCmd+Shift+X
(Mac) to open the Extensions view directly.
-
Install VISX:
- Once the Extensions view is open, click on the ellipsis (three dots) to open the Extensions menu.
- You will see options like "Check for Extenting Updates", "Auto Update Extensions", "Install from VISX", etc.
- Choose "Install from VISX..." from the menu.
- Alternativly the "Install from VISX..." may be found on the File menu.
- Locate the
.vsix
file on your computer in the file picker dialog that appears, then select and open it.
-
Follow the Installation Process:
- Azure Data Studio will start installing the extension.
- You may be prompted to confirm that you want to install the extension. Click "Install" to proceed.
-
Restart Azure Data Studio (if required):
- In some cases, Azure Data Studio may prompt you to restart the editor to complete the installation. If prompted, click "Restart Now" to restart the editor.
-
Verify Installation:
- After restarting, the extension should be installed and ready to use.
- You can verify the installation by checking if the extension appears in the list of installed extensions in the Extensions view.
That's it! You have successfully installed a VISX extension file in Azure Data Studio. You can now start using the features provided by the extension.
- Open a SQL file in Azure Data Studio.
- Enter a SELECT statement into the editor.
- Press
Ctrl+Shift+P
orF1
to open the command palette. - Type "Column Chooser" and select the command.
- Alterativly use the mapped keyboard
Ctrl+Alt+C
(PC)Cmd+Opt+C
(Mac). - A list of available columns will be displayed in a quick pick menu.
- Select the desired columns by checking the boxes next to their names.
- Press
Enter
to confirm your selection orEscape
to cancel. - The modified SQL query with the selected columns will replace the original query in the editor.
- Azure Data Studio
Contributions to the Column Chooser extension are welcome! If you encounter any bugs or have suggestions for improvements, please feel free to create an issue or submit a pull request.
- Need a cool logo.
- Need Tests.
- Any other suggestions would be great
The Column Chooser extension is licensed under the MIT License.
Thank the authors for their contributions! Consider starring their repositories on GitHub.