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

CodeActions to resolve syntax errors related to sections #821

Closed
datho7561 opened this issue Mar 20, 2023 · 0 comments · Fixed by #838
Closed

CodeActions to resolve syntax errors related to sections #821

datho7561 opened this issue Mar 20, 2023 · 0 comments · Fixed by #838
Assignees
Labels
Milestone

Comments

@datho7561
Copy link
Contributor

In #820, Angelo added the ability to report syntax errors related to unclosed sections with the proper error range. Because of this change, it should be easier to implement code actions to resolve these syntax errors. eg.

{#if variable}

we could have a code action to generate

{#if variable}

{/if}

or

{#if variable}

{/else}

we could have a code action to switch to

{#if variable}

{/if}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants