作者apiod ( )
看板Editor
標題[vim ] 如果自動顯示struct有什麼member
時間Tue May 4 14:20:04 2010
假設我有個struct長這樣
struct array
{
int id;
int passwd;
};
struct array person;
我希望在我打 person.的時候能夠自動顯示出我有id和passwd可用。
或是不需自動顯示 設成快速鍵也可以
有什麼方法嗎?
感謝解惑~
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 60.251.183.145
1F:→ oversky0:可能要自定 ctags 才有辦法做到。 05/06 13:45
2F:→ apiod:已經解決了 安裝omnicppcomplete就可以了 05/06 14:16