microsoft / microsoft/vscode-mssql
[Feature Request]: Show full data type including length in hover tooltip (e.g., char(10) instead of just char)
Nobody has claimed this yet.
- 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 show the full data type, including the length (e.g., char(10) or varchar(50)), in the hover tooltip when I mouse over a column name in the query editor.
This would help me because I could quickly see the exact schema details of each column without running extra queries or switching to another tool.
### Problem and Motivation
Currently, I'm unable to see the maximum length of a column (for example, whether it is char(10) or char(50)) by hovering over the column name in the query editor.
This causes me to spend extra time running metadata queries or checking the table definition elsewhere, which interrupts my workflow.
With this feature, I could instantly see the full data type and length, making it easier to write and review queries efficiently.
### Related Area
- [ ] Connection dialog (SQL Server | Azure browse/Fabric browse)
- [ ] Query results panel
- [x] Query editor
- [ ] Object Explorer
- [ ] Table Designer
- [ ] Schema Compare
- [ ] Schema Designer
- [ ] Local SQL Server Container provisioning
- [ ] SQL database in Fabric provisioning
- [ ] 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the query editor hover-tooltip path of the MSSQL extension and trace how column metadata is obtained and formatted. Verify the behavior with columns such as char(10) and varchar(50); done means the hover displays the complete data type and length without requiring a separate metadata query.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql, typescript
- Domain
- database
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100