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

python: Highlight docstrings for classes and modules #20486

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

clwainwright
Copy link

@clwainwright clwainwright commented Nov 11, 2024

Release Notes:

Previously, only docstrings inside python functions were labeled as string.doc, but docstrings can exist at the class or module level too. This adds the more specific string type for each of those.

Before:
image

After:
image

Copy link

cla-bot bot commented Nov 11, 2024

We require contributors to sign our Contributor License Agreement, and we don't have @clwainwright on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@clwainwright
Copy link
Author

@cla-bot check

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Nov 11, 2024
Copy link

cla-bot bot commented Nov 11, 2024

The cla-bot has been summoned, and re-checked this pull request!

@clwainwright clwainwright changed the title docstrings for python classes and modules Docstrings for python classes and modules Nov 11, 2024
@maxdeviant maxdeviant changed the title Docstrings for python classes and modules python: Highlight docstrings for classes and modules Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant