Comments (8)
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.
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.
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.
Nice!
clj-ns-browser is a dev-dependency now at World Singles :) Very nice tool!
from clj-ns-browser.
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.
Very nice Frank - Thank you!
from clj-ns-browser.
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.
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)
- some symbols have inconsistent type and value HOT 4
- Name "Clojure Namespace Browser" sucks... HOT 4
- syntax highlighting for clojure code HOT 2
- basic trammel integration
- Add "Search source also" option
- Use ns-tracker for dynamic/real-time update HOT 2
- font changes back to default when size is changed (zoom in/out)
- use tooltips to add additional help/explanations about buttons/panel-content/color
- results of Browse button are tiny and unreadable HOT 9
- Currently no way to quit. Add "File --> Quit" menu item
- Add newlines to doc textarea
- Doc for *ns* appears to be incorrect HOT 1
- "Sorry... cannot close/hide last browser window." HOT 8
- syntax coloring not in effect when selecting more than 1 button; and another bug HOT 1
- NoSuchMethodError when trying to use HOT 1
- ClassNotFoundException java.awt.Window$Type java.net.URLClassLoader$1.run HOT 3
- QUESTION: How do you use this to browse the Clojure-language source code base? HOT 2
- AOT compilation in jar causes issues HOT 1
- Tried to use insecure HTTP repository without TLS HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clj-ns-browser.