Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8269641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T06:17:57+00:00 2026-06-08T06:17:57+00:00

I just found Sublime Text 2 and it’s awesome. The only thing I really

  • 0

I just found Sublime Text 2 and it’s awesome. The only thing I really miss is the ability to view the doc string of the function I’m dealing with. Are there any plugins that can do this?

for example:

def f(x):
    '''a doc string for f'''
    print x

f # << at this point, either automatically or with a keystroke,
  # I would like to be able to somehow view "a doc string for f"

Edit: I’ve already attempted to using SublimeCodeIntel and SublimeRope, neither have such support.

Edit2: It should also work for other modules in the open project.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T06:17:58+00:00Added an answer on June 8, 2026 at 6:17 am

    By tweaking SublimeCodeIntel, you can disable the “jump” to the file where the function is defined — this will allow you to see the function definition in the status bar upon alt-clicking.

    To do this, select Preferences > Browse Packages and then open SublimeCodeIntel/SublimeCodeIntel.py.

    Go to class GotoPythonDefinition(sublime_plugin.TextCommand): and add a return at line 890 so that the first lines of _trigger read:

            def _trigger(defns):
                if defns is not None:
                    defn = defns[0]
                    if defn.name and defn.doc:
                        msg = "%s: %s" % (defn.name, defn.doc)
                        logger(view, 'info', msg, timeout=3000)
                        return
    

    (you can also tweak the msg string formatting and remove the defn.name to save a bit of status bar space).

    It’s a bit disorienting to have to look down at the status bar to see the definition… also, the status bar won’t be able to display long definitions. However, it’s a start. Hopefully, tooltip/popup control will be made available through the API so that definitions can appear in the view next to alt-clicked functions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just found about the autocomplete feature in Sublime Text 2. Example auto complete file:
Just found a bug in this code : for(String link : tempList1){ if(!tempList2.contains(link));{ listToPopulate.add(link);
Just found that unfinished manual, but it's really unfineshed. Right on the climax. I
I just found in a project: try { myLabel.Text = school.SchoolName; } catch {
I just found that not only does this code compile, it seems to split
I just found CompletionService in this blog post . However, this does't really showcases
Just found an unnecessary null check in KeyedCollection.Contains(TKey). Appreciate it's only a very small
I just found a cool web app named Full Text RSS Feed , it
Just found out that the video output of the iPad is not a system
I just found Data::Section and I got interested in it. Unfortunately, I simply cannot

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.