So whenever I’m typing in a function it keeps on adding an extra “)” which is useful sometimes but it keeps getting in the way, is there anyway to disable this?
Yes, there are currently two selections that are for the Script Editor in Settings called; Auto Closing Brackets and Auto Closing Quotes. To turn this off, simply uncheck those two settings to get rid of what you are experiencing.
If you go to write a closing ) or } or ] or " with another bracket or quote already there, you won’t actually place the bracket/quote and instead the cursor will just skip ahead one place.
Try adding a table inside a table by writing open and close brackets inside existing brackets.
-- With enabled
tbl = {} -- try writing {} inside the {}
-- Becomes
tbl = {{}
-- With disabled
tbl = {}
-- Becomes
tbl = {{}}
It is most noticable when dealing with nested tables.