xmake-io / xmake-vscode

🍩 A XMake integration in Visual Studio Code
https://xmake.io
Apache License 2.0
228 stars 55 forks source link

additionalConfigArguments 类型错误,vscode标黄 #206

Open strickczq opened 1 year ago

strickczq commented 1 year ago

Xmake 版本

2.7.9

操作系统版本和架构

macOS 13.4

描述问题

image

粗看了一下,package.json 这里有问题 https://github.com/xmake-io/xmake-vscode/blob/c02f7c188dd9ebcabbd67a30507eee3d1f35d883/package.json#L680

根据 vscode 官方说明,这里应该符合 JSON Schema 的格式。 https://json-schema.org/understanding-json-schema/reference/array.html#id6

所以应当改为

{
  "type": "array",
  "items": {
    "type": "string"
  }
}

期待的结果

vscode 不标黄

工程配置

No response

附加信息和错误日志

No response