🧬 RouterOS LSP for better syntax checking & command completion in editors like VSCode & NeoVim

This was suppose to be my first post in new forum. However it was put into ā€œawaiting approvalā€ for some reason - no attachments, maybe links, dunno…

And with forum upgrade outage, I got hours of time back…

So made some smaller updated the RouterOS LSP VSCode/NeoVim extensions above with the new found time, see CHANGES for recent updates to the RouterOS LSP

And for fun added a ā€œcompanionā€ extension – TikBook for RouterOS – that provides a VSCode Notebook interface to RouterOS script. This was actually pretty straigtforward & nifty. The TikBook extensions uses the LSP but provides a ā€œnotebook formatā€ to allow mixing Markdown and RouterOS into one .rsc file - that works as both as valid RouterOS script but visualized/edited as notebook in VSCode. It even lets you run code in ā€œcellsā€ (or entire notebook) via the REST API with a :execute, if credentials are provided in Settings.

tikbook-screenshot

Both the RouterOS LSP and Notebook VSCode Extensions are now installable directly from VSCode (search TIKOCI in extensions) and also via Microsoft’s VSCode Extension Marketplace.