CommunityToolkit / CommunityToolkit/Labs-Windows

Better line numbers for markdown source generator diagnostics

Open
#92 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue source generator :gear:
Dominant language
C#
Stars
482
Forks
89
PR merge metrics
No merged PRs in 30d

Description

There are a few `TODO` items in the ToolkitSampleMetadataGenerator.*.cs files related to line numbers for diagnostics for some of the frontmatter/sample references.

This issue is to track fixing those to provide better line numbers pointing to where the error is coming from.

We'll have to re-perform a search/match I think to get the line location in the original file (if we have the text there).

_Originally posted by @Arlodotexe in https://github.com/CommunityToolkit/Labs-Windows/pull/85#discussion_r864251696_

There's also an open question _[see here](https://github.com/CommunityToolkit/Labs-Windows/pull/85#discussion_r864253309)_ about whether or not we should emit a **warning** if there's no documentation provided (in an experiment)?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.