SimpleComplete | General scripting plugin

Patch 6.1:

1 Like

Patch 6.2:

  • Made it so that module path refreshes are done incrementally instead of clearing the whole table and rebuilding it, this considerably improved performance for module auto imports

  • Improved the new isInNonImportContext function to return true when inside multiline comments/strings (Also works for scoped multiline comments)

1 Like

Update 7:

  • Added “script” and “.Parent” as usable within the --?module-ancestors {} directive (for example, you can now do --?module-ancestors {script.Parent})

  • Service imports no longer appear in function parameter lists

  • --? directives are now autocompleted:

  • Directives no longer apply when used within strings

Known issues:

  • Service imports show up when defining tuple variables, e.g local a, b, c
2 Likes

Patch 7.1:

  • Service imports no longer appear in tuple variable declarations
1 Like

Patch 7.2:

  • Module results from different ancestors now combine with eachother
  • Module paths are resolved as the shortest

4 Likes

Patch 7.3:

  • Module and service imports now no longer consider statements within strings
  • Fixed relative path issue (e.g require(script.ServerScriptService.MyScript.MyModule when it should just be Script.MyModule)
  • Fixed a whole bunch of minor string pattern inconveniences
1 Like

Update 8:

  • Made it so that module auto imports now use game:GetService(name) instead of game.name when using services (if a variable has not been declared as it), but if a variable HAS been declared as the service (doesn’t matter the name, just need to be declared with game:GetService()), it’ll use that instead. (This doesn’t affect script relative paths)

  • Name sorting coming soon!

2 Likes

Patch 8.1:

  • Modules are now properly cleaned up if the module-ancestors directive has been changed/removed
1 Like

Patch 8.2:

  • Improved registered module removal check
  • Plugin now prints a warning if any one of the specified module ancestors have more than 3000 descendants, telling you that autocomplete will be slower

Update 9:

  • Tags and attributes can now be defined with @name syntax (Old syntax still works for the sake of backwards compatibility)

Ideally, it should probably create the variable for you and use that. The goal of this is to make it easier to stay consistent with code.

1 Like

I’ll see if i can try implementing this

1 Like

Hi, added :+1:

3 Likes

I also had to readd this beast of a thing because the version with guard clauses produced empty module name tables :sob:

1 Like


Sometimes the prefix fails to function when I set it.

2 Likes

Really cool plugin! Although I would suggest adjusting the style a bit so it would match the roblox’s autocomplete

1 Like

This is most likely an issue with the isNonImportContext function which diallows imports when doing method calls, ill fix it for service shorthands

1 Like

Wdym by this? ||30_char_limit||

Hi, fixed :+1:

image

1 Like

I’m still having issues with changing it, do I have to wait for a while after I write the comment?