-
Notifications
You must be signed in to change notification settings - Fork 21
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
Allow clang-format path configuration in project settings #36
Comments
I implemented this on my fork for java formatting: |
Hello @AhmetBilgin, could you submit a PR to this project implementing this feature ? Would love to have it ! Thanks a lot. |
Hi @julian-poidevin, I had to use another account to fork this project again. Can you test this? Seems to work for me. |
Hi @AhmetBilgin, thanks for taking the time to do this. I'm using STM32CubeIDE, is your patch compatible with this modified version of Eclipse ? The project file has a Also, I see your patch allows to set clang-format path with an environment variable I'd like to directly put the Thanks a lot for your help on this ! |
Hi @julian-poidevin,
The environment variable resolving does currently only work for ${env_var:SOMETHING} and is resolved with System::getEnv and System::getproperty.
Which solution (A, B) would help with your requirements? |
Wow, that's very nice from you suggesting your help ! 🙏🏻 Actually, solution (B) could help a lot. I would just have to store Thanks a lot ! |
For managing toolchains for older versions of our product, it would be great to be able to store the clang-format executable path in the project settings and not in the workspace settings.
This would also ease up using a version controlled Eclipse project with non-standard clang-format command: everything else comes from the project itself but now we need to manually set up clang-format path for the workspace.
The text was updated successfully, but these errors were encountered: