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
#11153
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.

Please Log in or Create an account to join the conversation.

Re: PHP Eclipse: Code Style formatter - profile?

11 years 2 months ago
#11155
Did not work with that up to now, but would be a good idea. Will take a look if I don't forget ;)
Repository: Github // Issues: Github // Languages: Transifex

Please Log in or Create an account to join the conversation.

Re: PHP Eclipse: Code Style formatter - profile?

11 years 2 months ago
#11171
think i've found an answer at: github.com/joomla/coding-standards/tree/master/IDE

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
#11175
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)
Repository: Github // Issues: Github // Languages: Transifex

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
#11178
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 :) )
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
#11179
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.
Repository: Github // Issues: Github // Languages: Transifex

Please Log in or Create an account to join the conversation.

Time to create page: 0.697 seconds