casid / jte-intellij

IntelliJ plugin for jte template files.
https://github.com/casid/jte
Apache License 2.0
23 stars 4 forks source link

IntelliJ: Cannot insert newline at end of file, when template control structure is incomplete #50

Open Virtlink opened 3 months ago

Virtlink commented 3 months ago

Using the JTE IntelliJ plugin version 2.1.2, I cannot insert a newline at the end of the .kte template file when a template control structure is incomplete.

To reproduce:

  1. Create a new file test.kte.

  2. Type an incomplete control structure:

    @if(true)
  3. Press Enter to try to insert a newline. This fails; no newline is inserted.