Skip to content

Swap order of signature and docstrings in hover messages#285

Merged
olafurpg merged 1 commit into
sourcegraph:mainfrom
olafurpg:signature-ordering
Aug 4, 2021
Merged

Swap order of signature and docstrings in hover messages#285
olafurpg merged 1 commit into
sourcegraph:mainfrom
olafurpg:signature-ordering

Conversation

@olafurpg

@olafurpg olafurpg commented Aug 4, 2021

Copy link
Copy Markdown
Contributor

Previously, the docstring appeared above the signature in hover
messages. This was not ideal because it meant you had to scroll down to
see the signature when the docstring is very long (which happens
frequently). This commit moves the signature to the top of
the hover message so you can always see it without scrolling.

Fixes #284

Previously, the docstring appeared above the signature in hover
messages. This was not ideal because it meant you had to scroll down to
see the signature when the docstring is very long (which happens
    frequently). This commit moves the signature to the top of
the hover message so you can always see it without scrolling.

Fixes sourcegraph#284
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Render signature above docstring in hover message

1 participant