[v.21.3] SimpleComplete | All scripting plugins in 1 + more!

You can probably use AncestorIncludeTags on your modules folder, modulesearchmode of children, and ModuleAncestors of script

I believe this way, you’ll be able to see every module in the modules folder, and modules that are children of the current script

1 Like

It seems that a lot of commands aren’t listed under Commands on this post.
You also need to update the command options with the newly added options.

2 Likes

The descending_length and ascending_length options for ImportSort doesn’t seem to work for me.

local ReplicatedFirst = game:GetService("ReplicatedFirst")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local ServerStorage = game:GetService("ServerStorage")

(descending_length)

Maybe it isn’t supposed to work with services? In that case I definitely think you should add support for that.

1 Like

Hi, I forgot to use the ascending & descending length function in the code :V

Also I just finished playing Minecraft with my little sister, sorry for taking a bit to respond :sweat_smile:

2 Likes

Yeah I’ll do that, theres just been alot of changes and I haven’t had time to update it

1 Like

Patch 18.2:

1 Like

Also maybe you can add a setting for choosing whether or not it should reference the variable after import.

For example by default (only option at the moment):

local ReplicatedStorage = game:GetService("ReplicatedStorage")

ReplicatedStorage

Option to change it to this:

local ReplicatedStorage = game:GetService("ReplicatedStorage")


1 Like

Ahh yea I can try adding that, just to clarify do you want existing stuff (like import sorting, casing transforms etc) to apply to these too or nah

1 Like

I just want to be able to have it not type that variable name when you import any service, module or other instance. Just make it a universal toggle for automatically writing that variable name.

So like lets say you type in !pl and press enter to autocomplete it to Players, do you want the place where you typed !pl to be replaced with blank and then define the service at the top? Cuz if so I can implement that pretty easily yea

Yep. It’s basically not even a feature, just a simple toggle.

1 Like

Oh wait maybe you misunderstood me with the SelectionImport feature. It should import just like when you auto-import a module or service, just with the selected instance instead of the selected autocomplete suggestion. It should not simply add it to the autocomplete suggestions list.

1 Like

Patch 18.3:

  • Added ReplaceImportWithBlank which is false by default
  • Added all new settings to the directive autocomplete
1 Like

I don’t really get it :frowning: Can you provide like a step-by-step procedure as to how this would work if you don’t mind

These should give the same result:

Autocompletion import:

!MyCoolModule

Selection import:

!!

(I have the MyCoolModule selected)


Additionally it should serve as a way to quickly create variables for other instances like folders etc. The import part of it is basically the same as autocompletion import, just with the bonus that it supports normal instances on top of modules and services.
1 Like

Patch 18.4:

  • Fixed module refresh never firing
  • Fixed module transform being used when a module auto-import defines a service instead of the service one
  • Remade SelectionImport so that it imports all selected Instances when you type in the shorthand
  • Fixed Cursor.findVariableImportPosition() to correctly get an import position between services and modules

NOTE: Currently non-require paths aren’t handled by UseSharedPathVars

Patch 18.4:

  • Fixed module refresh never firing
  • Fixed module transform being used when a module auto-import defines a service instead of the service one
  • Remade SelectionImport so that it imports all selected Instances when you type in the shorthand
  • Fixed Cursor.findVariableImportPosition() to correctly get an import position between services and modules

NOTE: Currently non-require paths aren’t handled by UseSharedPathVars
NOTE 2: I’m still trying to get the spacing using Cursor.findVariableImportPosition() right so uh yeah don’t be surprised when your variables are social distancing :sob:

1 Like

Also the SelectionImport feature doesn’t recognize modules and services. It should do so and then put require() and game:GetService() accordingly.

1 Like

It already does getservice though, also yea ill make module imports similar to autoimports

1 Like

Patch 18.5:

  • Fixed a findSharedPath matching issue related to the computed access matcher which led to incorrect shared paths for variables which shared the same subpath
  • Fixed shorthands not working when mixed with other symbols (like game:GetService(!p))