久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<tfoot id='XEdne'></tfoot>

<i id='XEdne'><tr id='XEdne'><dt id='XEdne'><q id='XEdne'><span id='XEdne'><b id='XEdne'><form id='XEdne'><ins id='XEdne'></ins><ul id='XEdne'></ul><sub id='XEdne'></sub></form><legend id='XEdne'></legend><bdo id='XEdne'><pre id='XEdne'><center id='XEdne'></center></pre></bdo></b><th id='XEdne'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='XEdne'><tfoot id='XEdne'></tfoot><dl id='XEdne'><fieldset id='XEdne'></fieldset></dl></div>

  1. <legend id='XEdne'><style id='XEdne'><dir id='XEdne'><q id='XEdne'></q></dir></style></legend>

      <small id='XEdne'></small><noframes id='XEdne'>

        <bdo id='XEdne'></bdo><ul id='XEdne'></ul>
    1. Vim PHP 全能完成

      Vim PHP omni completion(Vim PHP 全能完成)

            <legend id='bQaD5'><style id='bQaD5'><dir id='bQaD5'><q id='bQaD5'></q></dir></style></legend>

            <i id='bQaD5'><tr id='bQaD5'><dt id='bQaD5'><q id='bQaD5'><span id='bQaD5'><b id='bQaD5'><form id='bQaD5'><ins id='bQaD5'></ins><ul id='bQaD5'></ul><sub id='bQaD5'></sub></form><legend id='bQaD5'></legend><bdo id='bQaD5'><pre id='bQaD5'><center id='bQaD5'></center></pre></bdo></b><th id='bQaD5'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='bQaD5'><tfoot id='bQaD5'></tfoot><dl id='bQaD5'><fieldset id='bQaD5'></fieldset></dl></div>
              <bdo id='bQaD5'></bdo><ul id='bQaD5'></ul>
                <tbody id='bQaD5'></tbody>
              • <small id='bQaD5'></small><noframes id='bQaD5'>

                <tfoot id='bQaD5'></tfoot>

              • 本文介紹了Vim PHP 全能完成的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                限時送ChatGPT賬號..

                我正在嘗試在 Vim 中正確地獲得 PHP 自動完成功能.現(xiàn)在當我做一個 $blog = new Blog();$blog-> 然后點擊CTRL+X CTRL+O 我希望omnicompletion 返回Blog 類中的所有函數(shù).

                I'm trying to get PHP autocompletion right in Vim. Right now when I do a $blog = new Blog(); $blog-> and then hit CTRL+X CTRL+O I'd expect omnicompletion to return all the functions in the class Blog.

                相反,它返回整個項目的所有函數(shù).我已經(jīng)為我的項目構(gòu)建了 ctags,如下所示:ctags -R *

                Instead, it returns all functions for the entire project. I've built ctags for my project like so: ctags -R *

                有沒有辦法讓自動完成上下文感知?

                Is there any way to make the autocompletion context-aware?

                推薦答案

                catchmeifyoutry 的回答 通過在您使用 omnicomplete 的行之前添加諸如 /* @var $myVar myClass */ 之類的注釋來指出解決方法,但是這很麻煩,而且暫時需要寫注釋,你也可以自己寫函數(shù)名.

                catchmeifyoutry's answer points out a work-around by adding a comment such as /* @var $myVar myClass */ immediately before the line on which you use omnicomplete, however this is cumbersome and for the time it takes to write the comment, you may as well have written the function name yourself.

                這是一個 Vim 腳本:phpComplete

                It is a Vim script: phpComplete

                你仍然需要為你的類生成一個標簽文件,但你可以在文件中使用 omni complete,就像這樣(從腳本頁面的描述中修改);

                You will still need a tags file generated for your classes, but you can then use omni complete within the file, like so (modified from the description on the script's page);

                此補丁允許進行文件內(nèi)檢查,因此您不需要注釋.

                This patch allows for in-file checking so you don't need the comment.

                $blog = new Blog;
                ... 
                $blog->Blah(); // <-- complete without comment 
                

                它還允許支持單例實例化:

                It also allows support for singleton instantiations:

                $instance = Class::getInstance(); 
                $instance->completeMe(); // sweet completion
                

                這篇關(guān)于Vim PHP 全能完成的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                相關(guān)文檔推薦

                enable SOAP on PHP(在 PHP 上啟用 SOAP)
                Get received XML from PHP SOAP Server(從 PHP SOAP 服務(wù)器獲取接收到的 XML)
                not a valid AllXsd value(不是有效的 AllXsd 值)
                PHP SoapClient: SoapFault exception Could not connect to host(PHP SoapClient:SoapFault 異常無法連接到主機)
                Implementation of P_SHA1 algorithm in PHP(PHP中P_SHA1算法的實現(xiàn))
                Sending a byte array from PHP to WCF(將字節(jié)數(shù)組從 PHP 發(fā)送到 WCF)
                  <tbody id='694E6'></tbody>
                <legend id='694E6'><style id='694E6'><dir id='694E6'><q id='694E6'></q></dir></style></legend><tfoot id='694E6'></tfoot>

                  <small id='694E6'></small><noframes id='694E6'>

                        <i id='694E6'><tr id='694E6'><dt id='694E6'><q id='694E6'><span id='694E6'><b id='694E6'><form id='694E6'><ins id='694E6'></ins><ul id='694E6'></ul><sub id='694E6'></sub></form><legend id='694E6'></legend><bdo id='694E6'><pre id='694E6'><center id='694E6'></center></pre></bdo></b><th id='694E6'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='694E6'><tfoot id='694E6'></tfoot><dl id='694E6'><fieldset id='694E6'></fieldset></dl></div>
                        • <bdo id='694E6'></bdo><ul id='694E6'></ul>
                        • 主站蜘蛛池模板: 亚洲精品久久 | 欧美伊人久久久久久久久影院 | 一区二区三区视频在线观看 | 日本三级网站在线观看 | www..com18午夜观看 | 日本午夜在线视频 | 国产超碰人人爽人人做人人爱 | 国产精品a久久久久 | 国产精品久久久久久久久免费 | 国产一区不卡 | 一区在线播放 | 日韩在线视频一区 | 亚洲综合视频 | 亚洲视频在线观看 | 国产一级免费视频 | 午夜爽爽男女免费观看hd | 国产精品视频不卡 | 国产av毛片 | 性一交一乱一透一a级 | 仙人掌旅馆在线观看 | 4h影视| 亚洲综合婷婷 | 精品视频在线观看 | 激情欧美日韩一区二区 | 日本粉嫩一区二区三区视频 | 欧洲精品在线观看 | 亚洲成人一区 | 国产欧美在线视频 | 精精国产xxxx视频在线播放 | 亚洲视频免费在线观看 | 亚洲一区二区三区久久 | 欧美激情五月 | 黄色男女网站 | 日本黄色片免费在线观看 | 日韩精品一区二区不卡 | 欧美高清视频 | 精品国产精品国产偷麻豆 | 欧美日韩国产精品一区 | 91精品国产综合久久久久久丝袜 | 亚洲精品视频一区 | 在线 丝袜 欧美 日韩 制服 |