Menu

#756 [GUI] user-defined favorite projects and max number of recent project list

Undefined
open
nobody
Feature_Request
2018-10-22
2018-10-20
Jannick
No

List of recent project list in the GUI: It would be great to let the user set:

  • the max number of recent projects shown
  • (and unset) favorite projects always shown in the, say, recent project list

This would be comparable to other GUIs (IDEs and non-IDEs).

Many thanks.

Discussion

  • Jannick

    Jannick - 2018-10-22

    Many thanks for the tips given in the corresponding forum issue on which the attached patch is based. It increases the max recent project number from 16 to 32.

    Suggestion: Currently the max number of recent projects is hardcoded in an enum in main.cpp. If the enum could be included into both main.cpp and recentitemslist.cpp, that would reflect the connex between the enum and RecentItemsList::Initialize() a bit better and maintenance would easier. This depends of the overall architecture, of course. See the comment in the patch.

    As an aside: Would you accept pull requests via github?

     
  • Teodor Petrov

    Teodor Petrov - 2018-10-22
    1. The suggestion in the topic was for a personal patch you maintain for yourself. For this to enter the codebase it needs to be configurable, but I don't like adding too many options, so we need more requests for it to happen.
    2. You can pass the two ids to the function to make it robust
    3. No, but you can give branches and I can commit them (after rebase/squash). We use svn as the main repo and it doesn't understand git branches.
     
    • Jannick

      Jannick - 2018-10-22

      Ok - understand. It sounds like providing patches would be the best way to have them documented as tickets, too.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.