#Intellisense for parameters, etc.

5 messages · Page 1 of 1 (latest)

real shoal
#

New to Roblox Studio. The intellisense is lovely. This disappears when writing functions, for example, that accepts a character parameter. Is there any way in Luau or the editor to type this specifically to re-add intellisense support? thanks

tropic harbor
#

?

real shoal
#
local function onPlayerAdded(player)
  player. -- no intellisense, since player parameter is untyped
end```

Is there a way to get intellisense on the `player` parameter?
#

I tried ```lua
local function onPlayerAdded(player --[[Player]])

tropic harbor
#
local function onPlayerAdded(player:Player)
  player. -- no intellisense, since player parameter is untyped
end