【问题标题】:PHP autocomplete in Eclipse PDT function documentation not formattedEclipse PDT 函数文档中的 PHP 自动完成功能未格式化
【发布时间】:2012-06-09 09:23:03
【问题描述】:

我用 PDT 安装了 Eclipse。自动完成功能有效,当弹出框出现时,它会显示功能列表。问题是另一个框中右侧的功能描述没有格式化。描述函数和列出参数的描述是纯文本,并且有一些可见的 css 样式,但它不是这样解析的。 str_getcsv 函数的开头是这样描述的:

/* 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 */  

有人遇到过这个问题吗?我似乎找不到对此的任何参考。

【问题讨论】:

  • 我已经测试过了,它对我有用。

标签: php eclipse autocomplete


【解决方案1】:

这是因为eclipse用来在自动完成中渲染html的库丢失了。

在 ubuntu 或 debian 中你可以通过安装 libwebkitgtk-1.0-0 来解决它

sudo apt-get install libwebkitgtk-1.0-0

然后重启eclipse

【讨论】:

    猜你喜欢
    • 2010-12-22
    • 1970-01-01
    • 2011-02-12
    • 1970-01-01
    • 2011-06-11
    • 2014-02-25
    • 1970-01-01
    • 2012-04-09
    • 1970-01-01
    相关资源
    最近更新 更多