看板 Linux 關於我們 聯絡資訊
我想請問在emacs下編寫c/c++程式 是否有像在visual studio下的提示功能 例如: 我只要打出 memcpy( 下面就會顯示出 memcpy的function prototype: void * memcpy ( void * destination, const void * source, size_t num ); 然後我就可以知道 第幾個參數傳什麼東西 請問emacs是否有類似的功能?? 感謝 -- -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 118.168.67.103
coldnew:yasnippet.el 去找找這個elisp 12/03 16:37
coldnew:不過你期望的部份要自己寫,請參考他裏面if或for的寫法 12/03 16:38
yourboss:藉這個標題問,有純文字的editing有提示的功能嗎? 12/03 17:21
coldnew:不懂樓上的意思.... 12/03 17:37
dou0228:樓上意思是vi或nano類純文字editor可以這樣嗎? 12/03 17:45
superGA:yasnippet只有補字 沒有提示喔 12/03 19:22
KCda260:vim我記得有bash的module 12/03 20:27
dryman:vim 有AutoComplPop 配合cpp.vim stl.vim 就行了 12/03 20:52
dryman:以上三個都是plugin 12/03 20:53
yourboss:我的意思樓上幾位已經幫我講得很清楚了,大致上就是 12/03 23:31
yourboss:vim vi等純文字編輯器,在寫程式時如原PO講的那樣的 12/03 23:33
dryman:樓上...我說得plugin就是能夠自動跳出自動完成視窗啊.. 12/03 23:56
dryman:http://0rz.tw/45K0L vim autocomplete 12/04 08:40
yourboss:酷喔 樓上謝啦=) 12/04 17:57