Long time reader, first time asking a question.
Most of my development work has been in .NET using Visual Studio. Recently I took over maintenance of a website built on PHP and downloaded NetBeans as an IDE.
NetBeans has a very nice CSS property wizard for HTML projects that highlights the CSS rules in use for a particular element and lets you edit the rules directly. However, this doesn't appear to be available for PHP projects, even for pure HTML files within the project. Is that correct, or am I just missing some configuration? I can't seem to find any confirmation either way in the documentation or forums. (It would be unfortunate if it didn't work... it's a really useful feature.)
Thanks,
Terry
If you are referring to the visual CSS editing support that works with Google Chrome and the WebKit browser embedded in NetBeans, then this feature will be available for PHP projects in the upcoming NetBeans 7.4 release. See also this blog post: https://blogs.oracle.com/netbeanswebclient/entry/html5_development_with_java_ee
Hope this helps,
Petr
Related
I recently saw that there was an approach to integrate the Substance LAF with Netbeans that was abandoned in 2008. Now, the active development is made within the Insubstantial - project and since 2008, a lot of advances where made.
Everytime i see an article about Substance (and/or Flamingo) and Netbeans, the authors are using an outdated version of Substance, but not the new Insubstantial libraries.
Does someone know how to use them with Netbeans? The standard way by just adding the --laf parameter doesn't seem to work and i guess there wouldn't have been the integration project if it's that simple.
My target is to use a self-written SubstanceSkin with my Netbeans Platform application.
Kind regards,
David
You can try using -Dswing.defaultlaf in netbeans.conf.
For example :
-Dswing.defaultlaf=org.pushingpixels.substance.api.skin.SubstanceBusinessLookAndFeel
Here is the documentation and the available skins.
Please note that I already have CSS autocomplete support active, I need the CSS3 properties and other proprietary properties for CSS like border-raduis, ::selection, -mozkit and -webkit properties.
You could install the Aptana Studio 3.0.3 plugin which has support for CSS3 properties. Aptana Ticket #1986 shows a way to enable matching for browser vendor specific extensions. Ticket #1495 is also relevant.
WARNING! I read on How do I add FTP support to Eclipse?, that the plugin could potentially overwrite or re-organise a lot of your Eclipse workspace. This is an older answer now, so the new version of plugin might be better. I wouldn't want my advice to break your Eclipse without warning you first :-)
I've been using netbeans for a couple of years now, mainly on PHP / CakePHP projects.
Recently I've started using Coldfusion, which isn't directly supported. I've found, however, that if I use PHP as a project type, I can load the files and the HTML Renderer does an admirable job with the Coldfusion tags.
I want to make it better and help the renderer to understand some of the tags and, hopefully, thereby improve code indentation and syntax highlighting.
My question, then, is how can I access the HTML dictionary to extend the vocabulary?
NB: This isn't a 'which IDE' question so don't recommend them. I want to know if and how I can achieve this in NetBeans and only Netbeans.
Here are a few ideas. If you render it in HTML, you could probably add a custom name space to the HTML. If setup correctly it can help NetBeans realize that the tags are valid and shouldn't show as an error. It might not give you all the preview and WYSIWYG functionality, but it may be better than what you are getting now. I have only done this on other platforms, but I'm pretty sure NetBeans supports it.
Also I think that NetBeans will let you add CustomTags doing something like this:
http://wiki.netbeans.org/CustomTagActions
Just to note, in terms of ColdFusion the other alternatives are NotePad++ with the CF plugin and IntelliJ now supports CF.
I really like Eclipse - the number of plugins available (SVN, Javascript, CSS, CodCollab, Flashbuilder etc.) is what makes it indispensable IMHO.
I am, however, looking forward to the new version of CFBuilder.
This answer on the same/similar question suggests that there is nothing out there for ColdFusion on netbeans : NetBeans as an editor for ColdFusion scripts?
If you want to build your own ColdFusion plugin for netbeans you need to look at plugin development; http://platform.netbeans.org/tutorials/60/nbm-google.html You could use the Dictionary project from cfeclipse as a basis for your plugin. See this Google Group thread for a bit more information
My question is very simple: Is it possible to pack plugins into extensions for Safari? For instance, the exact NPAPI plugins which work on Google Chrome also work on Safari. However in Chrome I'm shipping the plugins as a part of an extension (a CRX package). This is needed because HTML and JavaScript is injected into a specific web page, and this code uses the plugins. I do not see an option in Extension Builder to specify plugin files and I haven't come across any proper documentation saying that plugins cannot be packed into extensions.
Any help will be greatly appreciated!
The first comment:
I don't think that is supported. A workaround could be a custom installer that installs both the plugin and the extension. – Georg Fritzsche
This is the only possible way to do it! FYI: Apple guys are against the idea of extensions accessing native code (ie, plugins). An obvious security loop-hole, but a necessity here! :)
How do I get smarty syntax highlighting in Eclipse PDT?
The only project I was able to find is SmartyPDT, but it's outdated and isn't working with my current Eclipse install (PDT All in one, with Eclipse 3.5).
EDIT:
I recently found this post asking the same question from a long time ago. But the plugin linked in the accepted answer there is out of date now.
EDIT: removed "(no accepted answer)" from title. it was misleading.
I've used both SmartyPDT and SSE*.
SmartyPDT is finicky and it took some time for me to get it working. Unfortunately, after an OS reinstall my custom jars don't work anymore, so I've been using SSE.
It is quite basic but better than nothing.
It is described in English at bar54.
Download it from Google's translated version.
Update:
Example of SSE http://www.freeimagehosting.net/uploads/1c07de77d7.png
*I guess this is what it's called, the page is in Japanese.
About Using Aptana + Eclipse: They removed support for Smarty in Aptana Studio 2 because they were going to "join forces with the eclipse PDT team", but with "unknown schedule as to when or whether smarty support will come to pdt".
Anyways, they also offer to download the "old" Aptana Studio, which works for me like a charm, I wouldn't want to miss smarty support ever again:
https://aptanastudio.tenderapp.com/faqs/installing-aptana-studio/downloading-aptana-studio-151-and-aptana-php
It works in parallel with PDT2, cause for some reason the php support of Aptana is not so good in 1.5.1 - but the smarty support is cheesy :).
what does Aptana use? I think its Smarty enabled..and it integrates with Eclipse PDT and the other choice is Zend Studio which is built on top of Eclipse PDT
Great article about integration Eclipse Helios + PDT + Smarty
http://www.ikravets.com/computers-life/programming/2010/09/27/eclipse-helios-pdt-smarty (Use translation to English on this page)
I use SmartyPDT, as suggested in this related question.
Just follow as strictly as possible the installation procedure. Worked for me without too much hassle.