Eclipse: Files opened by multiple searches using same editor tab

后端 未结 2 936
旧时难觅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: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
    

提交回复
热议问题