Comments (4)
The open and closed lists are separated basically for sorting purposes. The main purpose of the plugin is to provide better access to the files that have been closed, and these files should be first in the quick panel list and by chronological order. I think this is important. The opened files basically provide quick access to the files that you have open and should be at the end of the quick panel list.
I guess we could append the opened files to the end of the list, but then it is more difficult to discard the old history entries when the list starts getting large (see settings global_max_entries
and project_max_entries
). Keeping the lists separate makes sorting and list size maintenance simple and combining them is also easy.
Personally I would like to keep it the way it is.
from filehistory.
Okay, if that's what it's supposed to do (list opened after closed) then it's okay since it makes it easier to work with the separate lists. For some reason I never really understood why opened files were saved at all but the most practical usecase seems to be when working with multiple projects.
However, we can remove the action
key in this case.
from filehistory.
We use the action
key in the quick panel to show whether the user opened
or closed
that file last. If we remove this key then we lose the context (opened or closed) when we combine the two lists together.
Yes, the opened files are very helpful when working on multiple projects.
from filehistory.
Pushed changes to no_action_key
branch.
from filehistory.
Related Issues (20)
- Get rid of `FileHistory.instance()` HOT 9
- Transient views opened from the panel are added to the current project HOT 1
- Couldn't preview or open certain files HOT 1
- Enhancements for "multi open palette" HOT 2
- ESC key closes current buffer HOT 11
- Backups don't play well when syncing across multiple machines (e.g. via Dropbox)
- `Enter` just takes me back to the last buffer HOT 12
- How about just history of cursor positions across files? HOT 1
- Pressing `right` to open a history entry does not work if previews are disabled
- Settings and keybindings open a blank document HOT 3
- Deleting first item does not take effect till menu is closed
- Featurerequest: Import recently opened files from sublime text itself after first installation HOT 2
- doesn't work with sublime 3.1.1, build 3176 HOT 3
- Specify permanent files HOT 1
- If the Sublime Text setting close_windows_when_empty is true, the current window closes, if empty HOT 1
- Load the file history asynchronously and keep the quick panel open HOT 8
- Don't keep redundant symlinked paths HOT 5
- Absolute timestamp error HOT 2
- Ability to remove dead files from the Session.sublime_session file HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filehistory.