Problems with script autocomplete

Problem 1

Steps:

  • Create a type custom containing a function with self.
  • Try to use autocomplete inside a method.

It only works if you explicitly write the self parameter:

Same happens if I don’t write --!strict.

Problem 2

Steps:

  • Create a type custom.
  • Write a for in pairs do.
  • Try to edit the variable inside the pairs.

Instead of suggesting only the properties of type, it suggests global variables.


Expected behavior

  1. Type values ​​should appear, in this case “Value” and the function should appear when writing within the function
  2. It should only suggest the properties of type, in this case only List.
1 Like

Hi @SOTR654

Would you check what beta features you’ve enabled? This can help us narrow down the root cause.

Thank you