Giter Site home page Giter Site logo

Comments (11)

leodevbro avatar leodevbro commented on June 2, 2024 1

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.

from vscode-blockman.

robotex82 avatar robotex82 commented on June 2, 2024 1

would one of the following help?

https://github.com/whitequark/parser
https://github.com/rubocop/rubocop-ast

from vscode-blockman.

leodevbro avatar leodevbro commented on June 2, 2024 1

@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

from vscode-blockman.

a-chris avatar a-chris commented on June 2, 2024 1

I can't wait to give it a try! Thanks for supporting Ruby

from vscode-blockman.

robotex82 avatar robotex82 commented on June 2, 2024 1

Better late than never: I have been using it with ruby since my last post and it work perfectly! Thank you! ❤️

from vscode-blockman.

KSH-code avatar KSH-code commented on June 2, 2024

I closed this PR, because it is not planned.

from vscode-blockman.

leodevbro avatar leodevbro commented on June 2, 2024

@KSH-code, @robotex82, Hello, anybody here?

from vscode-blockman.

KSH-code avatar KSH-code commented on June 2, 2024

Oh I see. great!
I'll use it. thanks!

from vscode-blockman.

leodevbro avatar leodevbro commented on June 2, 2024

Well, I found some mistakes/bugs caused because of me. Sometimes Blockman highlights wrong areas in Ruby code. I'm trying to fix them.

from vscode-blockman.

robotex82 avatar robotex82 commented on June 2, 2024

Thank you! I just installed it and will be testing it!

from vscode-blockman.

leodevbro avatar leodevbro commented on June 2, 2024

I fixed some issues, the new version is 1.6.4 (2022-11-10). I think Ruby support is stable now.

from vscode-blockman.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.