Ability to specify a custom executable for IntelliJ plugin for running format #662
Joshuabaker2
started this conversation in
Ideas
Replies: 1 comment
-
I am not against the proposal. I wonder if we allow such an option somehow, what would happen if the interpreter causes an error when running the biome binary? Can the user see the error message? And if the user decides to file an issue, how should behave? Is it the plugin's fault or the interpreter's fault? Also, is it needed? IntelliJ just released support for formatting: https://youtrack.jetbrains.com/issue/IDEA-334150 This means we will change how we format the code later |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would there be any interest in the ability to specify a custom executable path for the IntelliJ plugin? By default, it uses your built-in interpreter (which is a very sane default). But, it might be nice to be able to specify a different interpreter, for example, Bun, to run the formatting.
This might be a niche use-case, my interpreter is node and my package manager is yarn, which is required for my project to work correctly in the IDE, but starting biome through yarn/node is significantly slower than starting biome through bun.
The major motivator for me having moved to Biome from Eslint/Prettier was the massive speedup, so I feel like this could fit into the philosophy of this project. I hackily modified a local version of the plugin to work for me using bun instead and it is noticeably faster. If others might get value from it, I'd be happy to submit a PR for it.
Beta Was this translation helpful? Give feedback.
All reactions