Binding of Isaac Lua APIA VSCode Extension to add support and autocomplete for the The Binding of Isaac: Repentance modding API to the Lua Language Server by Sumneko. This extension uses the Lua Language Server by Sumneko to add autocomplete for The Binding of Isaac: Repentance's modding API with EmmyLua annotations.
This extension is based on the isaac-api-autocomplete-lua repository. How to useFirst off, the extension won't be active by default even if enabled for convenience (not having to manually disable-enable it in each workspace), but instead it will detect if your workspace matches an Isaac mod (contains a metadata.xml file and lua files), then will ask you for confirmation, once per workspace. It also works if metadata.xml etc are in subfolders. You can also manually enable or disable the mod with a palette command, even if you initially answered otherwise. By default, with the extension global functions like
Autocomplete should work with the type specifications too, so it shouldn't be too annoying. You should also do this for any other function where you want the autocomplete to work on its params, also adding You can also use
More examples:
Extension SettingsThis extension has no settings; you can configure behavior in the Lua Language Server extension settings. Known IssuesThere are some issues on the Lua Language Server (which otherwise is very very good) side. They might be fixed when the language server is updated.
Release NotesSee CHANGELOG.md for full changes. 1.6.0Repentogon support as an extension setting. Thanks to 4head and Sanio for writing the Lua docs for it! 1.5.0Now automatically detects if the folder is an Isaac mod, and asks the user for confirmation. See the top of the README for info. 1.3.0
1.2.0
1.1.0
1.0.0
|