Skip to content

Detect variables as they are parsed in the AST #809

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

Merged
merged 1 commit into from
Mar 21, 2025

Conversation

Mpdreamz
Copy link
Member

@Mpdreamz Mpdreamz commented Mar 21, 2025

We added support for detecting variables being used an hinting on ones that are not in use.

This PR fixes a glaring omission of not emitting the keys as they are parsed in the markdown parser.

We were only emitting keys that we're used in random string replacements (code and a few other places).

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@Mpdreamz Mpdreamz requested a review from a team as a code owner March 21, 2025 09:27
@Mpdreamz Mpdreamz added the fix label Mar 21, 2025
@Mpdreamz Mpdreamz self-assigned this Mar 21, 2025
@Mpdreamz Mpdreamz linked an issue Mar 21, 2025 that may be closed by this pull request
3 tasks
@Mpdreamz Mpdreamz merged commit fd7ea64 into main Mar 21, 2025
11 checks passed
@Mpdreamz Mpdreamz deleted the fix/variable-in-use-detection branch March 21, 2025 09:41
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.

Substitution key hint shows even when a sub is used
2 participants