Skip to content
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

Adding env or _G as suggetions to cloud editor #23

Open
CodingBenny opened this issue Jun 3, 2020 · 2 comments
Open

Adding env or _G as suggetions to cloud editor #23

CodingBenny opened this issue Jun 3, 2020 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@CodingBenny
Copy link

I would like to have the names of the functions for autocomplete so i dont have to use the edit or lua program to look up the exact name of a function.

@SquidDev SquidDev added enhancement New feature or request help wanted Extra attention is needed labels Jun 3, 2020
@SquidDev
Copy link
Member

SquidDev commented Jun 3, 2020

I guess there's two options here, which aren't entirely mutually exclusive:

  • Provide some Java-side function to dump all globals, and somehow load them up in Monaco. This would mean we have an up-to-date list of globals, but can't provide much relevant information.
  • Run illuaminate (or something similar) in the browser. This would mean only CC's rom is exposed, but would allow us to provide documentation, function signatures, etc... inline.

@CodingBenny
Copy link
Author

It does not really have to be up-to-date in my opinion. The word in the current file are suggested anyway so that the name of a new function in the globals would be completed anyway. Background information for the function does sound tempting. The wiki has very good explainations of all functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Development

No branches or pull requests

2 participants