Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

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

Configure Eclipse/PDT for Silverstripe


Go to End
Reply

15 Posts   3142 Views

Avatar
CoconutDrink

2 October 2010 at 1:25am Community Member, 16 Posts

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.

Avatar
Mad_Clog

2 October 2010 at 1:40am Community Member, 78 Posts

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.

Avatar
swaiba

2 October 2010 at 1:47am Forum Moderator, 1796 Posts

<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

Avatar
CoconutDrink

2 October 2010 at 2:10am Community Member, 16 Posts

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.

Avatar
CoconutDrink

2 October 2010 at 2:14am Community Member, 16 Posts

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

Avatar
swaiba

2 October 2010 at 2:49am Forum Moderator, 1796 Posts

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.

Avatar
CoconutDrink

2 October 2010 at 3:55am Community Member, 16 Posts

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.

Avatar
swaiba

2 October 2010 at 4:03am (Last edited: 2 October 2010 4:05am), Forum Moderator, 1796 Posts

(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
Go to Top