hengz

Sublime Text 2 有像UE那样,查找时列出包含字符串的行吗?

  •  
  •   hengz · Sep 18, 2012 · 13314 views
    This topic created in 4991 days ago, the information mentioned may be changed or developed.
    特别看日志的时候,需要把一些错误信息搜出来,UE能够直接把搜索结果弹一个窗口出来,这样看着非常方便。特别是系统性能日志,对比前后的性能数据的时候。

    我在ST2里找了下有个“find in files...”,不过是搜索所有文件,而且弹出的搜索结果带有上下文。
    2 replies    1970-01-01 08:00:00 +08:00
    DeepBlue
        1
    DeepBlue  
       Sep 18, 2012
    find in files是可以添加过滤选项的,只搜某个文件。至于结果带有上下文这个就不知道了。
    我觉得你这个需求可能比较适合用grep
    hengz
        2
    hengz  
    OP
       Sep 18, 2012
    @DeepBlue 发现左边有个“show context”钮,不选择就不会打出上下文啦,:)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5619 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 02:00 · PVG 10:00 · LAX 19:00 · JFK 22:00
    ♥ Do have faith in what you're doing.