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

Add syntax highlighting to structs to be like other types. #70

Merged
merged 2 commits into from
Dec 15, 2024

Conversation

WallopingEwe
Copy link
Contributor

Makes the code editor more unified and better to look at rather than some types being colored and your structs being the same color as regular text.

The keywords are added during compile and will change once you type. When you compile a script that does not have those structs they will be removed from the list to highlight.

Before

image

After

image

The code looks more unified and easier to look at instead of situations like below.

void function(orange, orange, yellow, orange)

or

(orange) char = "string";
(yellow) struct;
(orange) float = 5;
@DerelictDrone DerelictDrone merged commit 81b7aa5 into wiremod:master Dec 15, 2024
1 check failed
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