Afmt (Apex formatting tool) introduction

Поделиться
HTML-код
  • Опубликовано: 29 дек 2024

Комментарии • 6

  • @extremeweirdness1528
    @extremeweirdness1528 13 дней назад

    This is a really good project. In my org people don’t format the code properly at all. Once the comments part is fixed I will run it on the entire folder and format everything.

    • @salesforceway
      @salesforceway  13 дней назад

      Thanks for trying out! However, if not mistaken, I think you can achieve your goal by using Prettier Apex, right?

    • @extremeweirdness1528
      @extremeweirdness1528 11 дней назад +2

      @@salesforceway Prettier is too opinionated and not customisable at all. I have tried it and it didn’t work out plus there is a way to make it faster when running it on the entire project but I couldn’t figure it out so it’s pretty slow when you want to run it over the entire project.

    • @salesforceway
      @salesforceway  6 дней назад

      ​@@extremeweirdness1528 I agree one tool won't fit all, exactly the reason to build afmt here. Once the comment node support is out, I will introduce configuration options, help docs, etc.

  • @DkelWasHere
    @DkelWasHere 13 дней назад

    You won me at "built with Rust"

    • @salesforceway
      @salesforceway  13 дней назад

      If you ever try it out, let me know your feedback :)!