Auto Comments [Plugin]

As a scripter myself, I always add comments to my scripts to keep it organized. But having to type the same comments over and over again everytime I create a new script is frustrating. So I have decided to make a plugin that automatically adds comments for you everytime you create a new script. (The UI I made for this plugin may be limited to just dark theme in roblox studio, I’ll make it supports light theme later on)

Here’s the link to download it: Plugin



11 Likes

I thought this was gonna be a plugin that sends off your script to openai to have it insert comments with their LLM. That would be pretty cool.

Still neat though.

4 Likes

Yeah that’s what I was expecting too. That actually does sound pretty useful

1 Like

Wait that is actually a pretty good idea, I’ll try making that

1 Like

i think this may be impossible to do for free.

if you use any sort of ai, you’ll most likely have an api key. you can’t hide the key in the source code because i don’t think they have access to the secrets feature. you can get around this by hosting a server and sending it requests though.

also, if you do this, i suggest doing it like this:

--[[
    This function prints "Hello world!" to the output.
]]
local function a(): ()
    print("Hello world!")
end

pretty sure there’s going to be an upcoming feature where the comment block directly above a function will be useful.

1 Like

I would love to use this in my feature scripts will keep this in mind

Correct, I think you can enable this with an FFlag already.