How to make `item.detail` text bold within the script editor

I am currently trying to make a function parameter highlighting feature for my plugin, like this:

--[[
	My Function
	@param First param
	@param Second param
]]
local function Foo()
	
end

However I can’t seem to figure out a way to get bold text working for the .detail field of response items

Screenshot 2025-03-28 140654

Here is how i am doing it (register is a wrapper for ScriptEditorService:RegisterAutocompleteCallback() )
image

Any ideas?

1 Like