Add generic language servers | Qt Creator Documentation

- Qt Creator Documentation
- Add generic language servers
- Qt Creator 19.0.1

Add a Java language server ◦ Configure Python language servers

# Add generic language servers

To add a generic StdIO language server:

1. Go to Preferences > Language Client > Add > Generic StdIO Language Server to add a generic language server.

2. In the Name field, enter a name for the language server. Select (Variables) to use a variable for the server name. For more information, see Use Qt Creator variables.
3. In Language, select Set MIME Types to select the MIME types of the files to send to the language server. In the field below, you can enter file patterns to extend the MIME types, separated by semicolons.
4. In Startup behavior, select whether the language server is started when Qt Creator starts or when a project or file with a matching MIME type is opened. General Messages displays information about the connection to the language server.
5. In Initialization options, you can add language server specific JSON attributes to pass to an `initialize` request.
6. In Executable, enter the path to the language server executable.
7. In Arguments, enter any required command-line arguments. Select Variables to use variables as arguments.

See also How to: Manage language servers and Managing language servers.

Add a Java language server ◦ Configure Python language servers