clj-ns-browser icon indicating copy to clipboard operation
clj-ns-browser copied to clipboard

more flexibility for vars-list display

Open franks42 opened this issue 12 years ago • 3 comments

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...

franks42 avatar Apr 19 '12 17:04 franks42

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.

jafingerhut avatar Apr 19 '12 17:04 jafingerhut

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

franks42 avatar May 01 '12 03:05 franks42

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 (?)

franks42 avatar May 01 '12 05:05 franks42