Skip to content

CodeActions to resolve syntax errors related to sections #821

@datho7561

Description

@datho7561

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}

Metadata

Metadata

Assignees

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions