Skip to content

Conversation

@ajafri2001
Copy link
Contributor

image

Added some basic syntax-highlighting for routes files.

I found it difficult to parse controller-methods, so I used AI to help with this 😢 , hopefully someone more knowledgeable in regex's than me can adjust the #controller-routes in the syntaxes/routes.json file or even me if I manage to learn them.

Copy link
Contributor

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good enough for now! AI is pretty good at regexes and it's really hard to parse it with our human eye 😅

{
"id": "scala",
"extensions": [
".scala.html"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll have to wait with the merge in Metals for this to work.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants