Giter Club home page Giter Club logo

Comments (8)

jafingerhut avatar jafingerhut commented on July 17, 2024

Agreed. Adding a Doc & Source option alone is quick & easy.

One possibility that is more development work, but worth considering, is an easy-to-use part of the interface that lets you toggle all of the possible display elements on/off, and also lets you pick the order in which you want them displayed from top to bottom. I've just done some Googling, and found that JList's let you drag & drop, and with DropMode.INSERT it looks like what I would hope (a horizontal line between exising elements is displayed while dragging to show you where the dragged item will appear if you release the mouse button). Seesaw supports this with :drop-mode :insert as can be seen in this Seesaw example code: https://github.com/daveray/seesaw/blob/develop/test/seesaw/test/examples/dnd.clj

from clj-ns-browser.

seancorfield avatar seancorfield commented on July 17, 2024

It would be great if the UI selections were "sticky" and saved in the .cljwhatever folder so that when you started it up next time, it would go back to whatever settings you had last time. I know that's probably a whole new ticket but it just occurred to me that I'd always want Doc & Source as the initial default :)

from clj-ns-browser.

jafingerhut avatar jafingerhut commented on July 17, 2024

I want that, too. Issue #20 is open and only partially done. The choice of what to display in the right pane and the middle pane are the two highest on my list of settings not yet saved.

from clj-ns-browser.

seancorfield avatar seancorfield commented on July 17, 2024

Nice!

clj-ns-browser is a dev-dependency now at World Singles :) Very nice tool!

from clj-ns-browser.

franks42 avatar franks42 commented on July 17, 2024

I pushed a "1.3.0-SNAPSHOT" to github and clojars that added a "Doc&Source" option - this is just to play with as Andy is doing some much cooler stuff that gives you the same and more but requires some more "baking"...

from clj-ns-browser.

seancorfield avatar seancorfield commented on July 17, 2024

Very nice Frank - Thank you!

from clj-ns-browser.

jafingerhut avatar jafingerhut commented on July 17, 2024

It isn't released yet, not even as a snapshot, but the latest source code on the master branch now shows a row of buttons above the documentation text area, one each for Doc, Source, Comments, etc. You can use control-click (command-click on Mac) to select an arbitrary subset of them, and with none of them selected you can click and drag them left/right to change their order, which also changes the order in which the selected ones are displayed. Maybe overkill, but it was fun learning how to code it.

from clj-ns-browser.

franks42 avatar franks42 commented on July 17, 2024

Just pushed a snapshot to clojars with those new features for testing.

On May 17, 2012, at 5:43 PM, Andy Fingerhut wrote:

It isn't released yet, not even as a snapshot, but the latest source code on the master branch now shows a row of buttons above the documentation text area, one each for Doc, Source, Comments, etc. You can use control-click (command-click on Mac) to select an arbitrary subset of them, and with none of them selected you can click and drag them left/right to change their order, which also changes the order in which the selected ones are displayed. Maybe overkill, but it was fun learning how to code it.


Reply to this email directly or view it on GitHub:
#39 (comment)

from clj-ns-browser.

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.