I know what you mean. I did a bundle install --path vendor/bundle
and this makes the go to definition a little better because solargraph has trouble finding things outside the project itself. Try it and test if it gets a little better for you. But yes Rubymine is better in this regard.
On the other hand I can't get the tailwind extension working in Jetbrains with the Rails 7 standalone tailwind. Tailwind extension works in Nova.