Skip to content

Commit

Permalink
Merge pull request #3 from yurikoval/search-all-panes
Browse files Browse the repository at this point in the history
Search all panes when opening a file
  • Loading branch information
valo authored Jul 25, 2019
2 parents 6848cdd + ed1500d commit 94f7b30
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/elixir-jump-around.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ export default {

toggle_test_file() {
currentFilePath = atom.workspace.getActiveTextEditor().getPath();
opts = {searchAllPanes: true}
if (this.isTestFilePath(currentFilePath)) {
return atom.workspace.open(this.getModulePath(currentFilePath));
return atom.workspace.open(this.getModulePath(currentFilePath), opts);
} else {
return atom.workspace.open(this.getTestPath(currentFilePath));
return atom.workspace.open(this.getTestPath(currentFilePath), opts);
}
},

Expand Down

0 comments on commit 94f7b30

Please sign in to comment.