[v.17.6] SimpleComplete | General scripting plugin

Hi, unfortunately I can’t replicate the issue


I’ve published an update to the plugin link, maybe i just forgot to update it?

1 Like

still happening for me :thinking:

--!strict

local Players = game:GetService("Players")

Players.PlayerAdded:Connect(f) -- prompts me to use both the import and shorthand for FriendService only

Dang dude, I honestly have no idea. I’ll add a --sc getsettings: command rq so you can show me your settings, but if it’s normal i have 0 idea

1 Like

Hi, please try downloading the newest version and running this command:

1 Like
{
  	[ModuleAncestorTag]: SC_Ancestor
  	[ModuleSearchMode]: children
  	[ImportSort]: descending
  	[ServiceShorthand]: :
  	[ONSET_ImportVarTransform]: function: 0x43dfb5310bc89f42
  	[FindShortestPath]: true
  	[ImportVarTransform]: none
  	[ModuleAncestors]: 
  }
1 Like

Oh, oh, I can replicate the issue!

It was when i set ServiceShorthand to :

I’ll try seeing if I can fix this
Along with a multitude of other fixes… god isInNonImportContext just can’t give me a break :sob:

1 Like

Hello, issue is fixed in latest update along with single line strings (multilines are still janky :((((((( )
I also just wouldn’t recommend using : as a service shorthand because it overlaps with the type declaration operator and the namecall operator

1 Like

this actually works perfectly fine for me with : as a shorthand :thinking:

anyways, thanks for fixing

1 Like

Oh nvm it works yeah xd //30charlimit//

ok yeah im just not gonna use it as a shorthand

you sorta broke

print(pl) -- does not autocomplete players

this is also removed and I’m not sure if it’s intentional lol

1 Like

Oof, definitely not intentional :grimacing:
I should probably spend more time testing before releasing :sob: I’ll lyk when it’s fixed

1 Like

Hello, fixed in newest update. Faulty if statement, had a long day :sob:

1 Like

Update 14:

  • Import casing transforms now back in the form of preset casings (Same as the old one had with aliases)

  • Improved the isNonImportContext function to even more reliably not give you imports when it shouldn’t

  • Multiline strings (and by extension comments) now work as intended (you get imports back after it closes)

  • Improved docstring performance (main bottleneck when parsing autocomplete)

  • Improved getDirectiveValue performance (second main bottleneck when parsing autocomplete)

  • (DELAYED) Added the --sc replace: command which allows you to replace the variable names of all service and module imports within the currently opened editors with the current ImportVarTransform setting

  • (DELAYED) Usage of parallel threads to speed up resolve time

Error lens? :shushing_face:

1 Like

I’m getting a “SimpleComplete: none is not a valid casing transform.” warning. I’m guessing it’s as easy as setting it manually, but it should just default to PascalCase if not valid.

1 Like

Yeah, i removed none, just set it to nil and it works the same lolz

1 Like

Oh oops in the plugin the default value is “none” instead of “”, lemme fix that rq xd
Fixed in latest update

1 Like

As a suggestion:
I would love to see if you were to introduce function comments to types. Having to do:
typeof(
--Some info
function() end)

is quite annoying

1 Like

Unfortunately, I don’t really know of a way to edit type information via Roblox’s api :confused: , afaik you can only edit autocomplete item information, which is unfortunate because this means you can’t really do anything such as parameter highlighting, and what you said; adding docstring information to function type definitions.

There aren’t any feature requests for this either; so me and other plugin devs are basically stuck with the limited api to interact with autocomplete, once we can interact with types and such only then will plugins like SimpleComplete really be on-par to VSC extensions like luau lsp

1 Like

the plugin seems to be private or the link is wrong

1 Like

Damnit, they removed the temp link too! Ill have to make a second one but i cant until tmrw :confused:

If youre wondering for some reason the links get taken down for “Misusing Roblox Systems”, whatever that means…

2 Likes