Skip to content

Extension Telemetry: Split viewCfg,quickEval, openReferencedFile command#2154

Merged
norascheuch merged 5 commits intomainfrom
nora/split-commands-b
Mar 10, 2023
Merged

Extension Telemetry: Split viewCfg,quickEval, openReferencedFile command#2154
norascheuch merged 5 commits intomainfrom
nora/split-commands-b

Conversation

@norascheuch
Copy link
Copy Markdown
Contributor

Since we track usage behaviour by command usage at the moment, we have to use different commands for different user interactions. Each command has to be unique. Even if the underlying behaviour in the extension is identical.

To prevent merge conflicts the branch is based on #2142

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

@norascheuch norascheuch requested a review from a team as a code owner March 9, 2023 13:16
Copy link
Copy Markdown
Contributor

@robertbrignull robertbrignull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

"when": "editorLangId == ql && resourceExtname == .ql"
},
{
"command": "codeQL.exportSelectedVariantAnalysisResults"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just so I understand correctly, it's ok to remove codeQL.exportSelectedVariantAnalysisResults from here because it was basically a no-op anyway. Including it in commandPalette without a when field doesn't do anything since it would be included anyway.

@norascheuch norascheuch force-pushed the nora/split-commands-b branch from 346ba34 to c0c7574 Compare March 10, 2023 08:56
@norascheuch norascheuch merged commit 694dcea into main Mar 10, 2023
@norascheuch norascheuch deleted the nora/split-commands-b branch March 10, 2023 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants