How to configure eclipse (zend studio 6) for tooltip and coding of several languages?

My dream IDE contains complete code hints, explains and complements PHP, Javascript, HTML and CSS. I know that it exists!

still Zend studio 6 , in the Eclipse IDE environment it does a great job with a hint of PHP, some Javascript and HTML, in any way can I extend this?

edit: a little more information: right now, using zend-6 under the eclipse, I'm typing

<?php p //(a single letter "p") 

and I get a hint hint with all available php functions that start with "p" (phpinfo (), parse_ini_file (), parse_str (), etc.), each with its own explanation: phpinfo () → "displays a lot of information about PHP, "the same goes for regular HTML (no explanation, however).

However, I get nothing when I do:

 <style> b /* (a single letter "b") */ 

I would like it if I could get from this sentence "b" for "border", "bottom", etc. The same goes for javascript.

Any ideas?

+7
code-completion zend-studio
source share
2 answers

I think JavaScript and CSS must be in separate files for this to work.

CSS autocomplete example in Eclipse:

Starting with border type

css example in eclipse

Then set the thickness

autocompleting border thickness

Then select a color

autocompleting border color

Choose red and he added; for me

alt text

IMHO works well.

+2
source share

The default CSS and HTML editors for Eclipse are really good. The javascript editor does the OK job by default, but it needs a little work.

I just tested this in Eclipse 3.3.2

 function test(){ } te<CTRL+SPACE> 

and he completed the method for me, as he did:

 var test = function(){ }; te<CTRL+SPACE> 

Can you talk about what else you wanted to do?

0
source share

All Articles