Skip to content

Commit

Permalink
I make Sublime Text works for this feature
Browse files Browse the repository at this point in the history
  • Loading branch information
u7465990 committed Oct 23, 2024
1 parent 6bf9f30 commit 1372e2a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/org/jabref/gui/push/PushToSublimeText.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,9 @@ protected String[] getCommandLine(String keyString) {
return new String[] {"sh", "-c", "\"" + commandPath + "\"" + " --command 'insert {\"characters\": \"" + citeCommand + keyString + getCiteSuffix() + "\"}'"};
}
}

@Override
protected String[] jumpString(Path fileName, int line, int column) {
return new String[] {commandPath, "%s:%s:%s".formatted(fileName.toString(), line, column)};
}
}

0 comments on commit 1372e2a

Please sign in to comment.