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

Simple debugger completion #254

Merged
merged 3 commits into from
Aug 31, 2022
Merged

Simple debugger completion #254

merged 3 commits into from
Aug 31, 2022

Conversation

themkat
Copy link
Contributor

@themkat themkat commented Aug 29, 2022

My attempt at #166.

Implements simple debugger completion with symbols, built-in stuff (cpu registers, cpu.flags, ram etc.). It's a little hard-coded, but that's because I didn't find a common place to unify the different things. I saw that the locals-view and other variable-views were a bit hardcoded as well (especially the flags). Hopefully this is okay 🙂 Unit tests, and have also done manual testing in Emacs, using mos-mode (my own creation to use mos in an easy way from Emacs). Everything works as expected (even completing when you have finished most of it, e.g, cpu.fla completes correctly to cpu.flags). Unsure if anything should be added, as the current completion solves all my needs.

@sagacity
Copy link
Member

That is awesome work, well done! Could you go ahead and fix the Clippy issues, as well?

Additionally, if you like feel free to send another PR with an update to the README linking to mos-mode :)

@themkat
Copy link
Contributor Author

themkat commented Aug 30, 2022

That is awesome work, well done! Could you go ahead and fix the Clippy issues, as well?

Thanks 🙂 Fixed the clippy issues in the newest commit. Seems like all of them was from other parts of the code than the ones addressed in this PR.

@sagacity
Copy link
Member

Oh whoops, well...thanks for cleaning up regardless. Hopefully I'll have some time in the next few days to do a release!

@sagacity sagacity merged commit 5a2ece3 into datatrash:master Aug 31, 2022
@themkat themkat deleted the GH-166 branch August 31, 2022 14:23
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

Successfully merging this pull request may close these issues.

2 participants