microsoft / microsoft/vscode-mssql

[Feature Request]: Allow other extensions / commands to read / trigger from results grid

Open
#19,138 0 comments 1 reaction 0 assignees View on GitHub
Area - Extensibility Enhancement User-filed
Dominant language
TypeScript
Stars
1.9k
Forks
610
Avg merge
2d 3h
Merged PRs (30d)
97

Description

Often my workflow involves running a query and following up with more investigation into certain rows of the query. I've written my own extension that allows me to launch certain programs passing in selected text from the editor as a parameter.

Example:
```json
{
"key": "ctrl+shift+s",
"command": "snapCommandExtension.runSnap",
"when": "editorHasSelection"
},
```
What I'd like to be able to do is to have this run from the result grid instead, so that I could select a cell (or cells) and execute my command.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the result grid entry points and the command/keybinding integration described in the issue. Investigate how selected cells are exposed, then verify that a configured extension command can be triggered with the selected cell or cells as input.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql, typescript
Domain
frontend, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.