Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC:

PHP Eclipse: Code Style formatter - profile? 10 years 5 months ago #11153

  • Bluefox
  • Bluefox's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 4529
  • Thank you received: 493
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.

PHP Eclipse: Code Style formatter - profile? 10 years 5 months ago #11155

  • diesl
  • diesl's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 883
  • Thank you received: 70
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.

PHP Eclipse: Code Style formatter - profile? 10 years 5 months ago #11171

  • Bluefox
  • Bluefox's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 4529
  • Thank you received: 493
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.

PHP Eclipse: Code Style formatter - profile? 10 years 5 months ago #11175

  • diesl
  • diesl's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 883
  • Thank you received: 70
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.

PHP Eclipse: Code Style formatter - profile? 10 years 5 months ago #11178

  • Bluefox
  • Bluefox's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 4529
  • Thank you received: 493
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 :) )

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

Last edit: by Bluefox.

PHP Eclipse: Code Style formatter - profile? 10 years 5 months ago #11179

  • diesl
  • diesl's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 883
  • Thank you received: 70
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.

  • Page:
  • 1
  • 2
Time to create page: 0.287 seconds

Donate

If you find JEM useful and if you use it on your site, please consider a donation to the project.

Private Messages

You are not logged in.

Follow us......