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

Enable to emit activation events on all language files #69

Open
iku12phycho opened this issue Mar 8, 2024 · 0 comments · May be fixed by #71
Open

Enable to emit activation events on all language files #69

iku12phycho opened this issue Mar 8, 2024 · 0 comments · May be fixed by #71

Comments

@iku12phycho
Copy link

iku12phycho commented Mar 8, 2024

Hello,

I'm using textlint processor plugin for new file format support.
However, ActivationEvents is not emitted when it changed.

It is good if it is enable to emit activation events on all language files.

"activationEvents": [
"onLanguage:html",
"onLanguage:plaintext",
"onLanguage:markdown",
"onLanguage:latex",
"onLanguage:tex",
"onLanguage:pdf",
"onLanguage:django-txt",
"onLanguage:django-html",
"onLanguage:doctex",
"onLanguage:restructuredtext",
"onCommand:textlint.showOutputChannel",
"onCommand:textlint.createConfig",
"onCommand:textlint.executeAutofix"
],

Additionally, if your extension needs to be activated before any language is used, you can use the generic onLanguage activation event to ensure this:

"activationEvents": [
    "onLanguage"
]

https://code.visualstudio.com/api/references/activation-events#onLanguage

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 a pull request may close this issue.

1 participant