汎用言語サーバーの追加

汎用StdIO言語サーバーを追加する:

  1. Preferences>Language Client >Add >Generic StdIO Language Server に進み、汎用言語サーバーを追加する。

    言語クライアント環境設定の一般タブにある汎用StdIO言語サーバ

  2. Name フィールドに言語サーバーの名前を入力します。サーバー名に変数を使用する場合は、変数 (Variables) を選択します。詳細については、Qt Creator 変数を使用する」を参照してください。
  3. Language で、Set MIME Types を選択して、言語サーバーに送信するファイルの MIME タイプを選択します。下のフィールドに、MIME タイプを拡張するファイル・パターンをセミコロンで区切って入力できます。
  4. Startup behavior で、Qt Creator の起動時に言語サーバーを起動するか、一致する MIME タイプを持つプロジェクトまたはファイルを開いたときに起動するかを選択します。General Messagesには、言語サーバーへの接続に関する情報が表示されます。
  5. Initialization options では、initialize 要求に渡す言語サーバー固有の JSON 属性を追加できます。
  6. Executable では、言語サーバー実行ファイルへのパスを入力します。
  7. Arguments には、必要なコマンドライン引数を入力します。変数を引数として使用する場合は、Variables を選択します。

How To: Manage Language ServersおよびLanguage Serversも参照してください

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.