Eclipse: Files opened by multiple searches using same editor tab

后端 未结 2 934
旧时难觅i
旧时难觅i 2020-12-12 18:52

When using the \"file search\" function in eclipse to find a bit of text in a \".java\" file, I may get a list of several search results. Let\'s say I double click on the f

相关标签:
2条回答
  • 2020-12-12 19:02

    Disable the option

    Preferences > General > Search > Reuse editors to show matches

    0 讨论(0)
  • 2020-12-12 19:26

    Above is the best answer. But since I don't always want to open the search result in a new tab I usually use something like this.

    right click on the result -> Show In -> Package Explorer ->(file is now automatically selected)->Press 'Enter'
    

    More simply

    Select the result -> alt + shift + w -> Package Explorer -> press 'Enter' twice
    
    0 讨论(0)
提交回复
热议问题