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

Properly extract XML doc comment summary content in hover tips, signature help, and completion list #233

Merged
merged 1 commit into from
Apr 22, 2016

Conversation

DustinCampbell
Copy link
Member

@DustinCampbell DustinCampbell commented Apr 21, 2016

Fixes #13
Fixes #30

@DustinCampbell
Copy link
Member Author

@Pilchie, do you want to take a look?

*/
export function plain(doc: string): string {
const summaryStartTag = /<summary>/i;
const summaryEndTag = /<\/summary>/i;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why i? xml doc tags are case sensitive?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. They're case _in_sensitive

image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh. I never knew that. :shipit: then :)

@Pilchie
Copy link
Member

Pilchie commented Apr 22, 2016

👍, except the case sensitivity part.

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

Successfully merging this pull request may close these issues.

3 participants