Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use common extension ID instead of hardcoded one #2064

Merged
merged 1 commit into from
Dec 22, 2024
Merged

use common extension ID instead of hardcoded one #2064

merged 1 commit into from
Dec 22, 2024

Conversation

sezna
Copy link
Contributor

@sezna sezna commented Dec 12, 2024

This was a drive-by update from my work in #2059. Just wanted it in a separate PR to keep the noise down.

It seems to have triggered some prettier fixes too.

@billti
Copy link
Member

billti commented Dec 12, 2024

Was there a motivating reason for this change? (i.e. do we ever change it during development, testing, or publishing?)

@sezna
Copy link
Contributor Author

sezna commented Dec 12, 2024

I was registering a new code action and noticed that we do this inconsistently across other files. If we have a source of truth defined somewhere we might as well use it consistently or not at all.

Copy link
Member

@minestarks minestarks left a comment

Choose a reason for hiding this comment

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

Personally I preferred the hardcoded versions, since when I'm trying to find a specific command's implementation, usually I try to find the command's user-friendly description in package.json and copy-paste the command name (e.g. "qsharp-vscode.createProject") and search for that in the source.

I don't mind the change though since I'm a fan of consistency.

@sezna sezna added this pull request to the merge queue Dec 22, 2024
Merged via the queue into main with commit 546b053 Dec 22, 2024
18 checks passed
@sezna sezna deleted the alex/tinyfix branch December 22, 2024 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants