vscode-region-manager icon indicating copy to clipboard operation
vscode-region-manager copied to clipboard

Rubylang support

Open estepnv opened this issue 5 years ago • 5 comments

estepnv avatar Jan 29 '20 09:01 estepnv

@estepnv hi,

Are you sure about the syntax? It looks like ruby region is not same with csharp. Maybe you can replace question marks below :) ... else if (langId === "ruby") { regionStartKey = "???"; regionEndKey = "???"; regionRegex = ???; }

suadev avatar Jan 29 '20 14:01 suadev

@suadev hey there, yeah I'm pretty sure it's gonna work

# is a ruby single line comment keyword, the way it's described it's gonna work almost the same way it's working in IntelliJ RubyMine

estepnv avatar Jan 30 '20 14:01 estepnv

@estepnv Actually, i tried on vs code before replying you, and it did not work.

You know this is a vs code extension. Have you tried on vs code this syntax for ruby ?

suadev avatar Jan 30 '20 14:01 suadev

@estepnv as you can see below, not able to fold.

image

suadev avatar Jan 30 '20 14:01 suadev

@suadev Sigh, I thought it’s gonna work. :( I’m glad to contribute. Can you suggest some read so I could prepare a PR for the ruby support then?

estepnv avatar Jan 30 '20 21:01 estepnv