You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to #184, offer ways for outputs (e.g. Notebook/Console rich display) to be tied to the source lines that generate them to show diagnostics, offer jump-to, and show hover information.
Motivation
When working interactively, many kinds of output (that may never never touch disk) can reference code in the document in question. A classic example is tracebacks, which are typically quite well structured for a given language. Similarly, well-known test machinery often generates canonical string outputs (e.g. pytest and jest).
this could allow for "complex" things, but should probably be a last resort
Landing them on the Notebook first makes the most sense, but Console, Terminal, Log Viewer, and even the JSON5-based settings editor all generate well-structured outputs that we could tie back to open (or wanted to be opened) documents.
The text was updated successfully, but these errors were encountered:
Elevator Pitch
Similar to #184, offer ways for outputs (e.g. Notebook/Console rich display) to be tied to the source lines that generate them to show diagnostics, offer jump-to, and show hover information.
Motivation
When working interactively, many kinds of output (that may never never touch disk) can reference code in the document in question. A classic example is tracebacks, which are typically quite well structured for a given language. Similarly, well-known test machinery often generates canonical string outputs (e.g.
pytest
andjest
).Design Ideas
GitHub Actions problem matchers seem like a widely implemented and useful pattern.
Roughly:
These could be implemented, from closest-to-user to closest-to-jupyterlab-lsp-maintainer:
matchers: []
filled with some JSONmimetype
in an output bundlexunit
)IOutputMatcherManager.register(language, feature, pattern)
Landing them on the Notebook first makes the most sense, but Console, Terminal, Log Viewer, and even the JSON5-based settings editor all generate well-structured outputs that we could tie back to open (or wanted to be opened) documents.
The text was updated successfully, but these errors were encountered: