Giter Club home page Giter Club logo

Comments (4)

jbjornson avatar jbjornson commented on May 20, 2024

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.

FichteFoll avatar FichteFoll commented on May 20, 2024

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.

jbjornson avatar jbjornson commented on May 20, 2024

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.

FichteFoll avatar FichteFoll commented on May 20, 2024

Pushed changes to no_action_key branch.

from filehistory.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.