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

1 Like

All this I have active, the rest is deactivated:

  • Assistant mesh generation
  • Avatar joint upgrade.
  • Dragger QoL Improvements
  • Face capture
  • Import queue.
  • Improved Constraint Tool
  • Incremental typechecking and autocompletion in studio.
  • Live Animator Creator
  • Multilayer wrap fix.
  • New Studio Camera Controls.
  • Next Gen Explorer
  • Preferred Text Size Setting
  • Revamped Asset Manager.
  • Script Sync
  • Scripts Are Non-Strict By Default.
  • Studio solid modeling improvements.
  • UIDragDetectors
  • Unified Lighting
  • Video Uploads

I disable Incremental typechecking and autocompletion in studio and now it works, I guess it’s beta feature is with problems

1 Like