Skip to content

Are there IDE completion stubs available? #471

Answered by chrisant996
sewbacca asked this question in Q&A
Discussion options

You must be logged in to vote

Are you asking for autocompletion in VSCode while editing Lua scripts in VSCode?

Exactly.

I can't tell which of these you mean:

  • VSCode should assume that all Lua scripts will be executed by Clink, and always add completions for Clink's extensions to Lua.
  • VSCode should somehow predict whether a Lua script is going to be executed by Clink, and if so then add completions for Clink's extensions to Lua.

Anyway, it sounds like the only part you're actually asking about is how to find what Lua functions Clink adds to standard Lua.
The HTML documentation for Clink is parsed from the Clink source code.
See do_docs() in the docs/premake5.lua script.

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@sewbacca
Comment options

@chrisant996
Comment options

Answer selected by chrisant996
@sewbacca
Comment options

@chrisant996
Comment options

@chrisant996
Comment options

@sewbacca
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Question about something
2 participants