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

UDA highlighting #46

Closed
sysint64 opened this issue Jun 27, 2017 · 5 comments
Closed

UDA highlighting #46

sysint64 opened this issue Jun 27, 2017 · 5 comments

Comments

@sysint64
Copy link
Contributor

the UDA is not highlighted examples:

@Field bool resizable = true;
@ViewWidget Button okButton;

@OnClickListener("okButton")
void onOkButtonClick(Widget widget) {
    ...
}
@LaurentTreguier
Copy link
Collaborator

Syntax highlighting comes from this textmate bundle, which indeed does not highlight UDA's. I think we should write our own syntax file for this extension at some point, since there are some missing features right now, and the latest changes from the textmate bundle even break some stuff.

@sysint64
Copy link
Contributor Author

sysint64 commented Jun 27, 2017

@LaurentTreguier

think we should write our own syntax file for this extension at some point

I added UDA support by modifying the regex in d.tmLanguage, now UDAs highlights correctly...

@LaurentTreguier
Copy link
Collaborator

That's great then ! Can you make a pull request to both this extension and the textmate bundle, or share the change here to integrate it ?

@sysint64
Copy link
Contributor Author

@LaurentTreguier ok no problems

@sysint64
Copy link
Contributor Author

#47

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

No branches or pull requests

2 participants