rpeshkov / vscode-text-tables

VSCode extension that brings the power of Emacs table editing
MIT License
38 stars 14 forks source link

Enable extension automatically on .txt files #73

Closed AxelGauffre closed 1 year ago

AxelGauffre commented 1 year ago

How could I enable the extension automatically for my .txt files (just like with markdown and org files)? That is:

AxelGauffre commented 1 year ago

Oh, I get it: In the package.json of the extension, in the "activationEvents" section, you either set "onStartupFinished", if you want to have the extension enabled for any type of files, or "onLanguage:plaintext", if you only want to have the extension enabled for the text files.