microsoft / microsoft/vscode-mssql
[Bug]: Create Project from Database menu asks which database
- Dominant language
- TypeScript
- Stars
- 1.9k
- Forks
- 610
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 97
Description
### Description
When running the Create Project from Database command on a database node, the command should not ask to select a database subsequently. Since the command was launched from a database node in Object Explorer, it should be assumed that the selected database is the target of the command. This follows common UX patterns of attaching commands to the launch point for the command invocation.
1. Run the Create Project from DB
2. Prompted to choose a DB
### Steps to Reproduce
See above
### Affected Area
- [ ] Connection dialog (SQL Server | Azure browse/Fabric browse)
- [ ] 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
- [x] SQL Database projects
- [ ] Query Plan Visualizer
- [ ] Other (please describe below)
### If you selected "Other", please describe the affected area
_No response_
### Environment Information
Latest
### Confirmation
- [x] I have searched existing issues and couldn't find a match
- [ ] I want to work on this issue
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the Create Project from Database command handler and the Object Explorer database-node context. Reproduce the command from a database node and verify that the selected database is used directly and the database-selection prompt is no longer shown.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql, typescript
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100