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

feat: add inlay hints to show cycle timings next to code #145

Merged
merged 5 commits into from
Dec 28, 2024

Conversation

tommy9
Copy link
Collaborator

@tommy9 tommy9 commented Dec 22, 2024

Add the functionality to show the cycle count of each assembly instruction inline with the code. Example of turning this on and off:
Inlay Hints

Since this could be distracting, the feature is off by default. It must be enabled by including a beebvsc.enableInlayHints setting in the settings.json file:
InlayHintsSettings

The editor has its own setting with values "on", "off", "onUnlessPressed" and "offUnlessPressed". This is a very nice companion as the hints can be off unless the user is holding down ctrl+option (or ctrl+alt).

Closes #142

@tommy9 tommy9 marked this pull request as draft December 22, 2024 15:46
@tommy9 tommy9 marked this pull request as ready for review December 23, 2024 17:02
@tommy9 tommy9 merged commit f7afd4a into simondotm:master Dec 28, 2024
5 checks passed
@tommy9 tommy9 deleted the inlay-hints branch December 28, 2024 12:29
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.

Use inlay hints for cycles
1 participant