Comments (2)
It appears from a brief skim of this that it is intended to help detect when source files have been updated since the last time the file was loaded into the running JVM. Are you thinking that we would add this feature to clj-ns-browser?
If you were hoping that it would help detect changes to a namespace's contents, i.e. which symbols were defined, or tracking when their definitions have changed, I suspect that the polling method used now is as good a method as any.
from clj-ns-browser.
Correct, but there is more hidden in the source…
It has private functions that allow you to build-up the dependency graph for namespaces, like:
#<Var@33dce164:
{:dependencies
{clj-ns-browser.utils
#{cd-client.core clj-info.doc2txt clojure.tools.namespace
clojure.java.shell clj-info.doc2map clojure.string clojure.set
seesaw.core clojure.tools.trace clojure.java.io clojure.pprint
clj-info.doc2html},
clj-ns-browser.sdoc #{clj-ns-browser.browser},
clj-ns-browser.core
#{seesaw.dev clj-ns-browser.sdoc clj-info seesaw.core
clj-ns-browser.browser},
clj-ns-browser.browser
#{clojure.java.browse cd-client.core seesaw.bind seesaw.selector
clojure.java.shell seesaw.dev seesaw.clipboard seesaw.mig
clj-info.doc2map seesaw.dnd clj-ns-browser.utils clojure.string
seesaw.meta clj-info seesaw.border clojure.set seesaw.core
clojure.java.javadoc clj-ns-browser.inspector clojure.tools.trace
clojure.java.io seesaw.rsyntax clojure.pprint}},
:dependents
{clojure.java.browse #{clj-ns-browser.browser},
cd-client.core #{clj-ns-browser.utils clj-ns-browser.browser},
seesaw.bind #{clj-ns-browser.browser},
clj-info.doc2txt #{clj-ns-browser.utils},
clojure.tools.namespace #{clj-ns-browser.utils},
seesaw.selector #{clj-ns-browser.browser},
clojure.java.shell #{clj-ns-browser.utils clj-ns-browser.browser},
seesaw.dev #{clj-ns-browser.core clj-ns-browser.browser},
clj-ns-browser.sdoc #{clj-ns-browser.core},
seesaw.clipboard #{clj-ns-browser.browser},
seesaw.mig #{clj-ns-browser.browser},
clj-info.doc2map #{clj-ns-browser.utils clj-ns-browser.browser},
seesaw.dnd #{clj-ns-browser.browser},
clj-ns-browser.utils #{clj-ns-browser.browser},
clojure.string #{clj-ns-browser.utils clj-ns-browser.browser},
seesaw.meta #{clj-ns-browser.browser},
clj-info #{clj-ns-browser.core clj-ns-browser.browser},
seesaw.border #{clj-ns-browser.browser},
clojure.set #{clj-ns-browser.utils clj-ns-browser.browser},
seesaw.core
#{clj-ns-browser.utils clj-ns-browser.core clj-ns-browser.browser},
clojure.java.javadoc #{clj-ns-browser.browser},
clj-ns-browser.inspector #{clj-ns-browser.browser},
clojure.tools.trace #{clj-ns-browser.utils clj-ns-browser.browser},
clojure.java.io #{clj-ns-browser.utils clj-ns-browser.browser},
clj-ns-browser.browser #{clj-ns-browser.sdoc clj-ns-browser.core},
seesaw.rsyntax #{clj-ns-browser.browser},
clojure.pprint #{clj-ns-browser.utils clj-ns-browser.browser},
clj-info.doc2html #{clj-ns-browser.utils}}}>
which shows you what other namespaces a certain namespace depends on and what other namespaces depend on a specific one.
The idea was that it could be an interesting additional doc-pane for a namespace.
If only we could easily add the version numbers and the namespaces in the jars (currently only source files).
On May 14, 2012, at 10:38 AM, Andy Fingerhut wrote:
It appears from a brief skim of this that it is intended to help detect when source files have been updated since the last time the file was loaded into the running JVM. Are you thinking that we would add this feature to clj-ns-browser?
If you were hoping that it would help detect changes to a namespace's contents, i.e. which symbols were defined, or tracking when their definitions have changed, I suspect that the polling method used now is as good a method as any.
Reply to this email directly or view it on GitHub:
#44 (comment)
from clj-ns-browser.
Related Issues (20)
- some symbols have inconsistent type and value HOT 4
- Doc and Source view would be useful together HOT 8
- Name "Clojure Namespace Browser" sucks... HOT 4
- syntax highlighting for clojure code HOT 2
- basic trammel integration
- Add "Search source also" option
- 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.