Hello,
I use the creator documentation quite frequently as I love making games on this platform. Lately, I’ve been seeing code blocks where the comment goes to the next line instead of continuing on. Here is one instance where I’ve seen this happen:
(Documentation page in image)
This isn’t much of an issue for me as I’m quite experienced with lua and can tell what is and isn’t code, but I assume people just starting their Lua adventure will try to copy this down and experience errors in their code that they might not know how to fix just yet.
For solutions, I can think of off the top of my head:
- If this is just an issue with the way you guys use word wrap in code blocks, make it put the wrapped code on a new line instead of inserting it into the line after; Although I don’t think that’s the case as the line numbers make word wrapping confusing, but that’s a whole other bug report all in itself.
- Simply don’t use word wrap. I’m sure you guys can create a nice-looking, functional scroll horizontal scroll bar for code that extends the bounds of the code block. I can see how this is a worse option though as your lower-age demographic might find them a bit annoying and confusing at times.
- This one might be a bit of a stretch for you guys as it’s probably the most enduring task I’ve suggested, but you guys could switch to a different code editor with some of the features I’ve already desired built-in. I may be biased in this opinion since I see and use it almost every day, but I recommend using Microsoft’s open-sourced code editor Monaco from Visual Studio Code. It has easily customizable syntax highlighting that will allow you to use the Roblox code editor’s syntax with lots of options for features such as word wrap, read-only, dark and light theme, and many more. Sorry for the advertisement-esque solution, but I truly think Monaco is a great code editor.
I hope my bug report and solutions help you guys in furthering the Roblox experience for everyone to greatness.
Best regards,
– Ham