Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracer: reproduce document state at given point in time #108

Open
ulugbekna opened this issue Dec 6, 2022 · 0 comments
Open

Tracer: reproduce document state at given point in time #108

ulugbekna opened this issue Dec 6, 2022 · 0 comments
Labels

Comments

@ulugbekna
Copy link

Hi,

As a language server developer, I sometimes would like to look at language client and server interaction and be able to see for what kind of document a certain response was sent. For example, if I see an error response for a completion request, I would like to see for what state of the document this response was sent. I am thinking of a feature in the tracer that can go from textDocument/didOpen to the current request of interest, applying all content change notifications, to reproduce the document state.

Would such a feature be welcome? Do you also experience such need?

Another feature that could be built based on this one is ability to see the code surrounding a position mentioned in a request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants