Jump to:

23472 Posts in 18941 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Configure Eclipse/PDT for Silverstripe

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2
Go to End
Author Topic: 3096 Views
  • CoconutDrink
    Avatar
    Community Member
    16 Posts

    Configure Eclipse/PDT for Silverstripe Link to this post

    Could someone share the steps needed to configure eclipse/PDT to recognize silverstripe API for code completion. If there
    are plugin that are recommended to install. Please suggest.

  • Mad_Clog
    Avatar
    Community Member
    78 Posts

    Re: Configure Eclipse/PDT for Silverstripe Link to this post

    Not using Eclipse/PDT but Zend Studio which i based upon Eclipse, but assuming the general idea is the same.
    Just create a new PHP project, drop in all SS files, wait for rebuild it's workspace and presto, autocompletion/code assit works.

  • swaiba
    Avatar
    Forum Moderator
    1792 Posts

    Re: Configure Eclipse/PDT for Silverstripe Link to this post

    <mature comment>
    boooooo Eclipse
    </mature comment>

    I am now over-joyed with netbeans to do the debugging and excellent fast code completion. If you've tried it before and been disappointed (I had) - I recommend try it again now... http://netbeans2.org/downloads/index.html

  • CoconutDrink
    Avatar
    Community Member
    16 Posts

    Re: Configure Eclipse/PDT for Silverstripe Link to this post

    HI Mad_Clog, thanks for the reply.

    I have been searching for something that provide detailed steps of setting up Eclipse as IDE for silverstripe development workflow

    My search result:
    a) there is no similar Silverstripe plug-in yet (a free plug-in to Eclipse for Drupal developers)
    b) I am not sure if there is something similar to (e.g.Drupal coding standards)

    Anyone has links to detailed steps?

    (1) So that the IDE can recognize the API classes and methods for e.g. dataobject development
    and
    (2) what need to be configured to help writing template files (*.ss) so that it recognize the page controls specific to silverstripe

    Thanks.

  • CoconutDrink
    Avatar
    Community Member
    16 Posts

    Re: Configure Eclipse/PDT for Silverstripe Link to this post

    One reason why I started with Eclipse/PDT based on some feedbacks I incidentally found at Drupal's forum.

  • swaiba
    Avatar
    Forum Moderator
    1792 Posts

    Re: Configure Eclipse/PDT for Silverstripe Link to this post

    I have been lost without a decent IDE for programming since I started web development a year ago, before that I used Visual Studio and no matter what folks say about microsoft Visual Studio is ACE!

    In the last year I have tried code lobster, phped, ecpilse, pdt eclipse, netbeans and I'd stayed with textpad (with macros and syntax) and log files. then I tried netbeans again due to a recommendation on a post here and many people and BOOM! I've found the one, strongly recommended I've heard it mentioned the most on here for non-mac and non-unix folks.

  • CoconutDrink
    Avatar
    Community Member
    16 Posts

    Re: Configure Eclipse/PDT for Silverstripe Link to this post

    What it means by
    blocked out the assets and silverstripe-cache folder from the project
    Can you show a picture?
    I guess you can do the same thing with Eclipse, setting up the workspace.

    Netbeans with a PHP flavor is the best I've found - used to be an eclipse/aptana guy. Netbeans seems to do what I need and seems "cleaner". I've enjoyed it - made a project, blocked out the assets and silverstripe-cache folder from the project - walla works great.

  • swaiba
    Avatar
    Forum Moderator
    1792 Posts

    Re: Configure Eclipse/PDT for Silverstripe Link to this post

    (sorry if you meant in eclipse, but if you didn't...)

    add to the ignored folders? (see attached)

    File --> Project Properties --> Ignored Folders

    Attached Files
    3096 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.