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

Create debug utility #31

Closed
PMunch opened this issue Oct 11, 2019 · 2 comments
Closed

Create debug utility #31

PMunch opened this issue Oct 11, 2019 · 2 comments

Comments

@PMunch
Copy link
Owner

PMunch commented Oct 11, 2019

This should really have some better testing to more easily find bugs. If someone could write a simple dummy editor that just sends some jsonrpc messages and verifies the responses that would be really helpful.

@Asc2011
Copy link

Asc2011 commented Dec 14, 2019

i have started to integrate nimlsp into atom. the console in atom-ide-ui is waiting for 'nim' :)
So far, the autocompletions work.reference-lookup and jump-to-definition work, too.
linting-service is next on my list..

@PMunch
Copy link
Owner Author

PMunch commented Dec 30, 2022

Just implemented something like what I had in mind: 023b632. With this utility it's possible to record an editing session and then replay it. This could form the basis for feature tests as well as replaying specific bugs users have.

The utility is still a bit brittle though, it's easy to end up in a scenario where it hangs on waiting for data on the pipe, so there should definitely be some kind of timeout mechanism. Especially if we want to use this for automatic testing.

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

No branches or pull requests

2 participants