JuliaDebug / JuliaDebug/Cthulhu.jl

Show Inlay Hints in VSCode for all open files

Open
#536 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Julia
Stars
709
Forks
46
Avg merge
1d 13h
Merged PRs (30d)
2

Description

Currently the VSCode Inlay hints only show up for the file in which the method we are descending on is defined.
It would be nice to show hints for all open files, this would require a function being added to the VSCode extension to expose the open files.
Alternatively, we could hack around it by showing hints for all files in a package.
I'm hesitant to show hints in all files as that would probably slow things down a lot.

Relevant line in source code
https://github.com/JuliaDebug/Cthulhu.jl/blob/575a73286598b69c4da9fdd91b63b0ef5480d83d/src/codeview.jl#L360-L361

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/codeview.jl around lines 360-361, then inspect the VSCode extension entry points responsible for exposing open files and displaying inlay hints. The change should make hints available in all open files while avoiding unnecessary work across unrelated files; compare that with the package-wide alternative and verify the performance impact.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia, vscode
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.