Whoops, thanks for letting me know. I guess you’re the only light theme user since no one else has noticed that lol (Edit: fixed in latest update)
It’s the font and size of all the other text in Studio, like the script tabs and window titles and properties window. Maybe being italicized makes it feel smaller?
Just bought and tested it, and it’s an amazing plugin! Really helps my workflow and to speed up stuff. To anyone debating whether to get it or not: get it! You won’t regret it.
Thanks boatbomber for such an amazing contribution!
It’s pretty great, but there’s a number of drawbacks I’ve come across:
Inherited types do not display properly (I have one class where Thing.__index = setmetatable(Thing, InheritsFromThis)) and so all methods that are inherited from InheritsFromThis (and not explicitly overridden by Thing) do not display. As far as displaying it goes, I don’t see a problem with showing it as a member of Thing, but for bonus ducks, having it display as a member of InheritsFromThis would be pretty cool. Edit: I had a look at what exactly the plugin does and I see why this isn’t a thing. If it were something specifically written for ModuleScripts that viewed all exported members, it’d be easier. Perhaps its out of the scope of the plugin to do this? I may attempt to do so myself in a separate plugin from this one.
Type annotations display as parameter names in the function hover tooltip (e.g. a function with a signature of function Thing(value: boolean) will show a tooltip of Params: (value, boolean) implying that there’s a second parameter named “boolean” rather than that being the type of value). In my opinion, directly copying the string from the script would work fine.
Yeah this older plugin was made for Lua not Luau, I’ve been planning to do some reworking now that types are a thing as it currently has no understanding of them and it infers types with its own system.
Is it just me or does using this plugin make your studio incredibly slow and unusable? If anyone has had this issue and knows a way to fix it please let me know. I am running a powerful desktop so it’s something wrong with studio and plugins.
EDIT: Its fixed when the script window is separated from the studio window.
EDIT: Everything is very smooth now. It may have been a studio or windows issue but all sorted.
This plugin doesn’t work when in collaboration mode, as when working on uncommitted scripts the plugin will be watching only committed changes. I suspect it’s because you might be using Source property which only changes when script is committed, thus I think you will need to use ScriptEditorService. Would you be able to fix that?
How were you able to get the line number from the code here?
I am trying to make a script related plugin and am using the lexer you worked on from your Highlighter github but it doesn’t track line/columns numbers which I would love. I can attempt to add them into the lexer myself but wondered if the source code was updated elsewhere to include that?