[v.17.6] SimpleComplete | General scripting plugin

Preference, I noticed this aswell but it isn’t that big of a deal.

It’s actually purely because I wanted to keep the setting names roughly the same tab length:

(ignore autoincludeuntagged i forgor to remove)
image

I’ll most likely expand out these names too in a patch/update :V

Weren’t you gonna use this next update?

Nah it’s way too slow bro… I have to scan through every single descendant :sob:

1 Like

Ohhh, I thought that setting was related to the Include tags.

It should include untagged (“global”) modules when you have an include tag set.

1 Like

You could say everything in existance is subjective, but really there is logic to most things.

It really is a big deal. There are so many articles and conversations about abbreviations in coding variables online, all against abbreviating the names. Abbreviations only make the code less readable.

2 Likes

Hmmm… Why should i include every module other than the desired included modules if i have an include tag :thinking:

Oh but you can just do the trick where you add a bunch of spaces.

Nah i’ll just add like 1 more tab and it’ll all fit :slight_smile:

1 Like

Leave it as a setting, that way you won’t have to tag everything and untagged modules will automatically be added.

Bro what’s the point of having include tags if everything is included :sob:
Also you can already do this via --sc setglobal: (ModuleAncestors; game)(ModuleSearchMode; descendants)

Is it possible to have auto-completion without having to add the tag at the top of every script?
I’d love a setting to just have every single script have auto-completion.

Yes, directives are optional and only for a per-script basis, you can use the Command Bar to set plugin settings for SimpleComplete, such as the example I shared earlier, --sc setglobal: (ModuleAncestors; game)(ModuleSearchMode; descendants), copy this into the command bar and press enter

There are also local settings, which are on a per-place basis and do save, it uses setlocal and getlocal instead of setglobal and getglobal

1 Like

I want my include tags to “exclude” other tag groups, not every module outside of the current tag group.

For example Server won’t let me import Client, but will let me import an untagged module. I don’t want them to exclude importing untagged modules. It also saves time putting both the Server and Client tags on every other module.

An AutoIncludeGlobal setting or something would just be more convenient. You could sorta think of global modules as modules without any tag groups, if it makes sense.

TL;DR convenience

1 Like

Patch 16.12:

  • Renamed ModuleIncludeTags to ModuleTagGroups which is Server, Client, Ignore by default

  • Removed AncestorIncludeTags

  • Added TagExcludeBehaviour which can be otherGroups, all or none.

  • Added possible value checking that will make set commands fail if the value is not a possible value.

  • Renamed ImportTransformMod and ImportTransformSer to ImportTransformModule and ImportTransformService

Example usage of TagExcludeBehaviour = otherGroups,

Let’s say I have a script in ServerScriptService, and I have tagged it with Server. And let’s say I set ModuleAncestors to game.ReplicatedStorage

Now, let’s say I have 3 modules in ReplicatedStorage, 1 called ModuleA has tag Server, 1 called ModuleB has tag Ignore, and 1 called ModuleC has tag Misc (assuming we are using the default tag groups)

In my script in ServerScriptService, I am able to require ModuleA and ModuleC but not ModuleB. Why? Because the current behaviour excludes other tag groups, and since Client is a tag group and my script isn’t also tagged with it, it is excluded.

But since Misc ISN’T a tag group, it isn’t excluded.

1 Like

Patch 16.13:

  • Optimized tag group search to use sets instead of arrays
1 Like

Tag groups work PERFECTLY so far!

Anyways, if you’re trying to remove abbreviations, you should change SC_VarName to SC_VariableName to stay consistent.

2 Likes

What’s the command to disable the startup text again? I looked for a while but don’t really remember what update it was added in.

1 Like

Hi, there is no command to disable the startup text xd, should i add it?

1 Like

Probably yeah, it’s getting a little annoying to see.

If you can, make it only show up once per session, since it’s supposed to notify of new updates and stuff. When I playtest, the message appears from both the server and client.

1 Like