Skip to content

I hope Xcode can better support Leaf. #229

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

Open
Muning69 opened this issue Jan 30, 2024 · 5 comments
Open

I hope Xcode can better support Leaf. #229

Muning69 opened this issue Jan 30, 2024 · 5 comments

Comments

@Muning69
Copy link

It would be great if we could highlight the leaf and automatically complete the code for HTML, CSS, and JavaScript.

@0xTim
Copy link
Member

0xTim commented Apr 7, 2025

Xcode doesn't give us a lot to work with, have you tried https://github.com/ashokgelal/xcode-leaf-color-schemer

Otherwise there's a great VScode extension https://marketplace.visualstudio.com/items?itemName=Vapor.vapor-vscode

@Muning69
Copy link
Author

@0xTim
I think this matter should be handled by the Vapor team, creating HTML, CSS, JS, and Leaf support provided by Vapor (on Xcode), which will better align with Vapor's own improvements in backend rendering and also demonstrate that Vapor is a worthwhile task for developers who support Vapor. I hope the Vapor team can consider this suggestion.

@0xTim
Copy link
Member

0xTim commented Apr 17, 2025

@Muning69 we're very limited with what we can do with Xcode so I would love to be able to provide a plugin for Leaf but we can't actually make anything that would work well. If Xcode gains the ability for us to do so, we'll jump on that, but until then we'll recommend our VSCode extension

@Muning69
Copy link
Author

@0xTim Doesn't Xcode officially provide extensions? Why don't you consider providing extension options for Xcode? As a user, I don't like using VSCode. Although it has rich extensions, its overall design gives people a feeling of not liking to use it. I believe a large number of users share the same feeling as me. Although I am not an expert in coding, I am still quite skilled in product design, usage, and providing good advice. The official Swift website directly recommends Vapor as a backend developer. Can we consider contacting Swift to provide more comprehensive support for Vapor for Xcode, such as Leaf.

@0xTim
Copy link
Member

0xTim commented Apr 17, 2025

@Muning69 Xcode's extensions allow us to map .leaf file types to use HTML syntax highlighting and that's pretty much it. We can't offer syntax highlighting for Leaf syntax, can't offer auto-complete for Leaf syntax or code completion. To be clear, I would love to be able to offer better support in Xcode but we simply can't and it's not something we have control over

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