汎用言語サーバーの追加
汎用 StdIO 言語サーバーを追加するには:
- Preferences >Language Client >Add >Generic StdIO Language Server に移動し、汎用言語サーバーを追加します。

- 「Name 」フィールドに、言語サーバーの名前を入力します。「
(Variables)」を選択すると、サーバー名に変数を使用できます。詳細については、「Qt Creator 変数の使用」を参照してください。 - [Language] で、[Set MIME Types ] を選択し、言語サーバーに送信するファイルの MIME タイプを選択します。下のフィールドには、MIME タイプを拡張するためのファイルパターンをセミコロンで区切って入力できます。
- 「Startup behavior 」で、Qt Creator の起動時、または一致するMIMEタイプのプロジェクトやファイルが開かれた際に、言語サーバーを起動するかどうかを選択します。「General Messages」には、言語サーバーへの接続に関する情報が表示されます。
- [Initialization options] では、
initializeへのリクエストに渡す言語サーバー固有のJSON属性を追加できます。 - 「Executable 」で、言語サーバーの実行ファイルへのパスを入力します。
- [Arguments] で、必要なコマンドライン引数を入力します。変数を引数として使用するには、[Variables ] を選択します。
「手順: 言語サーバーの管理」および「言語サーバーの管理」も参照してください 。
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.