okampfer
V2EX  ›  Atom

atom 的“转到定义”该如何使用?

  •  
  •   okampfer · Feb 26, 2016 · 12293 views
    This topic created in 3788 days ago, the information mentioned may be changed or developed.

    atom的“转到定义”(Go to Declaration)到底是怎么使用的?没有反应呢? Keybinding resolver 显示按键是肯定被捕捉到了的。

    atom 的转到定义跟 sublime text 的使用上有区别?

    还请大家多多指教。

    1 replies    2016-02-26 09:19:23 +08:00
    faceair
        1
    faceair  
       Feb 26, 2016   ❤️ 1
    Go to Declaration 是 symbols-view 插件提供的功能,看 readme ( https://github.com/atom/symbols-view)是需要生成 ctag 配合使用的。生成 ctag 可以使用 https://atom.io/packages/symbol-gen ,不过我没用过你自己研究下。
    如果你不想预生成 ctag ,跟 Sublime Text 那样即时查找定义的,可以使用我写的这个插件 https://atom.io/packages/goto-definition ,不过 Atom 的搜索比 Sublime Text 的会慢一些
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   897 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 20:13 · PVG 04:13 · LAX 13:13 · JFK 16:13
    ♥ Do have faith in what you're doing.