开发者

'Project' support for Emacs

A while ago I saw something go by for 'search in project' etc support in Emacs where the definition of a project was simply looking from the current directory up til a .git or other source control directory was found.

I unfortunately didn't bookmark the project as I was off in Smalltalk land and didn't need Emacs at the time. I'd really appreciate pointers to the specific project I'm vaguely referencing or one that does the same thing. I've looked at eproject which seems close, but isn't quite what I'm 开发者_高级运维remembering.


So what I was looking for, I finally found.

Textmate minor mode:

https://github.com/defunkt/textmate.el/


Have a look at this SO question. It sounds like what you're looking for is find-file-in-project.el. The EMACS Wiki is usually a good source for this kind of question.


You are probably looking for eproject and its eproject-find-file and/or eproject-grep functions.


I use TAGS for my project, and recently wrote this answer for igrep-in-tags, which does a regexp search through all the files in the TAGS and gives the output in a compilation style buffer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜