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

SS Files in Dreamweaver CS4


Reply


21 Posts   8976 Views

Avatar
Mo

Community Member, 514 Posts

27 October 2009 at 3:33am

@kaloschke, Unfortunately I don't get syntax highlighting in SS files, I just meant within my PHP Classes. Aptana does read my open SS files and provides any element ID's and Classes to the CSS code completion, which I thought was a nice touch.

I always thought Netbeans was for Java. Is there a PHP plugin or something? As it seems so popular I would be tempted to try it, but does it have:

* Integrated SVN
* Synchronization with remote servers
* Code completion that easily detects all classes in your project

If the answer is yes I will happily give it a go :)

Avatar
bobdobbs

Community Member, 6 Posts

28 October 2009 at 11:37am

I discovered yesterday how to get aptana to treat .ss files as html:

Windows -> Preferences -> General -> Editors -> File Associations...

Under 'File Types' select the 'Add' Button. Type *.ss
Then, underneath, in 'Associated Editors', choose an editor.

Avatar
Mo

Community Member, 514 Posts

28 October 2009 at 11:49am

You can also use the same process (more or less) to let you edit .ss files as XML. Which is quite usefull when you are working with flash front ends :).

Avatar
JoshuaLewis

Community Member, 76 Posts

28 October 2009 at 1:29pm

@Mo
I always thought Netbeans was for Java. Is there a PHP plugin or something?
Yes, there is even a version of the program configured specifically for working in PHP.

does it have:
* Integrated SVN

And Mercurial, and Git, and CVS, and I'm not sure what else.

* Synchronization with remote servers
http://blogs.sun.com/netbeansphp/entry/remote_synchronization
Seems so.

* Code completion that easily detects all classes in your project
Yes and I would never want to work without this feature again.

Avatar
dalesaurus

Community Member, 283 Posts

28 October 2009 at 4:45pm

Also NetBeans scans all your code so you can Ctrl+click on any class, member, method, etc you use and it takes you to the declaration AND the code hinting will show the args/docs. Many IDEs do this but few do it so seamlessly with both custom classes as well as built in PHP functions.

Don't forget snappy built in SQL database browser/querying also.

I wrote up how I use rsync in Netbeans to automatically sync files remotely on the wiki: http://doc.silverstripe.org/doku.php?id=tools:netbeans

Avatar
nzjoel

Community Member, 26 Posts

10 January 2010 at 2:25pm

Thanks "Pat jnr", your solutions worked perfectly for me on my mac! It was really annoying me having to change the extension of ss files to html each time I wanted to edit them in dreamweaver!

~Joel

Avatar
cjt design | Callan

Community Member, 1 Post

2 February 2010 at 11:34am

There is a trick!
The instructions that PatJr described may work for some users but there are two different files that Dreamweaver can pickup.

Using Mac
Dreamweaver first looks for the Extensions.txt file in hard disk:\Users/username/Library/Application Support/Adobe/Dreamweaver CS4/Configuration so this is the actual location you need to edit

This help article from Adobe is OK and could help you if there are any hiccups.
http://help.adobe.com/en_US/Dreamweaver/10.0_Extending/WS5b3ccc516d4fbf351e63e3d117f53d6108-7fda.html

Avatar
ChefZabala

Community Member, 1 Post

16 March 2011 at 12:36am

Same article from Adobe
http://kb2.adobe.com/cps/164/tn_16410.html