有關 Vim 的 OmniCppComplete 的問題… - Linux
By Agnes
at 2009-12-09T17:05
at 2009-12-09T17:05
Table of Contents
: → dryman:那你的tag有load進來嗎?透過taglist的plugin能看到嗎? 12/09 13:53
執行 :set tag 回應:
./tags,tags,~/.vim/tags/cpp
預設我記得好像會找當前目錄下的 tags 檔。
後來用 taglist 結果如下:
以下是範例 Object.h 內容:
-------------------------------------
#ifndef OBJECT_H
#define OBJECT_H
#include <string>
class Object {
public:
Object ();
virtual ~Object ();
void foo() const;
int getSomething(const string &name, int i, double d);
private:
int _integer;
};
#endif
------------------------------------
結果 Taglist 只列出:
Object.h
macro
OBJECT_H
class
Object
沒列出 class 裡面的建構子或函式等...
去翻 tags 檔內容發現 ctags 應該有 parse 到 Object.h,
但不曉怎的 OmniCppComplete 就是便秘出不來...
Taglist 這樣我也不曉得是否正常...QQ
--
執行 :set tag 回應:
./tags,tags,~/.vim/tags/cpp
預設我記得好像會找當前目錄下的 tags 檔。
後來用 taglist 結果如下:
以下是範例 Object.h 內容:
-------------------------------------
#ifndef OBJECT_H
#define OBJECT_H
#include <string>
class Object {
public:
Object ();
virtual ~Object ();
void foo() const;
int getSomething(const string &name, int i, double d);
private:
int _integer;
};
#endif
------------------------------------
結果 Taglist 只列出:
Object.h
macro
OBJECT_H
class
Object
沒列出 class 裡面的建構子或函式等...
去翻 tags 檔內容發現 ctags 應該有 parse 到 Object.h,
但不曉怎的 OmniCppComplete 就是便秘出不來...
Taglist 這樣我也不曉得是否正常...QQ
--
Tags:
Linux
All Comments
By Christine
at 2009-12-10T08:20
at 2009-12-10T08:20
By Agatha
at 2009-12-15T01:43
at 2009-12-15T01:43
By Sarah
at 2009-12-18T18:50
at 2009-12-18T18:50
By Liam
at 2009-12-20T01:42
at 2009-12-20T01:42
Related Posts
NIS 相關問題
By Frederica
at 2009-12-09T15:54
at 2009-12-09T15:54
要不要連署編輯器版?
By Jacky
at 2009-12-09T13:57
at 2009-12-09T13:57
gaim 上不了 msn..通訊協定錯誤
By Bennie
at 2009-12-09T12:32
at 2009-12-09T12:32
RX packet dropped
By Emma
at 2009-12-09T10:49
at 2009-12-09T10:49
有關 Vim 的 OmniCppComplete 的問題…
By Charlie
at 2009-12-09T09:34
at 2009-12-09T09:34