sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
811 stars 39 forks source link

Usability issue: find and replace history is not synchronized between ST windows #3855

Open annazolkieve opened 3 years ago

annazolkieve commented 3 years ago

Originated from https://forum.sublimetext.com/t/usability-issue-preserve-find-and-replace-history-between-sublime-text-application-instances/52856.

Scenario:

  1. Open new ST window. Navigate into folder Folder_A.
  2. Press Ctrl + H, type some complicated (regex) pattern.
  3. Press Find to make sure the pattern is saved in the history.
  4. Open new ST window via File => Open Folder… (select Folder_B or the same Folder_A).
  5. Press Ctrl + H and expect to reuse previously used complicated (regex) pattern.
  6. The drop-down list of previously used find entries is empty! I.e. the complicated (regex) pattern is gone! Have to retype the complicated (regex) pattern.
  7. (Extra) Even more the find and replace history seems to not permanent nor synchronized between all the ST windows. Please, make it permanent and available immediately for all the ST windows. The key idea is that the end user should never retype or lose previously entered data. The end user should open any number of ST windows and continue comfortably working having all the histories (find and replace is just one example) are already filled and synchronized between all the ST windows. Also, please increase find and replace history size. For example, up to 100k entries should be available.

Version Dev Channel, Build 4094.

BenjaminSchaaf commented 3 years ago

Having windows share the find history is incompatible with history pseudo-entries, as each window could independently edit the same pseudo-entry.

For example, up to 100k entries should be available.

There's currently 128 unique entries per window, which is already long enough to not reasonably search though without some bash-like reverse search functionality.