일반 언어 서버 추가하기

일반 StdIO 언어 서버를 추가하려면 다음과 같이 하세요:

  1. 환경설정 > 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 유형의 프로젝트나 파일이 열릴 때 언어 서버를 시작할지 선택합니다. 일반 메시지에는 언어 서버 연결에 대한 정보가 표시됩니다.
  5. Initialization options 에서 initialize 요청에 전달할 언어 서버별 JSON 속성을 추가할 수 있습니다.
  6. Executable 에 언어 서버 실행 파일의 경로를 입력합니다.
  7. 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.