KevinBatdorf / code-block-pro

A Gutenberg code block with syntax highlighting powered by VS Code
https://code-block-pro.com
132 stars 10 forks source link

Adding AL #295

Open foxermarcin opened 9 months ago

foxermarcin commented 9 months ago

Hi, great job with a plugin!

I'm interested in adding AL programming language to Code Block Pro supported languages. It is used to develop solutions for Microsoft's ERP Dynamics 365 Business Central. Please let me know if it's possible.

Link to VSC language extension: https://marketplace.visualstudio.com/items?itemName=ms-dynamics-smb.al

KevinBatdorf commented 9 months ago

I have to pause adding languages for a bit as the upstream library used to apply the lang/theme styles made a 1.0 release but is still iterating on bugfixes. Once it's a bit more stable I can pull in their changes, and their new system makes it easier to add languages. I think they had a lot of breaking changes though so It's not something I'll be able to do quickly.

I can't say when that will be though.

foxermarcin commented 2 months ago

Hi @KevinBatdorf, I believe that shiki is pretty stable now without any major bugfixes since few latest releases. Can you consider pushing to v1 and adding AL language to your plugin?

KevinBatdorf commented 2 months ago

I'm going to look into it soon. the update changed the tokenizer though so every block will throw an invalidation error, but I may be able to enhance the interface to at least improve the messaging. (front end code woulnd't break, of course)