[Dev][Visual Studio Code] Announcing Syntax Highlighting and Intellisense Plugin for TW5

41 views
Skip to first unread message

Joshua Fontany

unread,
Jul 17, 2020, 3:50:58 PM7/17/20
to TiddlyWikiDev
https://marketplace.visualstudio.com/items?itemName=joshua-fontany.tw5-syntax 

  • Automatically highlight HTML/Wikitext syntax.
  • Almost all TW-Wikitext syntax is recognized
    •  (it chokes a bit on system tiddler names in macro definitions, :P )
  • Intellisense auto-fills means you can type a "snippet" like "set", then press tab, and have a whole block of text inserted, with your cursor placed at a good point to keep typing, like so:
    <$set name="|cursor|"> </$set>
  • Automatically recognizes if the text file is a *.tid file with a block of fields above a wiki-text body, or if it is a multid (*.multids), or just wikitext (*.tw5).

Have fun! Bug report appreciated. You should also be able to search for it via the VS Code internal plugins tab (it way wait a few minutes, I literally jut pushed publish).

This seems to be working out really well, and is in a state that I believe we could adapt it for the TW-Highlighting plugin. I just haven't used that very much, so would need some help there.

I have some more exciting stuff coming along the pipe here soon. Watch this space. ;)

Best,
Joshua Fontany  

Saq Imtiaz

unread,
Jul 17, 2020, 4:07:44 PM7/17/20
to TiddlyWikiDev
Sounds very neat Joshua, thanks for sharing. A compelling reason to try VS Code at some point.

Mat

unread,
Jul 17, 2020, 4:52:14 PM7/17/20
to TiddlyWikiDev
Ah, what a great idea. This should be a most wonderful contribution for the VS users!
Thanks for sharing great stuff Joshua!

<:-)
Reply all
Reply to author
Forward
0 new messages