-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating the extension activation triggers to only include Stripe-rel…
- Loading branch information
1 parent
fbbaec8
commit 815b5e2
Showing
1 changed file
with
1 addition
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
815b5e2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: This might break debugging and the language server
815b5e2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Kenneth, do you mean debugging for the end user? If so can you expand?
Regarding the language server, you're totally right. The user wouldn't be getting the hover-over or linting until they trigger the first Stripe action. Thinking about some workarounds now.
815b5e2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gracegoo-stripe The Stripe extensions contribute debugging configurations that are needed when the user wants to configure their debugging. VS Code asks all extensions that contribute
onDebugInitialConfigurations
and the extensions return the configurations they support, so they show up in the autocompletion. Same foronDebug
when the user intends to start a debugging session.Like-wise for the
onLanguage
where VS Code activates extensions for the relevant open file, so the language server can be queried.In short, we need these events, to make sure the relevant parts of the VS Code extension get activated at the right points.
I would reconsider this
alert/prompt/confirm
UI as it's really not native to VS Code. You see native VS Code UI and extension use WelcomeView to avoid blocking. Check out the source control view and how it works ifgit
isn't installed or found on the machine.815b5e2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, Kenneth. I'll revert this commit.