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

feat: Format signature help when valid docstring style #6649

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

mofojed
Copy link
Member

@mofojed mofojed commented Feb 14, 2025

  • Closes Markdown formatted autocomplete web-client-ui#2247
  • Adds docstring_parser library for autocomplete usage
  • If a valid docstring is found, format the autocomplete help tooltip with markdown, similar to how VS Code does it
    • Formats the parameters list for readability, and also includes the parameter type and default
    • The current parameter that's being entered has some helpful text at the top (similar to VS Code)
  • Regular docstrings can now use Markdown, but the whitespace style follows plain text
  • Supercedes feat: Format signature help when valid docstring style #6170

@mofojed
Copy link
Member Author

mofojed commented Feb 18, 2025

Before:

image

After:

image

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

Successfully merging this pull request may close these issues.

Markdown formatted autocomplete
2 participants