ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sat Jun 19, 2021 8:26 am

All times are UTC




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri May 21, 2021 5:53 pm 

Joined: Fri May 21, 2021 5:41 pm
Posts: 1
I recently created a Visual Studio Code extension to add some language support for QuickBMS script files. It adds syntax highlighting and a few language features (ex. hover documentation for commands, go to definitions and references for functions, etc.).

The syntax highlighting supports most commands and keywords, but is still a work in progress. The hover documentation feature currently works for only a few commands, but I'm working on adding support for more.

Currently the extension works fully on Windows and Linux. On Mac it should support syntax highlighting, but does not yet support other language features (but may eventually).

Screenshots
Image

Image

Installation
To install the language server, you can search "QuickBMS" in the extensions window in Visual Studio Code and click on and install the extension.


Technical details
The VS Code extension is written in Typescript and leverages a QuickBMS language server to support several language features.

The language server is written in Rust and uses the tree-sitter parser generator library to handle parsing. Since it is a language server, if someone wanted to create a QuickBMS extension for a different editor or IDE they might be able to leverage the language server.

More information on the extension and language servers can be found on their GitHub repositories (see Links section).


Versions / Changelog


Links


Top
   
PostPosted: Sun May 23, 2021 9:50 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12296
:D


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited