Skip to content
This repository was archived by the owner on Apr 16, 2024. It is now read-only.

Conversation

@MaartenS11
Copy link
Contributor

@MaartenS11 MaartenS11 commented Jul 26, 2023

Currently just splits the string in 2 so the arguments have a different colour than the opcode but this does mean that things like commas are also highlighted.

Result:
image

Or in light mode(carefully placed in a spoiler):
Or dark mode with the seedColor=Color.Green

MaartenS11 and others added 3 commits July 26, 2023 22:42
Currently just splits the string in 2 so the arguments have a different colour than the opcode
but this does mean that things like commas are also highlighted in a colour.
@Mouwrice
Copy link
Owner

@MaartenS11 I haven't jet written any docs but we use ktlint. I recommend you install the intellij plugin, and there is a pre-commit hook that you can install that will automatically format any staged files. (Not sure if it gets automatically installed on gradle sync)

Suggestion: split the instruction string on spaces and then color all elements that are not the first element.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants