microsoft / microsoft/vscode-mssql

[Feature Request]: Add configuration for SQLCMD mode on / off by default for new query windows.

Open
#20,021 6 comments 1 reaction 1 assignee Claimed by @yoleichen View on GitHub
Area - Query Editor Enhancement Triage: Done User-filed
Dominant language
TypeScript
Stars
1.9k
Forks
610
Avg merge
2d 3h
Merged PRs (30d)
97

Description

### Feature Description

I would like the MSSQL extension to be configurable to have SQLCMD mode on or off by default
so that I do not have to enable this for each script that I run with SQLCMD variables

### Problem and Motivation

Currently, I have to connect to a server, wait, and then enable SQLCMD mode in the bottom bar and then can run the script. It would be better if I could just configure SQLCMD mode to be on by default and just run the script, get the connection prompt and then the script runs once the connection is established.

### Related Area

- [x] Connection dialog
- [ ] Query results panel
- [ ] Query editor
- [ ] Object Explorer
- [ ] Table Designer
- [ ] Schema Compare
- [ ] Schema Designer
- [ ] Local container
- [ ] GitHub Copilot integration
- [ ] Query Plan Visualizer
- [ ] Other (please describe below)

### If you selected "Other", please describe the area

_No response_

### Confirmation

- [x] I have searched existing feature requests and couldn't find a match
- [ ] I want to help implement this feature

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.