在 VS Code 中更改函数参数的样式
Change the styling of function arguments in VS Code
我正在尝试编辑 Visual Studio 代码工作区中的样式,但我不知道如何编辑函数参数的样式。我发现您可以设置 parameters 的样式(使用 textMateRules 和 "scope" = "variable.parameter"
),但在 arguments 的样式上找不到任何内容(调用时函数而不是定义它。)
希望有人能在 VS 代码设置中找到我的 textMateRules 范围名称或其他获取它的方式。提前致谢!
找到解决方案:可以在命令面板中使用 Developer: Inspect TM Scopes
检查范围。我能够找到 meta.function-call.arguments.python
的设置
我正在尝试编辑 Visual Studio 代码工作区中的样式,但我不知道如何编辑函数参数的样式。我发现您可以设置 parameters 的样式(使用 textMateRules 和 "scope" = "variable.parameter"
),但在 arguments 的样式上找不到任何内容(调用时函数而不是定义它。)
希望有人能在 VS 代码设置中找到我的 textMateRules 范围名称或其他获取它的方式。提前致谢!
找到解决方案:可以在命令面板中使用 Developer: Inspect TM Scopes
检查范围。我能够找到 meta.function-call.arguments.python