質問: typeprof-vscode extensionの挙動について
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 21
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
typeprof-vscode(およびRBS)について調査していたのですがいくつか質問があります。
- windows版とmac版で挙動が違うように見える
windows版だと適当にmkdir hoge && cd hogeをした後sample.rbを作り下記のように適当な関数を作っても推論してくれません(localでrbsコマンドとtypeprofコマンドが使えるのは確認済みです)
def add(a, b)
a + b
end
ところがhogeディレクトリの中で下記の手順を行うとサンプル通り推論が行われます。
bundle init
# Gemfileの編集
gem "rbs", require: false
gem "typeprof", require: false
bundle install
rbs collection init
rbs collection install
この状態でsample.rbを開くと推論が行われました
ところがmac上だとrbsコマンドとtypeprofコマンドが使える状態なら上記のように色々な操作をしなくてもsample.rbを置くだけで勝手に推論してくれます。
どちらも使っているrubyは3.2系です。typescriptも同じように要件を満たしています。
挙動としてどちらを想定しているのでしょうか?(めんどくさいことはやりたく無いのでできればグローバルにrbsやtypeprofが通っていればそれを使いたいんですが・・・)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the Windows and macOS setups described in the issue, comparing global rbs/typeprof availability with the Bundler-based setup. Determine which behavior the extension intends to support and document the result or the conditions needed for inference to work consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby, typescript
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100