Netbeans 7.0 + Zend Framework + Dojo - zend-framework

I'm starting to develop a basic web application with Zend Framework using Netbeans 7.
I don't get suggestions from the IDE when writing $this->dojo()-> ....
How can I enable suggestions?
Am I missing something? Was I supposed to do something in particular to enable suggestions (eg. include some dojo paths, etc..)?
I looked into Zend docs, but I didn't find anything about it.
Thanks in advance.

You need to add Zend library + ZendX library into the projects PHP include path (Project properties/PHP Include path) or in Options/PHP/General/Global Include path
However many of the suggestions wont appear, because large part of the framework depend on magic functions and context which Netbeans cannot track

I suggest you use PhpStorm!
http://www.jetbrains.com/phpstorm/
In my opinion is the best IDE around!

Related

Getting Bootstrap insight in Eclipse

I use Eclipse for my day-to-day development in ColdFusion, using the CFEclipse plugin. Since a lot of development now starts with Bootstrap, I'd like to use insight (Proposals I think they're called in Eclipse) in the interface so I don't have to type in the same classes all the time. Any idea where to start? I looked into the dictionary XML files for the CFEclipse plugin, but that seems like overkill. I just want to make a list of classnames that the editor can append from when I'm coding.
Thanks.

Attribute "ng-click" not allowed on element in netbeans

I just love AngularJs. I write all my projects in netbeans and I would like to stick with netbeans. I searched over the net for a plugin that supports AngularJs in netbeans, with no luck.
There is a plugin, but it seems not to work, or I can not get it to work.
I am not looking for a full fledged plugin, if I could get rid of the warnings in the editor I would be satisfied.
My questions:
Does anyone know a working plugin for netbeans that supports AngularJs?
If not, a link to instructions how to make netbeans understand a custom attribute would also help/
you can prefix them with data- or x- ...

Netbeans - How to extend HTML vocabulary

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

How can I get Intellij Community Edition to play nicely with GWT UiBinder?

First- I am not using the EAP version, which I understand has built-in support. This is not a viable option.
I am getting XML validation errors on simple things like HTML elements and ui:field="" attributes. What can i tell Idea to make it handle these things correctly? To my "Resources" settings, I already added the uibinder and client.ui XSD's, as well as gwt/DTD/xhtml.ent.
GWT is not supported in the Community Edition.

Problem creating a new framework project in Zend Studio

I have a problem when creating a New Framework project in Zend Studio. I'm new to Zend Studio, using Zend Studio ver.7.1.0.
When creating a new Zend framework project (Zend Server is successfully installed), it will not create the 'application' or 'public' folders.
In my previous test project these were created automatically. But here the only things being created are
Javascript Resources
PHP Include Path
PHP Language Library
Can anyone help me?
I had exact the same problem !
The answer is simple .
It's because of windows 7 permissions.
Just go to your localhost folder, It's
C:\Program Files (x86)\Zend\Apache2\htdocs
since you are using Zend server.
Right click on it and select "WRITE" permission for users.
Just to make sure I selected all permissions for all categories.
And next time I've created my Zend framework project,it created the structure as well !
Make shure the option Zend Framework default project structure is activated under project layout. You can check out Full featured Zend Framework and Dojo Project as well, but that may generate a little too much.
Try to use one of the existing basic projects and then remove the small amount of stuff that you don't need. See if that works for you.
Note you could also try zf tool and do "zf create project"
I know this is a few years ago, but I thought I'd give an answer as to how I solved this exact same problem. I'm only posting this answer here since a search for this problem turned up near the top of the google results, so I'm not posting for some useless SO points.
In the past, I would create ZF projects in Zend Studio and it would create for me a basic application structure with public, application, library, etc. folders. One day I accidentally deleted ZFDoctrine which I had in my Zend Framework path. Weeks later, when I went to create a new ZF project, Zend Studio created the new project without the familiar basic application structure. I did not get any error or warning so I tried to create the same project using zf Zend tool. At the command line, I received several warnings that ZFDoctrine would not load. So I put ZFDoctrine back in my library path and the problem disappeared. So long story short, it's probably something in the library path.