Skip to content

Plugin complains on code blocks #89

Closed
Closed

Description

@serg-bloim

This code gives an error, even though it's correct.

function test{
    print "begin".
    { // Error highlighted here: '{' Unexpected
        print "inside a code block".
    }
    print "end".
}

Activity

  1. valery-labuzhsky commented on Mar 31, 2026

    @valery-labuzhsky
    Contributor

    Which plugin? Also versions will be helpful. The version of the editor and the plugin itself.

  2. serg-bloim commented on Apr 8, 2026

    @serg-bloim
    Author

    The plugin is KerboScript(kOS) v1.4.0.1
    The editor is IntelliJ IDEA 2024.3.4.1 (Community Edition)
    Build #IC-243.25659.59, built on March 4, 2025

  3. valery-labuzhsky commented on Apr 8, 2026

    @valery-labuzhsky
    Contributor

    Hey @FuegoFro. Will you be able to look at it? It seems that block recovery affects it. I'm afraid I have no idea how it works and why it doesn't in this case. And it would be a shame to remove it...

  4. valery-labuzhsky commented on Apr 8, 2026

    @valery-labuzhsky
    Contributor

    @serg-bloim I fixed the problem. Could you please confirm it on your end? You need to update the plugin to v1.4.0.3.

  5. added theissue type on Apr 9, 2026
  6. serg-bloim commented on Apr 10, 2026

    @serg-bloim
    Author

    @valery-labuzhsky Nice, the new version works great!
    Thanks, Formatting and indentation was a mess before. And it's fixed now.

    I think the issue can be closed. Not sure if you have any special process for it.

  7. jim-hart commented on Apr 11, 2026

    @jim-hart
    Member

    Fixed by #90

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions