Skip to content

Virtual Text Highlighting on the line(s) of the failure/error #73

@heimer16

Description

@heimer16

Hi,

It would be nice if we could highlight the line that the error occurs, rather than just on the line of the function, maybe with some virtual text similar to LSP diagnostics. I've taken a few screenshots to try and demonstrate. Ideally it could highlight across buffers use a "stack trace" or something so you could "go to definition" on a function and open another buffer and it would continue to show the relevant line. I'm currently using the phpunitkit plugin for sublime text which could serve as a reference

current: only highlights the line of the function that failed
2021-10-12-095900_494x205_scrot

sublime text: highlights the line where the failure/error occurs
2021-10-12-095845_643x212_scrot

lsp: as an example of what it could look like
2021-10-12-095915_753x206_scrot

I'm willing to try and help but my experience in python/lua is very limited.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions