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

Adds syntax highlighting to the NTSL editor #4096

Closed
wants to merge 1 commit into from

Conversation

Absolucy
Copy link
Member

@Absolucy Absolucy commented Nov 4, 2024

About The Pull Request

2024-11-04 (1730697346) ~ dreamseeker

Syntax definition based off of https://github.com/SuhEugene/NTSL-Syntax

Why It's Good For The Game

Makes code much easier to read!

Changelog

🆑
qol: The NTSL script editor in the traffic control console now has syntax highlighting!
/:cl:

@Yawet330
Copy link
Contributor

Yawet330 commented Nov 5, 2024

using my NTSL code smh smh (thank you for featuring it!)

@Gboster-0
Copy link
Contributor

imo, highlighting at the current moment is not worth sacrificing the ENTER not saving the code.
Since when you press ENTER in the middle of your code to make a new line it'll jump you to the end with this PR.

@Absolucy
Copy link
Member Author

Absolucy commented Nov 8, 2024

yeah I untm'd it while I try to think of a proper solution

@Absolucy
Copy link
Member Author

would prefer this not re-TM'd til i do some fixups on it

@Absolucy Absolucy added do not merge don't merge this ffs do not testmerge 50-50 chance this gets testmerged anyways labels Nov 20, 2024
@Absolucy Absolucy closed this Nov 21, 2024
@Absolucy Absolucy deleted the ntsl-syntax branch November 21, 2024 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not merge don't merge this ffs do not testmerge 50-50 chance this gets testmerged anyways
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants