vscode-blockman
vscode-blockman copied to clipboard
Feature Request: Support Ruby Language
I hope I will try it in the near future. You can help me if you find a good Ruby tokenizer which takes code text as input and has output of an array, where each item is opening/closing position of block. Order does not matter. Position is like {line: 7, column: 15} or global index like: 178.
would one of the following help?
https://github.com/whitequark/parser https://github.com/rubocop/rubocop-ast
I closed this PR, because it is not planned.
@KSH-code, @robotex82, Hi again, so, Blockman now supports Ruby, it's experimental for now, so please check it out and if you find any bugs or maybe not highlighting all the blocks you want to be highlighted, please let me know. The latest Blockman version is 1.6.1 (2022-11-02 UTC+4).
I used this package: https://www.npmjs.com/package/ruby_parser
@KSH-code, @robotex82, Hello, anybody here?
Oh I see. great! I'll use it. thanks!
Well, I found some mistakes/bugs caused because of me. Sometimes Blockman highlights wrong areas in Ruby code. I'm trying to fix them.
Thank you! I just installed it and will be testing it!
I fixed some issues, the new version is 1.6.4 (2022-11-10). I think Ruby support is stable now.
I can't wait to give it a try! Thanks for supporting Ruby
Better late than never: I have been using it with ruby since my last post and it work perfectly! Thank you! ❤️