Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit) (+1)

Auto-completion for structs works if

  • It’s a local variable, which is handled by the (smarter, slower) linter instead of project-wide indexer

  • It’s a new ConstructorName, inside of which you’ve set your variables

  • You’ve specified the type yourself via

    /// @hint {int} ImportantStruct:x
    /// @hint {int} ImportantStruct:y
    t = { /// @is {ImportantStruct}
        x: 1,
        y: 2
    }