help to better help you:
Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!
PHP Eclipse: Code Style formatter - profile?
PHP Eclipse: Code Style formatter - profile?
11 years 2 months ago
Dit just notice in Eclipse that you can set a lot of settings within the formatter. also usefull when using the automatic indentation function.
Only not sure how to set them up correctly so was wondering if there are profiles available that can be downloaded & imported.
Only not sure how to set them up correctly so was wondering if there are profiles available that can be downloaded & imported.
Please Log in or Create an account to join the conversation.
Re: PHP Eclipse: Code Style formatter - profile?
11 years 2 months ago
think i've found an answer at:
github.com/joomla/coding-standards/tree/master/IDE
but didn't try it out yet.
but didn't try it out yet.
Please Log in or Create an account to join the conversation.
Re: PHP Eclipse: Code Style formatter - profile?
11 years 2 months ago
Did not look closely enough here.
I used this one too for travis. github.com/jemproject/JEM-Project/blob/master/.travis.yml
But I disabled code style in travis (think because of too much errors, don't know anymore)
I used this one too for travis. github.com/jemproject/JEM-Project/blob/master/.travis.yml
But I disabled code style in travis (think because of too much errors, don't know anymore)
Please Log in or Create an account to join the conversation.
Re: PHP Eclipse: Code Style formatter - profile?
11 years 2 months ago - 11 years 2 months ago
Well tried to import that file but Eclipse doesn't like it.
--> seems the xml has not been updated for the current Eclipse version.
Did read a post somewhere that the standards were based on PEAR with some differences. Think i'll update the current profile at Github to make it import & work within Eclipse PDT when there is some time (maybe end of the year )
--> seems the xml has not been updated for the current Eclipse version.
Did read a post somewhere that the standards were based on PEAR with some differences. Think i'll update the current profile at Github to make it import & work within Eclipse PDT when there is some time (maybe end of the year )
Last edit: 11 years 2 months ago by Bluefox.
Please Log in or Create an account to join the conversation.
Re: PHP Eclipse: Code Style formatter - profile?
11 years 2 months ago
What do you mean with updating the profile? The coding standards?
The problem is that the tools itself are not working properly because the were developed for older Eclipse versions and have not been updated since then, independent from the coding standard profiles.
The problem is that the tools itself are not working properly because the were developed for older Eclipse versions and have not been updated since then, independent from the coding standard profiles.
Please Log in or Create an account to join the conversation.
Time to create page: 0.697 seconds