Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.5.4 格式化代码块,会将代码块后的代码全部删除 #1529

Closed
HuangZhuo opened this issue Sep 7, 2022 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@HuangZhuo
Copy link

HuangZhuo commented Sep 7, 2022

How are you using the lua-language-server?

Visual Studio Code Extension (sumneko.lua)

Which OS are you using?

Windows

What is the issue affecting?

Formatting

Expected Behaviour

正确格式化

Actual Behaviour

如题

Reproduction steps

  1. Go to '...'
  2. Click '...'
  3. See error '...'

Additional Notes

No response

Log File

[10:05:15.832][info] [#0:c:\Users\Administrator\.vscode\extensions\sumneko.lua-3.5.4-win32-x64\server\main.lua:65]: Lua Lsp startup, root: 	c:/Users/Administrator/.vscode/extensions/sumneko.lua-3.5.4-win32-x64/server
[10:05:15.832][info] [#0:c:\Users\Administrator\.vscode\extensions\sumneko.lua-3.5.4-win32-x64\server\main.lua:66]: ROOT:	c:/Users/Administrator/.vscode/extensions/sumneko.lua-3.5.4-win32-x64/server
[10:05:15.832][info] [#0:c:\Users\Administrator\.vscode\extensions\sumneko.lua-3.5.4-win32-x64\server\main.lua:67]: LOGPATH:	c:/Users/Administrator/.vscode/extensions/sumneko.lua-3.5.4-win32-x64/server/log
[10:05:15.832][info] [#0:c:\Users\Administrator\.vscode\extensions\sumneko.lua-3.5.4-win32-x64\server\main.lua:68]: METAPATH:	c:/Users/Administrator/.vscode/extensions/sumneko.lua-3.5.4-win32-x64/server/meta
[10:05:15.832][info] [#0:c:\Users\Administrator\.vscode\extensions\sumneko.lua-3.5.4-win32-x64\server\main.lua:69]: VERSION:	3.5.4
[10:05:15.863][info] [#0:script\service\service.lua:141]: 
========= Medical Examination Report =========
    --------------- Memory ---------------
        Total: 1.457 MB
        # 00 : 1.457 MB
        # 01 : 0.000 MB
        # 02 : 0.000 MB
        # 03 : 0.000 MB
        # 04 : 0.000 MB
    --------------- Coroutine ---------------
        Total:     0
        Running:   0
        Suspended: 0
        Normal:    0
        Dead:      0
    --------------- Cache ---------------
        Total: 1
        Dead:  0
    ---------------  RPC  ---------------
        Holdon:   0
        Waiting:  0
==============================================
[10:05:16.175][info] [#0:script\language.lua:137]: VSC language: en
[10:05:16.175][info] [#0:script\language.lua:138]: LS  language: en-us
[10:05:16.175][info] [#0:script\workspace\workspace.lua:38]: Workspace init root: 	file:///d%3A/LegendGameJZ/game/runtime/gameclient/src
[10:05:16.175][info] [#0:script\workspace\workspace.lua:42]: Log path: 	c:/Users/Administrator/.vscode/extensions/sumneko.lua-3.5.4-win32-x64/server/log/file_d%3A_LegendGameJZ_game_runtime_gameclient_src.log
[10:05:16.207][info] [#0:script\workspace\workspace.lua:51]: Workspace create: 	file:///d%3A/LegendGameJZ/game/runtime/gameclient/src
[10:05:16.207][info] [#0:script\workspace\workspace.lua:51]: Workspace create: 	file:///d%3A/LegendGameJZ/game/data/long
[10:05:16.409][info] [#0:script\provider\provider.lua:41]: Load config from client	file:///d%3A/LegendGameJZ/game/runtime/gameclient/src
[10:05:16.409][info] [#0:script\provider\provider.lua:42]: {
  Lua = {
    completion = {
      autoRequire = true,
      callSnippet = "Both",
      displayContext = 0,
      enable = true,
      keywordSnippet = "Both",
      postfix = "@",
      requireSeparator = ".",
      showParams = true,
      showWord = "Fallback",
      workspaceWord = true
    },
    diagnostics = {
      disable = {},
      disableScheme = { "git" },
      enable = false,
      globals = {},
      groupFileStatus = {},
      groupSeverity = {},
      ignoredFiles = "Opened",
      libraryFiles = "Opened",
      neededFileStatus = {},
      severity = {},
      unusedLocalExclude = {},
      workspaceDelay = 3000,
      workspaceRate = 100
    },
    format = {
      defaultConfig = {},
      enable = true
    },
    hint = {
      arrayIndex = "Auto",
      await = true,
      enable = true,
      paramName = false,
      paramType = false,
      semicolon = "SameLine",
      setType = false
    },
    hover = {
      enable = true,
      enumsLimit = 5,
      expandAlias = true,
      previewFields = 50,
      viewNumber = true,
      viewString = true,
      viewStringMax = 1000
    },
    misc = {
      parameters = {}
    },
    runtime = {
      builtin = {},
      fileEncoding = "utf8",
      meta = "${version} ${language} ${encoding}",
      nonstandardSymbol = {},
      path = { "?.lua", "?/init.lua", "?/?.lua", "src/?.lua" },
      pathStrict = false,
      plugin = "",
      pluginArgs = {},
      special = {
        ['"reload"'] = "require"
      },
      unicodeName = false,
      version = "Lua 5.1"
    },
    semantic = {
      annotation = true,
      enable = true,
      keyword = false,
      variable = true
    },
    signatureHelp = {
      enable = true
    },
    spell = {
      dict = {}
    },
    telemetry = {
      enable = false
    },
    type = {
      castNumberToInteger = true,
      weakNilCheck = false,
      weakUnionCheck = false
    },
    typeFormat = {
      config = {}
    },
    window = {
      progressBar = true,
      statusBar = true
    },
    workspace = {
      checkThirdParty = false,
      ignoreDir = { ".vscode" },
      ignoreSubmodules = true,
      library = {},
      maxPreload = 5000,
      preloadFileSize = 10000,
      supportScheme = { "file", "untitled", "git" },
      useGitIgnore = true,
      userThirdParty = {}
    }
  },
  ["editor.acceptSuggestionOnEnter"] = "on",
  ["editor.semanticHighlighting.enabled"] = true,
  ["files.associations"] = {},
  ["files.exclude"] = {
    ["**/.DS_Store"] = true,
    ["**/.classpath"] = true,
    ["**/.factorypath"] = true,
    ["**/.git"] = true,
    ["**/.hg"] = true,
    ["**/.project"] = true,
    ["**/.settings"] = true,
    ["**/.svn"] = true,
    ["**/CVS"] = true,
    ["**/Thumbs.db"] = true
  }
}
[10:05:16.503][info] [#0:script\provider\provider.lua:41]: Load config from client	file:///d%3A/LegendGameJZ/game/data/long
[10:05:16.503][info] [#0:script\provider\provider.lua:42]: {
  Lua = {
    completion = {
      autoRequire = true,
      callSnippet = "Both",
      displayContext = 0,
      enable = true,
      keywordSnippet = "Both",
      postfix = "@",
      requireSeparator = ".",
      showParams = true,
      showWord = "Fallback",
      workspaceWord = true
    },
    diagnostics = {
      disable = {},
      disableScheme = { "git" },
      enable = false,
      globals = {},
      groupFileStatus = {},
      groupSeverity = {},
      ignoredFiles = "Opened",
      libraryFiles = "Opened",
      neededFileStatus = {},
      severity = {},
      unusedLocalExclude = {},
      workspaceDelay = 3000,
      workspaceRate = 100
    },
    format = {
      defaultConfig = {},
      enable = true
    },
    hint = {
      arrayIndex = "Auto",
      await = true,
      enable = true,
      paramName = false,
      paramType = false,
      semicolon = "SameLine",
      setType = false
    },
    hover = {
      enable = true,
      enumsLimit = 5,
      expandAlias = true,
      previewFields = 50,
      viewNumber = true,
      viewString = true,
      viewStringMax = 1000
    },
    misc = {
      parameters = {}
    },
    runtime = {
      builtin = {},
      fileEncoding = "utf8",
      meta = "${version} ${language} ${encoding}",
      nonstandardSymbol = {},
      path = { "?.lua", "?/init.lua", "?/?.lua", "src/?.lua" },
      pathStrict = false,
      plugin = "",
      pluginArgs = {},
      special = {
        ['"reload"'] = "require"
      },
      unicodeName = false,
      version = "Lua 5.1"
    },
    semantic = {
      annotation = true,
      enable = true,
      keyword = false,
      variable = true
    },
    signatureHelp = {
      enable = true
    },
    spell = {
      dict = {}
    },
    telemetry = {
      enable = false
    },
    type = {
      castNumberToInteger = true,
      weakNilCheck = false,
      weakUnionCheck = false
    },
    typeFormat = {
      config = {}
    },
    window = {
      progressBar = true,
      statusBar = true
    },
    workspace = {
      checkThirdParty = false,
      ignoreDir = { ".vscode" },
      ignoreSubmodules = true,
      library = {},
      maxPreload = 5000,
      preloadFileSize = 10000,
      supportScheme = { "file", "untitled", "git" },
      useGitIgnore = true,
      userThirdParty = {}
    }
  },
  ["editor.acceptSuggestionOnEnter"] = "on",
  ["editor.semanticHighlighting.enabled"] = true,
  ["files.associations"] = {},
  ["files.exclude"] = {
    ["**/.DS_Store"] = true,
    ["**/.classpath"] = true,
    ["**/.factorypath"] = true,
    ["**/.git"] = true,
    ["**/.hg"] = true,
    ["**/.project"] = true,
    ["**/.settings"] = true,
    ["**/.svn"] = true,
    ["**/CVS"] = true,
    ["**/Thumbs.db"] = true
  }
}
[10:05:16.612][info] [#0:script\provider\provider.lua:56]: Load config from client	fallback
[10:05:16.612][info] [#0:script\provider\provider.lua:57]: {
  Lua = {
    completion = {
      autoRequire = true,
      callSnippet = "Both",
      displayContext = 0,
      enable = true,
      keywordSnippet = "Both",
      postfix = "@",
      requireSeparator = ".",
      showParams = true,
      showWord = "Fallback",
      workspaceWord = true
    },
    diagnostics = {
      disable = {},
      disableScheme = { "git" },
      enable = false,
      globals = {},
      groupFileStatus = {},
      groupSeverity = {},
      ignoredFiles = "Opened",
      libraryFiles = "Opened",
      neededFileStatus = {},
      severity = {},
      unusedLocalExclude = {},
      workspaceDelay = 3000,
      workspaceRate = 100
    },
    format = {
      defaultConfig = {},
      enable = true
    },
    hint = {
      arrayIndex = "Auto",
      await = true,
      enable = true,
      paramName = false,
      paramType = false,
      semicolon = "SameLine",
      setType = false
    },
    hover = {
      enable = true,
      enumsLimit = 5,
      expandAlias = true,
      previewFields = 50,
      viewNumber = true,
      viewString = true,
      viewStringMax = 1000
    },
    misc = {
      parameters = {}
    },
    runtime = {
      builtin = {},
      fileEncoding = "utf8",
      meta = "${version} ${language} ${encoding}",
      nonstandardSymbol = {},
      path = { "?.lua", "?/init.lua", "?/?.lua", "src/?.lua" },
      pathStrict = false,
      plugin = "",
      pluginArgs = {},
      special = {
        ['"reload"'] = "require"
      },
      unicodeName = false,
      version = "Lua 5.1"
    },
    semantic = {
      annotation = true,
      enable = true,
      keyword = false,
      variable = true
    },
    signatureHelp = {
      enable = true
    },
    spell = {
      dict = {}
    },
    telemetry = {
      enable = false
    },
    type = {
      castNumberToInteger = true,
      weakNilCheck = false,
      weakUnionCheck = false
    },
    typeFormat = {
      config = {}
    },
    window = {
      progressBar = true,
      statusBar = true
    },
    workspace = {
      checkThirdParty = false,
      ignoreDir = { ".vscode" },
      ignoreSubmodules = true,
      library = {},
      maxPreload = 5000,
      preloadFileSize = 10000,
      supportScheme = { "file", "untitled", "git" },
      useGitIgnore = true,
      userThirdParty = {}
    }
  },
  ["editor.acceptSuggestionOnEnter"] = "on",
  ["editor.semanticHighlighting.enabled"] = true,
  ["files.associations"] = {},
  ["files.exclude"] = {
    ["**/.DS_Store"] = true,
    ["**/.classpath"] = true,
    ["**/.factorypath"] = true,
    ["**/.git"] = true,
    ["**/.hg"] = true,
    ["**/.project"] = true,
    ["**/.settings"] = true,
    ["**/.svn"] = true,
    ["**/CVS"] = true,
    ["**/Thumbs.db"] = true
  }
}
[10:05:16.612][info] [#0:script\library.lua:207]: Init builtin library at:	file:///d%3A/LegendGameJZ/game/runtime/gameclient/src
[10:05:16.628][info] [#0:script\plugin.lua:86]: plugin path:	D:\LegendGameJZ\game\runtime\gameclient\src
[10:05:16.628][warn] [#0:script\plugin.lua:101]: plugin not found:	D:\LegendGameJZ\game\runtime\gameclient\src
[10:05:16.628][info] [#0:script\library.lua:207]: Init builtin library at:	file:///d%3A/LegendGameJZ/game/data/long
[10:05:16.643][info] [#0:script\plugin.lua:86]: plugin path:	D:\LegendGameJZ\game\data\long
[10:05:16.643][warn] [#0:script\plugin.lua:101]: plugin not found:	D:\LegendGameJZ\game\data\long
[10:05:16.643][info] [#0:script\library.lua:207]: Init builtin library at:	nil
[10:05:16.643][info] [#0:script\provider\completion.lua:43]: Enable completion.
[10:05:16.643][info] [#0:script\workspace\workspace.lua:305]: Preload start:	file:///d%3A/LegendGameJZ/game/runtime/gameclient/src
[10:05:16.659][info] [#0:script\workspace\workspace.lua:311]: Scan files at:	file:///d%3A/LegendGameJZ/game/runtime/gameclient/src
[10:05:16.659][info] [#0:script\workspace\workspace.lua:305]: Preload start:	file:///d%3A/LegendGameJZ/game/data/long
[10:05:16.659][info] [#0:script\workspace\workspace.lua:311]: Scan files at:	file:///d%3A/LegendGameJZ/game/data/long
[10:05:16.659][info] [#0:script\workspace\workspace.lua:305]: Preload start:	<fallback>
[10:05:16.659][info] [#0:script\workspace\workspace.lua:328]: Scan library at:	file:///c%3A/Users/Administrator/.vscode/extensions/sumneko.lua-3.5.4-win32-x64/server/meta/Lua%205.1%20en-us%20utf8
[10:05:16.815][info] [#0:script\workspace\workspace.lua:328]: Scan library at:	file:///c%3A/Users/Administrator/.vscode/extensions/sumneko.lua-3.5.4-win32-x64/server/meta/Lua%205.1%20en-us%20utf8
[10:05:16.831][info] [#0:script\workspace\workspace.lua:328]: Scan library at:	file:///c%3A/Users/Administrator/.vscode/extensions/sumneko.lua-3.5.4-win32-x64/server/meta/Lua%205.1%20en-us%20utf8
[10:05:16.831][info] [#0:script\workspace\workspace.lua:348]: Found 10 files at:	<fallback>
[10:05:16.831][info] [#0:script\workspace\loading.lua:153]: Load files from disk:	<fallback>
[10:05:16.831][info] [#0:script\workspace\workspace.lua:348]: Found 493 files at:	file:///d%3A/LegendGameJZ/game/runtime/gameclient/src
[10:05:16.831][info] [#0:script\workspace\loading.lua:153]: Load files from disk:	file:///d%3A/LegendGameJZ/game/runtime/gameclient/src
[10:05:16.831][info] [#0:script\workspace\workspace.lua:348]: Found 393 files at:	file:///d%3A/LegendGameJZ/game/data/long
[10:05:16.831][info] [#0:script\workspace\loading.lua:153]: Load files from disk:	file:///d%3A/LegendGameJZ/game/data/long
[10:05:17.860][warn] [#0:script\files.lua:532]: Compile [file:///d%3A/LegendGameJZ/game/runtime/gameclient/src/app/data/itemattr.lua] takes [0.369] sec, size [752.067] kb.
[10:05:18.032][warn] [#0:script\files.lua:544]: Parse LuaDoc of [file:///d%3A/LegendGameJZ/game/runtime/gameclient/src/app/data/itemattr.lua] takes [0.182] sec, size [752.067] kb.
[10:05:18.453][warn] [#0:script\files.lua:532]: Compile [file:///d%3A/LegendGameJZ/game/runtime/gameclient/src/app/data/mapinfo.lua] takes [0.227] sec, size [559.045] kb.
[10:05:18.562][warn] [#0:script\files.lua:544]: Parse LuaDoc of [file:///d%3A/LegendGameJZ/game/runtime/gameclient/src/app/data/mapinfo.lua] takes [0.110] sec, size [559.045] kb.
[10:05:18.874][warn] [#0:script\files.lua:532]: Compile [file:///d%3A/LegendGameJZ/game/runtime/gameclient/src/app/data/mondef.lua] takes [0.305] sec, size [921.066] kb.
[10:05:19.015][warn] [#0:script\files.lua:544]: Parse LuaDoc of [file:///d%3A/LegendGameJZ/game/runtime/gameclient/src/app/data/mondef.lua] takes [0.136] sec, size [921.066] kb.
[10:05:20.060][warn] [#0:script\files.lua:532]: Compile [file:///d%3A/LegendGameJZ/game/runtime/gameclient/src/app/data/itemdef.lua] takes [1.039] sec, size [2505.223] kb.
[10:05:20.434][warn] [#0:script\files.lua:544]: Parse LuaDoc of [file:///d%3A/LegendGameJZ/game/runtime/gameclient/src/app/data/itemdef.lua] takes [0.359] sec, size [2505.223] kb.
[10:05:20.840][warn] [#0:script\files.lua:532]: Compile [file:///d%3A/LegendGameJZ/game/runtime/gameclient/src/app/data/NDS.lua] takes [0.153] sec, size [1036.079] kb.
[10:05:21.011][warn] [#0:script\proto\proto.lua:171]: Method [textDocument/documentSymbol] takes [4.409]sec. {
  _closeMessage = "Request cancelled.",
  _closeReason = -32800,
  id = 1,
  jsonrpc = "2.0",
  method = "textDocument/documentSymbol",
  params = {
    textDocument = {
      uri = "file:///d%3A/LegendGameJZ/game/data/long/script/posnpc.lua"
    }
  }
}
[10:05:21.011][warn] [#0:script\proto\proto.lua:171]: Method [textDocument/documentSymbol] takes [4.407]sec. {
  _closeMessage = "Request cancelled.",
  _closeReason = -32800,
  id = 2,
  jsonrpc = "2.0",
  method = "textDocument/documentSymbol",
  params = {
    textDocument = {
      uri = "file:///d%3A/LegendGameJZ/game/data/long/script/posmap.lua"
    }
  }
}
[10:05:21.713][warn] [#0:script\files.lua:532]: Compile [file:///d%3A/LegendGameJZ/game/runtime/gameclient/src/app/NetClient.lua] takes [0.340] sec, size [232.325] kb.
[10:05:24.131][warn] [#0:script\files.lua:532]: Compile [file:///d%3A/LegendGameJZ/game/runtime/gameclient/src/app/ui/UILeftCenter.lua] takes [0.437] sec, size [83.978] kb.
[10:05:25.192][info] [#0:script\workspace\loading.lua:165]: Loaded files takes [8.351] sec: <fallback>
[10:05:25.192][info] [#0:script\workspace\loading.lua:174]: Compile files takes [0.000] sec: <fallback>
[10:05:25.192][info] [#0:script\workspace\loading.lua:175]: Loaded finish:	<fallback>
[10:05:25.192][info] [#0:script\workspace\workspace.lua:350]: Preload finish at:	<fallback>
[10:05:25.239][info] [#0:script\workspace\loading.lua:165]: Loaded files takes [8.396] sec: file:///d%3A/LegendGameJZ/game/data/long
[10:05:25.239][info] [#0:script\workspace\loading.lua:174]: Compile files takes [0.000] sec: file:///d%3A/LegendGameJZ/game/data/long
[10:05:25.239][info] [#0:script\workspace\loading.lua:175]: Loaded finish:	file:///d%3A/LegendGameJZ/game/data/long
[10:05:25.239][info] [#0:script\workspace\workspace.lua:350]: Preload finish at:	file:///d%3A/LegendGameJZ/game/data/long
[10:05:25.567][warn] [#0:script\proto\proto.lua:171]: Method [textDocument/semanticTokens/range] takes [8.513]sec. {
  _closeMessage = "Request cancelled.",
  _closeReason = -32800,
  id = 9,
  jsonrpc = "2.0",
  method = "textDocument/semanticTokens/range",
  params = {
    range = {
      end = {
        character = 0,
        line = 119
      },
      start = {
        character = 0,
        line = 3
      }
    },
    textDocument = {
      uri = "file:///d%3A/LegendGameJZ/game/data/long/script/posnpc.lua"
    }
  }
}
[10:05:25.567][warn] [#0:script\proto\proto.lua:171]: Method [textDocument/foldingRange] takes [4.551]sec. {
  _closeMessage = "Request cancelled.",
  _closeReason = -32800,
  id = 15,
  jsonrpc = "2.0",
  method = "textDocument/foldingRange",
  params = {
    textDocument = {
      uri = "file:///d%3A/LegendGameJZ/game/data/long/script/posnpc.lua"
    }
  }
}
[10:05:25.582][warn] [#0:script\proto\proto.lua:171]: Method [textDocument/documentSymbol] takes [4.556]sec. {
  _closeMessage = "Content modified.",
  _closeReason = -32801,
  id = 11,
  jsonrpc = "2.0",
  method = "textDocument/documentSymbol",
  params = {
    textDocument = {
      uri = "file:///d%3A/LegendGameJZ/game/data/long/script/posnpc.lua"
    }
  }
}
[10:05:25.582][warn] [#0:script\proto\proto.lua:171]: Method [textDocument/documentSymbol] takes [4.555]sec. {
  _closeMessage = "Content modified.",
  _closeReason = -32801,
  id = 12,
  jsonrpc = "2.0",
  method = "textDocument/documentSymbol",
  params = {
    textDocument = {
      uri = "file:///d%3A/LegendGameJZ/game/data/long/script/posmap.lua"
    }
  }
}
[10:05:25.582][warn] [#0:script\proto\proto.lua:171]: Method [textDocument/documentSymbol] takes [4.553]sec. {
  _closeMessage = "Content modified.",
  _closeReason = -32801,
  id = 19,
  jsonrpc = "2.0",
  method = "textDocument/documentSymbol",
  params = {
    textDocument = {
      uri = "file:///d%3A/LegendGameJZ/game/data/long/script/posnpc.lua"
    }
  }
}
[10:05:25.582][warn] [#0:script\proto\proto.lua:171]: Method [textDocument/documentSymbol] takes [4.554]sec. {
  _closeMessage = "Content modified.",
  _closeReason = -32801,
  id = 20,
  jsonrpc = "2.0",
  method = "textDocument/documentSymbol",
  params = {
    textDocument = {
      uri = "file:///d%3A/LegendGameJZ/game/data/long/script/posmap.lua"
    }
  }
}
[10:05:25.582][warn] [#0:script\proto\proto.lua:171]: Method [textDocument/documentColor] takes [8.965]sec. {
  id = 3,
  jsonrpc = "2.0",
  method = "textDocument/documentColor",
  params = {
    textDocument = {
      uri = "file:///d%3A/LegendGameJZ/game/data/long/script/posnpc.lua"
    }
  }
}
[10:05:25.582][warn] [#0:script\proto\proto.lua:171]: Method [textDocument/documentColor] takes [8.965]sec. {
  id = 4,
  jsonrpc = "2.0",
  method = "textDocument/documentColor",
  params = {
    textDocument = {
      uri = "file:///d%3A/LegendGameJZ/game/data/long/script/posmap.lua"
    }
  }
}
[10:05:25.582][warn] [#0:script\proto\proto.lua:171]: Method [textDocument/semanticTokens/range] takes [8.523]sec. {
  id = 10,
  jsonrpc = "2.0",
  method = "textDocument/semanticTokens/range",
  params = {
    range = {
      end = {
        character = 3,
        line = 111
      },
      start = {
        character = 0,
        line = 64
      }
    },
    textDocument = {
      uri = "file:///d%3A/LegendGameJZ/game/data/long/script/posmap.lua"
    }
  }
}
[10:05:25.598][warn] [#0:script\proto\proto.lua:171]: Method [textDocument/inlayHint] takes [8.973]sec. {
  id = 8,
  jsonrpc = "2.0",
  method = "textDocument/inlayHint",
  params = {
    range = {
      end = {
        character = 3,
        line = 111
      },
      start = {
        character = 0,
        line = 34
      }
    },
    textDocument = {
      uri = "file:///d%3A/LegendGameJZ/game/data/long/script/posmap.lua"
    }
  }
}
[10:05:25.598][warn] [#0:script\proto\proto.lua:171]: Method [textDocument/inlayHint] takes [8.976]sec. {
  id = 7,
  jsonrpc = "2.0",
  method = "textDocument/inlayHint",
  params = {
    range = {
      end = {
        character = 0,
        line = 119
      },
      start = {
        character = 0,
        line = 0
      }
    },
    textDocument = {
      uri = "file:///d%3A/LegendGameJZ/game/data/long/script/posnpc.lua"
    }
  }
}
[10:05:25.598][warn] [#0:script\proto\proto.lua:171]: Method [textDocument/foldingRange] takes [4.576]sec. {
  id = 16,
  jsonrpc = "2.0",
  method = "textDocument/foldingRange",
  params = {
    textDocument = {
      uri = "file:///d%3A/LegendGameJZ/game/data/long/script/posmap.lua"
    }
  }
}
[10:05:25.598][info] [#0:script\workspace\loading.lua:165]: Loaded files takes [8.762] sec: file:///d%3A/LegendGameJZ/game/runtime/gameclient/src
[10:05:25.598][info] [#0:script\workspace\loading.lua:174]: Compile files takes [0.000] sec: file:///d%3A/LegendGameJZ/game/runtime/gameclient/src
[10:05:25.598][info] [#0:script\workspace\loading.lua:175]: Loaded finish:	file:///d%3A/LegendGameJZ/game/runtime/gameclient/src
[10:05:25.598][info] [#0:script\workspace\workspace.lua:350]: Preload finish at:	file:///d%3A/LegendGameJZ/game/runtime/gameclient/src
[10:10:59.955][warn] [#0:script\provider\provider.lua:591]: Completion takes 0.150 sec.
[10:15:15.921][info] [#0:script\service\service.lua:141]: 
========= Medical Examination Report =========
    --------------- Memory ---------------
        Total: 940.150 MB
        # 00 : 935.969 MB
        # 01 : 1.253 MB
        # 02 : 0.043 MB
        # 03 : 2.841 MB
        # 04 : 0.043 MB
    --------------- Coroutine ---------------
        Total:     734
        Running:   0
        Suspended: 0
        Normal:    0
        Dead:      734
    --------------- Cache ---------------
        Total: 1
        Dead:  0
    ---------------  RPC  ---------------
        Holdon:   0
        Waiting:  0
==============================================
@CppCXY
Copy link
Contributor

CppCXY commented Sep 7, 2022

应该是这个改动导致的 66db6ce

@sumneko sumneko added the bug Something isn't working label Sep 7, 2022
@sumneko sumneko closed this as completed in a815d3f Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants