question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use more specific `activationEvents`

See original GitHub issue

This extension is activated all the time. As a result, the status bar item is always visible.

I think we can use multiple activationEvents like "workspaceContains: **/*.html", "workspaceContains: _config.yml" and something else.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:17 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
yzhang-ghcommented, Jul 3, 2017

👌

1reaction
ritwickdeycommented, Jul 2, 2017

okay. I got that. I’ll update that tonight 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Activation Events | Visual Studio Code Extension API
This activation event is emitted and interested extensions will be activated whenever a file or folder from a specific scheme is read. This...
Read more >
Activation events - vscode-docs
activationEvents.​​ This activation event is emitted and interested extensions will be activated whenever a file that resolves to a certain language gets opened....
Read more >
How to change the activation events of an installed extension?
I am using VS Code version Version: 1.65.0 on mac os. I have vscodevim extension installed. By default, activation events mentioned in the ......
Read more >
Activation events - Optimize Resource Hub - Google Support
Optimize offers several types of activation events: ... If you wish to modify the same instance of an element more than once, use...
Read more >
VS Code Performance – How to Optimize Visual Studio Code ...
There are a range of Activation Events to choose from. An extension can listen to many Activation Events to yield a more specific...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found