TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Does Emacs or Vim have better support for PHP type hinting and intellisense?

1 点作者 pyeri11 个月前
In the coming days, I&#x27;m going to give a serious try to one of these &quot;super flexible but super high learning curve editors&quot; called vim and emacs. I&#x27;m just unable to make up my mind on which one though I&#x27;ve heard and read many good things about both.<p>Right now I use Notepad++ and php type hints is one of the essential features I highly depend on. When I type a php function call such as `strpos(`, NPP shows the function signature in tooltip.<p>From my initial research so far, I came to know that none of these editors provide this basic feature out of the box, at least not without some tweaks. For example, vim does provide something called &quot;omni-box&quot; when you press `C-X C-O` but even in that case, it won&#x27;t show the popup&#x2F;hint in case of a single completion option (for that you have to enable the `menuone` option as described here[1]).<p>The point is that I want to have a seamless and comfy PHP editing environment without spending a lot of time on these tweaks - I might invest some learning time if there is more utility in the long term, especially compared to what I currently get from Notepad++. How does emacs fare in this regard? Is there better PHP support than vim for that?<p>Finally, I&#x27;m already ruling out the &quot;heavy&quot; IDEs like Eclipse PDT and PHP Storm as my laptop configuration isn&#x27;t that high, it has an Intel Atom processor and just 2 GB RAM which crawls if I try to put too much load on it.<p>[1]: https:&#x2F;&#x2F;vim.fandom.com&#x2F;wiki&#x2F;Make_Vim_completion_popup_menu_work_just_like_in_an_IDE

1 comment

DemocracyFTW211 个月前
&gt; I&#x27;m going to give a serious try to one of [...] vim and emacs<p>my heart-felt commiseration