最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

使用Emacs管理中大型項目

2023-01-26 21:34 作者:C20先生  | 我要投稿

使用Emacs管理源代碼

1、跳轉(zhuǎn)到函數(shù)定義處

使用emacs內(nèi)置函數(shù)來跳轉(zhuǎn)到變量的源代碼函數(shù)定義位置。

Emacs有幾種方法可以在不安裝任何額外包的情況下瀏覽每種語言的方法和函數(shù)定義。

2、Find function definitions and usage

To find the definition of a specific identifier (i.e.: function, method, class, etc) we can use?M-.?which is bound to?xref-find-definitions?and it will look for the identifier at point.

To get back where you previously were, use?M-,?which invokes?xref-pop-marker-stack?and pops back to where?M-.?was last invoked.

The above behaviour is possible due to the?Marker stack?which?pushes?each time with?xref-find-definitions?and?pops?from the stack with?xref-pop-marker-stack.

3、Find all class or functions

To look for a regex pattern we use?C-M-.?which invokes (xref-find-apropos).

This is useful also to look for all the classes defined in the project, or functions, for example in Python:?C-M-.?class?would retrieve all the classes known by the backend.




使用Emacs管理中大型項目的評論 (共 條)

分享到微博請遵守國家法律
民乐县| 壤塘县| 榆林市| 嘉荫县| 花垣县| 淳化县| 称多县| 扎鲁特旗| 宾阳县| 彭山县| 深水埗区| 阿拉尔市| 汉源县| 噶尔县| 彝良县| 包头市| 论坛| 濉溪县| 襄垣县| 安新县| 潞城市| 若羌县| 自贡市| 波密县| 棋牌| 肃宁县| 德令哈市| 刚察县| 工布江达县| 兴海县| 江川县| 阿勒泰市| 渭源县| 出国| 彭水| 什邡市| 名山县| 哈尔滨市| 宁德市| 固原市| 洛扎县|