clj-ns-browser
clj-ns-browser copied to clipboard
more flexibility for vars-list display
right now the vars are categorized by macro/function/etc., which is a good option, but not always the most convenient one.
Maybe we should have a choice to show them in one list, or show them categorized. (popup menu choice? radio button above/below? menubar-menu choice?)
Categorized display could also be a tree-widget.
Same is true for showing only the local name or the fqn - maybe another choice for every display to show list as local- or fq-name.
Same is true for public and private - either radio- of choice-button choice.
Or maybe show list in a table with local, fqn, public/private indicator, macro/function indicator, maybe color-code rows (red for macros).
Too many choices... too little time...
At least for the categorized vs. all-in-one-list question, you probably noticed that the Clojure code makes it easy to change between them by altering one true/false variable. As far as a GUI for that, it might make sense to have a checkbox just above the var list to turn categorization on/off. A tree widget with collapsible entries for each category sounds nice.
Maybe we should change the vars-cbx to list:
Vars - all Vars - public Vars - private Vars - macros Vars - functions Vars- protocols Classes Classes - deftype Classes - defrecord Refers Refers w/o core All Aliases Special-Forms
This would be closer to what the user sees, and less what the functions happen to be to get the results... I'll implement this and see how it works/looks
implemented the vars/classes choice-list instead of interns/imports - let's play with that to see how it "feels"
the macro/function/protocol/etc options are really additional filters - maybe there should be an additional choice list with only those filters and keep the vars-cbx clean with only vars/classes (?)