【问题标题】:How to: snippet expansion in eclim?如何:在 eclim 中进行片段扩展?
【发布时间】:2018-05-05 15:44:45
【问题描述】:

我直接回答这个问题: 我希望能够像在 Eclipse 中那样进行“sysout”sn-p 扩展 是怎么做到的?

【问题讨论】:

    标签: code-snippets expansion eclim


    【解决方案1】:
    EclimHelpGrep snippet
    

    会给你

    1.5.2 (Aug. 30, 2009)
    =====================
    
    Bug Fixes:
       - Various bug fixes.
    Eclim:
       - Added |:ProjectRename| and |:ProjectMove| commands to allow
         renaming and moving of projects.
       - Added |:ProjectProblems| command to populate vim's quickfix
         with a list of all eclipse build errors and warnings for the
         current and all related projects.
         Note: To have problems reported for java projects created via
           eclim, you may need to recreate your java projects to ensure
           that the java builder is properly added.  As of eclim 1.5.2,
           eclim's java project creation now adds the java builder.
    
       - Added |:HistoryDiffNext| and |:HistoryDiffPrev| commands to
         view history diffs while navigating the history stack.
       - Abbreviation support removed in favor of any one of the third
         party snippets plugins available on vim.org (snipMate,
         snippetsEmu, etc.).
       - Added support for hosting third party nailgun apps in eclim via
         an ext dir (eclimd#eclimd-extdir).
    Java:
       - Updated |:JavaImpl|, |:JavaDelegate|, and |:JUnitImpl| to
         better support generics.
       - Updated |:JUnitImpl| to support junit 4 method signatures.
       - Updated |:JavaImport| and :JavaImportSort to honor eclipse's
         import order preference and added the ability to edit that
         preference via |:ProjectSettings| and :EclimSettings.
       - Added initial refactoring (|vim-java-refactor|) support.
    Git Log (1.5.2)
    (https://github.com/ervandew/eclim/compare/1.5.1...1.5.2)
    

    相关部分是:

       - Abbreviation support removed in favor of any one of the third
         party snippets plugins available on vim.org (snipMate,
         snippetsEmu, etc.).
    

    我会调查这些并更新它。到目前为止,我没有使用任何 sn-p 插件。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多