Local History Setup - GavriYashar/Matlab-Editor-Plugin GitHub Wiki

Update *.properties

  • set feature.enableLocalHistory to true
  • set localHistory.daysToKeep to desired scalar positive non zero integer value.
    • This value represents how long changes are stored in days.
    • default value is 5 days
  • set kb.localHistory to desired keyboard shortcut
  • set kb.save to a value that matches your keyboard save shortcut.
    • default value is CONTROL + S
  • set localHistory.command to desired diff viewer
    • on default the Matlab diffviewer is used: com.mathworks.comparisons.main.ComparisonUtilities.startComparison($LOCALJAVA, $REMOTEJAVA)
    • to use kdiff3: "C:/.../kdiff3.exe" "$LOCAL" "$REMOTE"
    • to use vscode: "C:/.../code.exe" --diff "$LOCAL" "$REMOTE"
    • to use meld: "C:/.../meld.exe" "$LOCAL" "$REMOTE"