Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show Interactions a la Dr. Racket #78

Open
devn opened this issue Nov 24, 2011 · 6 comments
Open

Show Interactions a la Dr. Racket #78

devn opened this issue Nov 24, 2011 · 6 comments

Comments

@devn
Copy link

devn commented Nov 24, 2011

I assume the following would be quite a bit of work, but Dr. Racket has an absolutely beautiful system where you can "show interactions", which means that when your mouse hovers over a variable or function, an arrow or arrow(s) are rendered on the screen that show how that thing came to be. For example:

(ns foo.core)

(def hello "hello")

(defn hello-someone [someone]
  (str hello ", " someone))

When hovering over someone, an arrow is drawn from [someone] to someone.
When hovering over hello, an arrow is drawn from (def hello ...) to (str hello ...).

I know this is probably pie in the sky, but every time I see this in Dr. Racket I am flabbergasted at how nice that is.

@GeoffreyKing
Copy link

The editor-known-as Dr Scheme was my general purpose lisp editor, and this a request that i was thinking about raising. So I think it was very handy as well.

It's basically a scoped search with highlighting (that was easily said).

@frenchy64
Copy link

@arthuredelstein can we draw arrows over the code window ATM with clooj?

This is an awesome feature.

@devn
Copy link
Author

devn commented Feb 19, 2012

@frenchy64 @arthuredelstein Is this worth looking into or am I making trouble?

@arthuredelstein
Copy link
Collaborator

Hi Devin,

Sorry, I should have responded earlier. I'm not familiar with this
feature -- can you point me to a screenshot or other details to help
me decide?

Thanks,
Arthur

On Sat, Feb 18, 2012 at 7:47 PM, Devin Walters
reply@reply.github.com
wrote:

@frenchy64 @arthuredelstein Is this worth looking into or am I making trouble?


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

@devn
Copy link
Author

devn commented Feb 26, 2012

Something like this Arthur: http://www.ccs.neu.edu/home/matthias/HtDP2e/i3-4.html

Thanks,

On Tuesday, February 21, 2012 at 2:11 AM, Arthur Edelstein wrote:

Hi Devin,

Sorry, I should have responded earlier. I'm not familiar with this
feature -- can you point me to a screenshot or other details to help
me decide?

Thanks,
Arthur

On Sat, Feb 18, 2012 at 7:47 PM, Devin Walters
<reply@reply.github.com (mailto:reply@reply.github.com)>
wrote:

@frenchy64 @arthuredelstein Is this worth looking into or am I making trouble?


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


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

@arthuredelstein
Copy link
Collaborator

Hi Devin,

I like the functionality (showing all locations of a name) but I'm not
sure I would do it with arrows. What about highlighting every
occurrence of a given name? Netbeans has a similar functionality (see
http://oi39.tinypic.com/23t4a6u.jpg
Here the variable "softTable_" has been selected on line
165, and as a result of this selection, every other occurrence is
automatically highlighted).

Arthur

On Sun, Feb 26, 2012 at 10:34 AM, Devin Walters
reply@reply.github.com
wrote:

Something like this Arthur: http://www.ccs.neu.edu/home/matthias/HtDP2e/i3-4.html

Thanks,

On Tuesday, February 21, 2012 at 2:11 AM, Arthur Edelstein wrote:

Hi Devin,

Sorry, I should have responded earlier. I'm not familiar with this
feature -- can you point me to a screenshot or other details to help
me decide?

Thanks,
Arthur

On Sat, Feb 18, 2012 at 7:47 PM, Devin Walters
<reply@reply.github.com (mailto:reply@reply.github.com)>
wrote:

@frenchy64 @arthuredelstein Is this worth looking into or am I making trouble?


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


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


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants