Skip to content

Show Inlay Hints in VSCode for all open files #536

@Zentrik

Description

@Zentrik

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

Cthulhu.jl/src/codeview.jl

Lines 360 to 361 in 575a732

# Check if callsite is not just filling in default arguments and defined in same file as source_mi
if mi == source_mi || mi.def.file != source_mi.def.file

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions