-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSS Gate Workshop: Tokyo: 2024-09-21: yamatowani: Ruby LSP: Work log #1885
Comments
ruby LSPはコードジャンプ(Go To Definition)がRuby Solargraphよりもできる範囲が狭い...? |
Qiitaにもそんな声が |
2024-09-21.12.37.05.movGo To Difinition機能がうまく動作しない
|
![]() https://qiita.com/NaokiIshimura/items/dbe6a9dc0af59fde0c6b 上記の記事に
とあるが、再現できず。 2024-09-21.13.56.05.mov |
Environment
再現手順 |
日本語のコメントがあるとできないけど、5文字未満の場合はできることが判明 コードジャンプできるコード class Foo
# ああああ
def foobar
puts 'foobar'
end
end
foo = Foo.new
foo.foobar コードジャンプできないコード class Foo
# あああああ
def foobar
puts 'foobar'
end
end
foo = Foo.new
foo.foobar |
Gemfile # frozen_string_literal: true
source 'https://rubygems.org'
ruby '3.2.4'
gem 'debug', platforms: %i[mri windows]
gem 'rubocop' |
下記のissueにコメント投げてみた I have a similar problem, How is your progress? DescriptionI'm also using VSCode's ruby-lsp plugin, but it seems that if there is more than 13 bytes of character data, including multibyte characters, in the method comment, I cannot define a jump.
Success File class Foo
# ああああ
def foobar
puts 'foobar'
end
end
foo = Foo.new
foo.foobar Failed File class Foo
# あああああ
def foobar
puts 'foobar'
end
end
foo = Foo.new
foo.foobar environment
|
おつかれさまでした! ワークショップの終了にともないissueを閉じますが、このまま作業メモとして使っても構いません 👌 ワークショップの感想を集めています! ブログなどに書かれた際は、このページへリンクの追加をお願いします 🙏 またの参加をお待ちしています! |
This is a work log of a "OSS Gate workshop".
"OSS Gate workshop" is an activity to increase OSS developers.
Here's been discussed in Japanese. Thanks.
作業ログ作成時の説明
以下のテンプレートを埋めてタイトルに設定します。埋め方例はスクロールすると見えてきます。
タイトル例↓:
OSS Gateワークショップ関連情報
The text was updated successfully, but these errors were encountered: