Skip to content

Navigate and mark your edit history(NEH), it fork from vscode-navigate-edit-history .标记和跳转编辑过的位置,可自定义快捷键

License

Notifications You must be signed in to change notification settings

pattazl/navigate-mark-edit-history

Repository files navigation

Navigate and mark Edit History

A Visual Studio Extension for quick navigation of edits/markers (NEH) . This is a fork and derivative of Edit History Bookmarks , add multi-lang(Chinese) support , marker style , clear all in current file and so on.

中文文档 Github 中文文档 Gitee

Features

  • Quick access back and forward between edits and marked locations
  • Search edits across all files
  • Persistent storage edit history
  • Marks with stack workflow pattern
  • Remove, Create, Toggle edit/mark at location for quick back tracking
  • Auto-move edits/marks to top of navigation stack (optional)
  • Define the marker style by your self , 6 styles preset

Some Marker Style

You can define own style by current style JSON

imgimgimgimgimg

Extension Settings

This extension contributes the following commands (Set in Keyboard Preferences):

  • navigateEditHistory.moveCursorToPreviousEdit: NEH: Navigate back in edit history
  • navigateEditHistory.moveCursorToPreviousEditInCurrentFile: NEH: Navigate back in edit history in the current file
  • navigateEditHistory.moveCursorToNextEdit: NEH: Navigate forward in edit history
  • navigateEditHistory.moveCursorToNextEditInCurrentFile: NEH: Navigate forward in edit history in the current file
  • navigateEditHistory.list: NEH: List edit history in all files
  • navigateEditHistory.createEditAtCursor: NEH: Create edit at cursor position (Moves edit to top of stack)
  • navigateEditHistory.removeEditAtCursor: NEH: Remove any edits on the current line
  • navigateEditHistory.toggleEditAtCursor: NEH: Toggle any edits on the current line
  • navigateEditHistory.moveCursorCancelNavigation: NEH: Navigate back to beginning of stack before any jumps
  • navigateEditHistory.clearEdits: NEH: Clear All Edits
  • navigateEditHistory.clearCurrEdits: NEH: Clear All Edits in the current file

This extension contributes the following settings (Set in User Preferences):

  • navigateEditHistory.maxHistorySize: Maximum number of entries for the edits history.
  • navigateEditHistory.centerOnReveal: When navigating to an edit outside the view, should we always put the edit in the center of the screen?
  • navigateEditHistory.groupEditsWithinLines: Group edits if they are within a certain amount of lines from each other.
  • navigateEditHistory.logDebug: Log a bunch of stuff to the console. Use if submitting a bug report.
  • navigateEditHistory.topStackWhenQuickPickSelect: Move edit to top of stack on quick pick select.
  • navigateEditHistory.topStackWhenMove: Move edit to top of stack on cursor position change.
  • navigateEditHistory.filterOnPathInEditList: When filtering the edit list, also match on the file path.
  • navigateEditHistory.markerStyle: Marker Style, you can define JSON #navigateEditHistory.markerJSONCustom# by yourself, SVG maybe has conflict with breakpoint Issue ,
  • navigateEditHistory.markerColor: Such as #FF00FF99, not worked in SVG, you can define JSON #navigateEditHistory.markerJSONCustom# by yourself, see the theme-color,
  • navigateEditHistory.markerJSON: Current marker style's JSON, it is readonly and for custom reference, custom key(gutterIconPathExt) support relative/absolute SVG path,
  • navigateEditHistory.markerJSONCustom: The custom marker style's JSON, see the #navigateEditHistory.markerJSON# and DecorationRenderOptions,
  • navigateEditHistory.markerWholeLine : Whether marker the whole line, you can define JSON #navigateEditHistory.markerJSONCustom# by yourself.,
  • navigateEditHistory.markerStyleEnum1 : The Line on the left,
  • navigateEditHistory.markerStyleEnum2 : The dash on the left,
  • navigateEditHistory.markerStyleEnum3 : The dot on the left,
  • navigateEditHistory.markerStyleEnum4 : The dot on the bottom,
  • navigateEditHistory.markerStyleEnum5 : Set background color,
  • navigateEditHistory.markerStyleEnum6 : SVG rectangle on the left, the key gutterIconPathExt support relative/absolute,
  • navigateEditHistory.markerStyleEnum7 : SVG triangle on the left, the key gutterIconPathExt support relative/absolute,
  • navigateEditHistory.markerStyleEnum8 : Set your own style by marker JSONCustom,

Known Issues

  • Cant save edit history in files that has not yet been saved to disk.

About

Navigate and mark your edit history(NEH), it fork from vscode-navigate-edit-history .标记和跳转编辑过的位置,可自定义快捷键

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published