[v.17.6] SimpleComplete | General scripting plugin

This plugin may be one of the most valuable resources we have ever had, thank you @athar_adv for making this, I will use it for sure.

2 Likes

Thanks you !!! :heart: //30charlimit//

2 Likes

Patch 15.4:

  • Auto imports now show up in type definitions (incase you wanna like import a type from a module)


    This patch also includes a fast path for the typecast (::) operator which just enables imports unconditionally

  • Fixed existing service imports check pattern (local%s+(.-)%s-=%s-game:GetService%(([\"']).-%1%) => local%s+(.-)%s-=%s-game:GetService%(([\"']).-%2%))

Coming Soon:

  • Being able to use docstrings in modules via require()
1 Like

I don’t know if I am not up-to-date with the latest versions’ features, but the guide at the top shows ypu enabling the features with a plugin button, however I do not see these. I assume that you changed it to enable by command, but how do you enable the auto complete and doc string specifically?

2 Likes

Yeah, they were removed in the latest update.

I’m guessing you would use something like sc toggle: docstrings; false? it wasn’t really explained lol

if there’s no response ill check the source in a sec

I thought you were gonna appeal and see why it got taken down with 0 discernable reason?

1 Like

Hi, yes, it has been replacedd by the toggle command, heres all the featurres you can toggle:
image

Sorry i was busy working on some fixes, it’s almost done

1 Like

Patch 15.5:

  • Fixed a connection tracking error (If you saw “unknown tracker scope”, that shouldn’t be there anymore)

  • Fixed slow import definition times for large files (was caused by me matching the entire source :V )

New plugin download is available on the main post

You should add --sc exportsettings: to quickly export a command with all your settings

1 Like

Will do in next patch :saluting_face: //30charlimit//

Also, the first plugin should keep updating for the people that still have it (since people are still allowed to keep it and get automatic updates for whatever reason)

1 Like

Patch 15.6:

New update has been pushed to the marketplace plugin aswell as the download link

1 Like

Each command should probably be seperated by a newline for readability and editing, especially considering the command line will force it to one line anyway.

tell me you don’t use module imports without telling me

1 Like

Alr

I do use module imports, i just havent set the new value after the rewrite :pensive:

Also i should probably make module ancestors and tag local to each place… seems like a good idea

1 Like

Update 16:

  • Added local and global settings, local settings override global settings if they are set, and the global settings are applied otherwise.

  • Added several new commands for this new api:

    • --sc set: and --sc get: have been deprecated, the following are their replacements:

    • --sc setlocal: name; value | --sc setglobal: name; value
      These commands now differentiate between setting a global vs local (place-specific) setting
      This will be useful if your, say, module import locations are different in each game

    • --sc resetlocal:
      This command is called with no extra args and simply resets the local settings to match the global one

    • --sc getlocal: name; value | --sc getglobal: name; value
      Same as setting local and global values, but getting

    • --sc exportsettings: local | global
      Exporting settings now makes you choose to export local/global settings as a command
      I also added newlines inbetween each “chain”

    • --sc getsettings: local | global
      Same thing as exportsettings, just in plain form instead of an executable command

I should probably update the main post by now :pen:
DoNe

1 Like

Patch 16.1:

  • Fixed alot of issues regarding nil setting values in the new local/global settings update, it’s all ironed out tho :slight_smile:

Patch 16.2:

  • Added a PrintCompletionTime setting that lets you see how long each completion type is taking, this setting is either true or false

This is for a 1300 line file

And this is for a 2500 line file!

As you can see since I’m no longer doing any full source matching the time increase is O(1) for imports and close to O(n log n) for docstrings :smiley:

You should add a command to clear all settings or reset all values to nil.

–sc resetsettings: or something

also, using the export command will export locally no matter what.

Theres already this for local settings, --sc resetlocal:

Idk about that since u can change global setting too

1 Like

there should probably be one for global settings to just reset to the default, it may also clear unused values from updates if you don’t already do that

–sc exportsettings: global will export as setlocal

Oh ya it just does that for now, the actual settings r correct

Alr, btw gtg sleep bye

1 Like