BBEdit Support for SuperHTML LSP
ElsewhereAdding SuperHTML support to BBEdit only requires tweaking the existing settings
for HTML language support. Existing support uses the vscode-html-languageserver
, which is a NodeJS project. You can easily change that to SuperHTML by doing the following:
Accessing the HTML language settings
- Open the BBEdit preferences by accessing the “BBEdit” menu and then choose “Settings” (or via the keyboard
â+,
shortcuts). - From the settings window navigate to the “Languages” tab.
- In this tab, choose the âCustom Settingsâ tab.
- If you already have a custom configuration, you may edit it now. However, if you donât have an item listed for HTML, click on the â+â dropdown and choose âHTMLâ from the list.
- In this new sheet window, select the âServerâ tab, clearing out the existing
html-languageserver
andâstdio
boxes and filling insuperhtml
in the âCommandâ text box, and âlspâ in the âArgumentsâ box. - Once youâve entered both of those items, you should see a green checkmark indicating that the server is ready to be used.
- Click on âOKâ and your settings will be applied. You should be able to open an HTML document, or create a new one, and SuperHTML will be used as the LSP for checking for errors and warnings.