-
-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] How do you add an application's API to Intellisense? #48
Comments
You may use EmmyLua for now. |
Is there a recommended method of "including" such files in your VS Code workspace? Or must you just have your "defintion file" somewhere in your workspace? |
What i have done is make a folder called I created 2 python scripts to automate converting a webpage into bare lua files with Emmy's format for auto-completions ect https://github.com/Dude112113/RobloxApi-Definitions-Emmy just as a side note, this is what i have done, don't expect it to be how it should be done as that i do not know. |
Yes, I've done much the same myself. Havent put it on github yet but intend to. Have you somehow managed to get function descriptions to show up? I use a format like this: --- Opens a filename for seeking and playback
function preview:Open()end But in VSCode I don't see that comment "Opens a filename..." etc when i begin to type "Open", as I would in other languages. |
Very good point, im currently using a different extension for the time being until this one has better support for EmmyLua... |
Wow, sounds great! Also, the English looks good to me... |
I am using Lua for the purpose of writing scripts for the application Blackmagic Fusion. My wish would be to have API auto-completion/intellisense based on that application API. I'm willing to put in the work to put the API into some format that VS Code can interpret, as I have done for other projects (Typescript). But I am unsure how to go about this. Thank you for any help!
Here's an example of the type of script I'm talking about:
https://github.com/movalex/fusion_scripts/blob/master/Scripts/Tool/Macro2Group.lua
The text was updated successfully, but these errors were encountered: