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

UDL plugin for Android Studio #1418

Closed
Lonami opened this issue Nov 28, 2022 · 1 comment · Fixed by #1419
Closed

UDL plugin for Android Studio #1418

Lonami opened this issue Nov 28, 2022 · 1 comment · Fixed by #1419

Comments

@Lonami
Copy link
Contributor

Lonami commented Nov 28, 2022

(My intention with this issue is not for it to come as an advertisement, but rather ask if the team would like me to upstream it to make it official. Feel free to close, lock, or even delete the issue if it's not appropriate.)

The lack of syntax highlighting for .udl files in Android Studio was bothering me, so I took the matter into my own hands and made the uniffi-dl plugin for the IDEA platform. I have also published it to the JetBrains marketplace. Currently the plugin markets itself as follows:

Unofficial plugin which provides syntax highlighting, code folding, code completion, reference resolution and navigation (among others features) for the UniFFI Definition Language (UDL), a variant of WebIDL specifically tailored for the UniFFI tool to "generate foreign-language bindings targeting Rust libraries".

Here's how it looks:

Showcase of the syntax highlighting of the uniffi-dl

I was wondering if the UniFFI team would like to mark this as "the" official plugin for UniFFI. It's not very polished as of 0.2.2 (first release in the marketplace), so maybe its quality is not on par with something the team would like to claim official. But at the very least, I hope someone finds it useful, and if the team would eventually publish their own, I wouldn't mind giving away the ownership of the plugin in marketplace so the official version can replace mine.

I have also not upstreamed things like these before, so I don't know what the process is like.

┆Issue is synchronized with this Jira Task
┆Issue Number: UNIFFI-216

@mhammond
Copy link
Member

That looks fantastic!

I was wondering if the UniFFI team would like to mark this as "the" official plugin for UniFFI.

I doubt we'd want to make it '"the" official plugin', but we'd certainly be happy to work out the best place to have external links for interesting things like this - as discussed in #441 (comment) we'd also want this to link to external bindings. An "External Resources" section in README.md is probably a good place to start.

Lonami added a commit to Lonami/uniffi-rs that referenced this issue Nov 29, 2022
badboy pushed a commit that referenced this issue Dec 20, 2022
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 a pull request may close this issue.

2 participants