为项目配置语言服务器

要为当前项目配置语言服务器,请访问Projects >Project Settings >Language Server

项目的语言服务器设置

要添加语言服务器并更改其首选项,请选择Global settings

打开和关闭语言服务器

要打开或关闭语言服务器,请在Project Specific Language Servers 中选择EnabledDisabled

配置语言服务器工作区

语言客户端会将Workspace Configuration 字段的内容以 JSON 文件的形式发送到打开了属于项目的文件的所有语言服务器。JSON 文件的内容必须是有效的 JSON。可用设置取决于语言服务器。

Workspace Configuration 中,使用有效的 JSON 格式指定语言服务器设置。

另请参阅 如何:管理语言服务器语言服务器配置项目

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.