You are viewing a single thread.
View all comments
1 point

RubyMine.

permalink
report
reply
3 points

RubyMine is an Interactive Development Environment, not a Language Server Protocol. RubyMine doesn’t need to use an LSP since it has all the features an LSP offers (and more) built into to the environment.

permalink
report
parent
reply
1 point

Yup. My point by posting was to contribute to the conversation that I don’t use an LSP

permalink
report
parent
reply
2 points

can RubyMine completion shows the method for word variable here?

# frozen_string_literal: true

array_of_strings = %w[foo fooo bar fioo]
oo = array_of_strings.select { |word| word.end_with?('oo') }
puts oo

for example the end_with? method cuz with both solargraph and ruby-lsp they don’t show any suggestions for the word variable at all.

permalink
report
parent
reply
3 points

Yes, RubyMine will offer completion for this block.

permalink
report
parent
reply
1 point
*

now i’m confused about why solargraph, which is said to be mature, can’t do that. and also i just realized it when i used map instead of select; the methods appeared.

wanna try RubyMine but i already comfortable in neovim. since RubyMine is an IDE i think my machine can’t handle that lol.

permalink
report
parent
reply

Ruby

!ruby@programming.dev

Create post

A community for discussion and news about Ruby programming.

Learning Ruby?

Tools

Documentation

Books

Screencasts

News and updates

Community stats

  • 18

    Monthly active users

  • 70

    Posts

  • 55

    Comments