Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 811 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 811 Bytes

Hide Logs - VSCode Extension

Steps

  • clone hide comments extension and run in dev mode
  • change the name of the extension and the toggle icon shown above editor
  • see OG hide comments logic on how to apply the transparent colour
  • create a Textmate grammar that reads start of lines of dba(, dba2(, clog, DB() on a json file
    • create textmate language rules with begin and end keys; test regex online
    • clog language rule should regex until semicolon statement since prettier prefixes endl with actual newline
  • connect this json file to vscode extension through the grammar contribution point but not language

Rough Ideas

  • derived scope names for TextMate grammar definition