【问题标题】:Are there any Monaco editors that offer Roblox lua syntax highlighting?有没有提供 Roblox lua 语法高亮的 Monaco 编辑器?
【发布时间】:2021-02-21 19:46:01
【问题描述】:

默认的 lua 不能很好地工作,比如

while wait() do

只有 if then 语句适用,其他语句如

Game:GetService("")

很难找到像 roblox 的 ide 这样的颜色:像 Game 是蓝色的,GetService 是浅黄色的。 (也适用于 Visual Studio C# Web 浏览器)

【问题讨论】:

  • 对于Game.GetService 的突出显示示例,这对任何表格都有什么作用?如someTable.someValuesomeTable.someNested.someValue
  • 您要求为您的文本编辑器/IDE 提供语法高亮/linter? gEdit、Atom、午夜指挥官、记事本++

标签: lua roblox


【解决方案1】:

Rojo 是一个可以连接外部文本编辑器(例如 VS Code)的工具,并允许您对 LuaU 使用语法高亮:https://rojo.space/docs/why-rojo/

【讨论】:

    猜你喜欢
    • 2011-09-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-01-18
    • 2010-09-29
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多