LuaPanda icon indicating copy to clipboard operation
LuaPanda copied to clipboard

怎么修改格式化代码的一行长度 会自动换行

Open 505032129 opened this issue 4 years ago • 2 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. Windows macOS]
  • Visual Studio Version [e.g. 1.36.1 (1.36.1)]
  • LuaPanda Version [e.g. 2.2.0]
  • Framework [e.g. Slua Slua-unreal Xlua]
  • Other information about your environment.

Additional context Add any other context about the problem here.

505032129 avatar Nov 12 '20 09:11 505032129

format 功能引用的是 lua-fmt 插件,目前使用 lua-fmt 的默认配置。我看一下如果 lua-fmt 有换行选项,会在下个版本里引出来允许用户修改。

stuartwang avatar Nov 14 '20 10:11 stuartwang