Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP autocomplete in Eclipse PDT function documentation not formatted

I installed Eclipse with PDT. The autocomplete works, and when the pop-up box comes up it shows a list of functions. The problem is that the descriptions of the functions to the right in another box are not formatted. The description which describe the function and list the parameters is plain text, and has some visible css styling, but it is not parsed as such. This is how the start of the str_getcsv function is described:

/* Font definitions */ html { font-family: 'Sans',sans-
serif; font-size: 10pt; font-style: normal; font-weight: 
normal; } body, h1, h2, h3, h4, h5, h6, p, table, td, 
caption, th, ul, ol, dl, li, dd, dt { font-size: 1em; } pre 
{ font-family: monospace; } /* Margins */  

has anybody had this problem. I can't seem to find any reference to this.

like image 606
sjking Avatar asked Feb 19 '26 07:02

sjking


1 Answers

It's because the library that eclipse uses to render html inside the autocomplete is missing.

In ubuntu or debian you can solve it by installing libwebkitgtk-1.0-0

sudo apt-get install libwebkitgtk-1.0-0

then restart eclipse

like image 56
ricardgf Avatar answered Feb 20 '26 20:02

ricardgf



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!