TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Dumb-jump: an Emacs “jump to definition” package

131 点作者 jacktasia将近 9 年前

13 条评论

kozikow将近 9 年前
I was planning to write this as a comment here, but it ended up growing so I published it on my blog post: <a href="https:&#x2F;&#x2F;kozikow.wordpress.com&#x2F;2016&#x2F;05&#x2F;21&#x2F;nice-new-emacs-package-dumb-jump-el&#x2F;" rel="nofollow">https:&#x2F;&#x2F;kozikow.wordpress.com&#x2F;2016&#x2F;05&#x2F;21&#x2F;nice-new-emacs-pack...</a> .<p>BTW, did you know that you can just do README.org and github parses it? I noticed that you have org file checked in, but README is in md. For example see <a href="https:&#x2F;&#x2F;github.com&#x2F;kozikow&#x2F;keyremaplinux" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kozikow&#x2F;keyremaplinux</a> .
评论 #11781869 未加载
qwertyuiop924将近 9 年前
Ah yes, yet another proof that the Wrong Thing™ isn&#x27;t necessarily the wrong thing. Sure it&#x27;s objectively worse than [ce]tags, but haven&#x27;t you heard? Worse is Better. :-D
评论 #11782882 未加载
jekdoce将近 9 年前
For C&#x2F;C++ RTags (<a href="https:&#x2F;&#x2F;github.com&#x2F;Andersbakken&#x2F;rtags" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Andersbakken&#x2F;rtags</a>) together with company-mode and fly-check can do jump-to-definition, auto-completion and on-the-fly-syntax-checking. Super easy to use if using cmake as build system.<p>Respond to this comment if you need pointers on how to set things up.
评论 #11783370 未加载
t1amat将近 9 年前
This is neat, and useful as a general purpose jump-to feature. It&#x27;s probably worth mentioning that some languages have packages with better functionality for that language, such as tern-mode for JavaScript.
drewg123将近 9 年前
I must be missing something, but what is the advantage of this over something like Emacs Tags (<a href="https:&#x2F;&#x2F;www.emacswiki.org&#x2F;emacs&#x2F;EmacsTags" rel="nofollow">https:&#x2F;&#x2F;www.emacswiki.org&#x2F;emacs&#x2F;EmacsTags</a>) ?
评论 #11782586 未加载
评论 #11781338 未加载
评论 #11781302 未加载
sdegutis将近 9 年前
I really love how well this works with Cider though, for Clojure projects. It even lets you jump to the definition of Java or Clojure files that live outside your current project, e.g. in third party libraries or even the Java standard library. Why, just today I jumped to the definition of java.time.Month because I had never actually seen a real live Java enum before. (Sure enough, it&#x27;s defined with the keyword `enum`. Neat!) Cider has become essential to my Clojure workflow at work.
Myrmornis将近 9 年前
This is cool, I&#x27;ve also been writing a similar emacs package: it uses `git grep` and `git ls-files` to quickly find patterns and file names in the current git repo, and has a simple interface for filtering the search results to narrow down to what you were looking for (and also uses a regexp heuristic for jumping to definitions).<p><a href="https:&#x2F;&#x2F;github.com&#x2F;dandavison&#x2F;emacs-search-files" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dandavison&#x2F;emacs-search-files</a>
webaholic将近 9 年前
What do people use to get something like this for C&#x2F;C++? Also is there any package for auto-completion in C&#x2F;C++?
评论 #11781777 未加载
评论 #11781434 未加载
评论 #11781160 未加载
评论 #11782156 未加载
评论 #11784370 未加载
评论 #11781776 未加载
评论 #11781051 未加载
评论 #11781061 未加载
soamv将近 9 年前
Nice! Just tried it out and it seems to work well.<p>Why does dumb-jump-go want me to save my files before jumping?
评论 #11780587 未加载
mordocai将近 9 年前
Nice package! Unfortunately is completely falling on its face for my ruby on rails project, but I&#x27;m sure it can be improved.
评论 #11781833 未加载
评论 #11780820 未加载
peatfreak将近 9 年前
Why is so much Emacs stuff hosted on GitHub these days? It seems antithetical to the spirit of the project as a whole.
评论 #11784699 未加载
评论 #11784172 未加载
dilap将近 9 年前
this looks neat.<p>i notice one of the supported languages is go -- if you&#x27;re doing much go, i recommend installing godef and using go-mode.el. no tags files or anything like that, and works perfectly well for jumping to definition.<p>(i also highly recommend gorename and guru.)
iKlsR将近 9 年前
Still learning VIM user here, do we have something like this?
评论 #11781859 未加载
评论 #11780824 未加载
评论 #11780539 未加载
评论 #11780878 未加载
评论 #11781659 未加载
评论 #11782023 未加载