vscode-twitch-highlighter icon indicating copy to clipboard operation
vscode-twitch-highlighter copied to clipboard

Certain files should not be allowed for highlighting

Open hugodahl opened this issue 6 years ago • 3 comments

As a developer, there are several classes of files which I do not want to have accessible for highlighting

  • Secrets
  • External files, such as ./node_modules/**
  • Generated/Compiled/Transpiled files, such as *.ts => *.js

hugodahl avatar Jan 04 '19 19:01 hugodahl

Proposed: reading from .gitingore or a .twitchignore file to exclude files/file types from Twitch chat accessibility.

SasquatchXYZ avatar Jan 30 '19 19:01 SasquatchXYZ

I have included the necessary functionality to accomplish this enhancement using a .twitchignore document but I'm waiting for @clarkio to finish his changes to the source before I publish a new PR.

~If you want to test it, I pushed the changes to my repo here.~

I've removed the branch for now.

parithon avatar Feb 06 '19 09:02 parithon

Should we introduce a separate file for this or leverage something like .gitignore or other conventional ignore files?

clarkio avatar Feb 07 '19 00:02 clarkio