Search code examples
csseclipsestylesheetaptana

Link a stylesheet with Eclipse / Aptana


L.S.,

I'm using Eclipse with the Aptana Studio-plugin. I wish to create a link to a stylesheet in my html-document. Now I was hoping there would be a feature (similar to Dreamweaver) that could automatically genereate/insert the link tag and attributes. Say I would right-click on the stylesheet in question, and then select an option "link to" and it would insert the tag in my html-file.

Does such an option exist? I'm relatively new to Eclipse/Aptana, and I have not been able to find it so far. (I'd imagine this feature would work for javascripts files as well?)

Much obliged.


Solution

  • There is no such feature in Aptana Studio yet. You could file a request for this at http://jira.appcelerator.org/browse/APSTUD though.

    As an alternative way you could do some manual typing in editor with help form code assist. It will help you on tag/attribue names as well as it will list possible filenames for href attribute.

    Cheers, Max