Make autocomplete work for ROBLOX type constructors

As far as autocomplete enhancements go this one is high !/$

“UDim2.new(” should autocomplete with the various constructors that are available.

Ditto for Vector3, CFrame, etc.

EDIT: Apparently this is working. It just removes the autocomplete help too early. It should wait until I am done typing the line of code instead of disappearing after I type the “(” in “UDim2.new(”

2 Likes

Also while we are at it, these are also easy:

print()
delay()
spawn()

etc

UDim2, Vector3, and CFrame all have Intellisense appear that show me their constructors. I’ll add functions like print, delay, etc. to our review list.

1 Like

I get nothing.

blob.png

Though I do get some stuff for CFrame.

Weird.

It will show it when you type the . after the library, like you do with the CFrame screenshot.

http://img.prntscr.com/img?url=http://i.imgur.com/LdWfcUB.png

Although for CFrame the help disappears before I am done with it.

blob.png

Visual Studio leaves the help up until I am done typing the line. It also shows all overloads.

blob.png

5 Likes

Here’s the card for adding things like print to Intellisense:

Lua doesn’t have overloaded functions, only optional parameters.