Skip to content

Commit aeaa0c7

Browse files
ndegruchynobkd
andauthored
Add BBEdit Guide (#114)
* Add BBEdit Guide * Update editors/bbedit/README.md Co-authored-by: nobkd <44443899+nobkd@users.noreply.github.com> --------- Co-authored-by: nobkd <44443899+nobkd@users.noreply.github.com>
1 parent b7534cf commit aeaa0c7

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

editors/bbedit/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# BBEdit Support for SuperHTML LSP
2+
3+
Adding SuperHTML support to BBEdit only requires tweaking the existing settings
4+
for HTML language support. [Existing support uses the `vscode-html-languageserver`](https://www.barebones.com/support/bbedit/lsp-notes.html#preconfigured), which is a NodeJS project. You can easily change that to SuperHTML by doing the following:
5+
6+
## Accessing the HTML language settings
7+
8+
* Open the BBEdit preferences by accessing the "BBEdit" menu and then choose "Settings" (or via the keyboard `⌘+,` shortcuts).
9+
* From the settings window navigate to the "Languages" tab.
10+
* In this tab, choose the “Custom Settings” tab.
11+
* 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.
12+
* 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.
13+
* In this new sheet window, select the “Server” tab, clearing out the existing `html-languageserver` and `—stdio` boxes and filling in `superhtml` in the “Command” text box, and “lsp” in the “Arguments” box.
14+
* Once you’ve entered both of those items, you should see a green checkmark indicating that the server is ready to be used.
15+
* 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.

0 commit comments

Comments
 (0)