microsoft / microsoft/vscode-mssql

[Feature Request]: [Option].[to].[turn].[OFF].[escaping].[of].[EVERYTHING]

Open
#20,735 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area - Language Service Enhancement User-filed
Dominant language
TypeScript
Stars
1.9k
Forks
610
Avg merge
2d 3h
Merged PRs (30d)
97

Description

### Feature Description

This is a usability issue for me. Being dyslexic, the square brackets around every single bit of generated code, whether it be from the rote scripts like "select top 1000", "script as create"... or Github Copilot suggested code completions. The formatting and especially escaping/quoting is a huge issue for me. Please give me the option to turn this off. I also cannot stand the comma before the next field in the select list style.

The behavior is a hold over from SSMS or something and it is forcing me to use microsoft's style which I cannot read. So, I have to spend time running regexes to clean up the code. Kind of defeats the purpose of using scaffolding and AI code completions.

I don't care if microsoft thinks it is best-practice or whatever. It just doesn't work for everyone's eyes.

Please, for the love of god, make it stop!!

Example of hard to read code:
SELECT [LET].[MeSetMyOwnStyle]
,[LET].[PLEASE]
FROM [This].[is].[MyCode] as [LET]
WHERE [LET].[MicrosftKnowsBetterThanMe] = 0

### Problem and Motivation

I have a hard time reading the scaffolded and AI suggested code completions because I am dyslexic. I can change format/style settings my C# code, TypeScript code, JSON, XML.... but not SQL? Come on. Make it easier on us.

### Related Area

- [ ] Connection dialog (SQL Server | Azure browse/Fabric browse)
- [x] Query editor
- [ ] Query results panel
- [ ] Object Explorer
- [ ] GitHub Copilot integration
- [ ] Preview/Edit data
- [ ] Table Designer
- [ ] Schema Designer
- [ ] Schema Compare
- [ ] Local SQL Server Container provisioning
- [ ] SQL database in Fabric provisioning
- [ ] DACPAC/BACPAC export/import
- [ ] SQL Database projects
- [ ] Query Plan Visualizer
- [x] Other (please describe below)

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

Copilot query code completions. Scafolded canned queries like "select top 1000".

### 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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the query editor, Copilot query completions, and scaffolded canned queries, but no files, tests, or entry points. Start by locating the code that generates these SQL snippets and determine whether one setting can cover both areas; done means users can disable bracket escaping and comma-leading select-list formatting consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql, typescript
Domain
database, developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.