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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

SS Files in Dreamweaver CS4


Go to End


20 Posts   14594 Views

Avatar
Mo

Community Member, 541 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, 541 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, 81 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
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

Avatar
borriej

Community Member, 267 Posts

16 March 2011 at 7:05am


27 October 2009 at 2:41am

hi

i use CS4 with SS and it works fine. here is how i did it.

C:\Program Files\Adobe\Adobe Dreamweaver CS4\configuration\Extensions.txt .... add the extension SS under HTML Documents and PHP files save and close.

C:\Program Files\Adobe\Adobe Dreamweaver CS4\configuration\DocumentTypes\MMDocumentTypes.xml
add SS extension as below

<documenttype id="HTML" internaltype="HTML" winfileextension="html,htm,shtml,shtm,stm,tpl,lasso,xhtml,SS" macfileextension="html,htm,shtml,shtm,tpl,lasso,xhtml,ssi,SS" file="Default.html" writebyteordermark="false">

make sure DW is closed and you have write permissions to these folders

hope this works for you guys

WORKS :)