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

Add "Show help for current object" option to Editor context menu #978

Closed
spyder-bot opened this issue Feb 17, 2015 · 7 comments
Closed

Add "Show help for current object" option to Editor context menu #978

spyder-bot opened this issue Feb 17, 2015 · 7 comments

Comments

@spyder-bot
Copy link
Collaborator

From vbgunz on 2012-03-27T08:38:23Z

Current options are "Source: Console" and "Source: Editor". Is it possible to ask for a third "Source: Cursor"? It would behave by automatically updating the "Object Inspector" to wherever the cursor is in real time.

It would be nice to have an immediate reference to a member without having to ask for it. An always updating "Object Inspector" should make re/familiarizing oneself with any well documented module easier without the developer having to break their work-flow to Google, read docs, sift through source, switch windows, play with options, etc.

At least, hopefully it'll keep a developer from breaking more often.

The last request is linking back to the "Online help" from the "Object Inspector". A good example is os.path.abspath. The OI shows immediate information about abspath but doesn't provide a way to jump to modules path OR os.

The main points of the above feature requests is making "Learning" an integral part of "Coding". This is why I personally picked Python and IDE's really need to catch up with this concept. This is why when I first tried Spyder (yesterday), it showed promise in this area unlike any other Python IDE.

I hope the request is feasible. Thank you for the opportunity to share it with you.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=978

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2013-02-13T09:16:03Z

On my plans for 2.3.

Status: Accepted
Owner: ccordoba12
Labels: -Cat-Miscelleneous Cat-ObjectInspector MS-v2.3

@spyder-bot
Copy link
Collaborator Author

From pierre.raybaut on 2013-05-11T06:00:49Z

Labels: -MS-v2.3 MS-v2.4

@ccordoba12 ccordoba12 modified the milestones: v3.1, v3.0, wishlist Jul 13, 2015
@naught101
Copy link

I don't know about real time, that could get distracting, but it would be nice to have a menu item/shortcut for "show the object under the cursor in the object inspector"

@ccordoba12
Copy link
Member

I think that's what Ctrl+I is used for, isn't it?

@naught101
Copy link

Ah, cool, yep, that works. But there's no corresponding menu item, so there's no easy way to discover that.

@ccordoba12
Copy link
Member

Please read the Usage message shown in the Object Inspector every time Spyder is started.

What we could do is adding an entry in the context menu of both the Editor and the Consoles called Show help for the current object that has the same effect. What about that?

@naught101
Copy link

Heh. I never noticed that :P

Yeah, context menu would be great. It might also go well in the 'source' menu.

@CAM-Gerlach CAM-Gerlach changed the title Two "Object Inspector" Feature Request. "Source: Cursor" & "Links to Online help" Add "Show help for current object" option to Editor context menu Feb 18, 2018
jsbautista pushed a commit to jsbautista/spyder that referenced this issue May 23, 2022
Shubhamxshah added a commit to Shubhamxshah/spyder that referenced this issue May 30, 2022
@dalthviz dalthviz modified the milestones: wishlist, v5.3.2 Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants