Giter Site home page Giter Site logo

Comments (3)

benweier avatar benweier commented on May 31, 2024

Thanks @FichteFoll

I finally got around to addressing the issue. I hope you don't mind I was inspired by the way you initialise FileHistory and I modelled Themr off that. On closer inspection of other areas of Themr I found that it was loading multiple preference objects when it didn't need to be, so I refactored a bit to reduce them down to a single preference object per settings file. I also took the opportunity to clean up a few functions to improve their separation of concerns.

from themr.

FichteFoll avatar FichteFoll commented on May 31, 2024

Sure thing. Instance handling has actually changed already as I'm now using a metaclass instead of the instance classmethod.

I also use many different approaches for state sharing in my plugins, but I still haven't really decided which way is the best and pretty much decide what I'm going to use on a case by case basis (another example is InactivePanes). FileHistory was written by @jbjornson btw and I just help maintaining it.

from themr.

benweier avatar benweier commented on May 31, 2024

Big thanks to you both then :)

from themr.

Related Issues (15)

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.