Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

docs: Update JavaScript docs and remove TBDs (#17989)

Thorsten Ball579267f39981
diff --git a/docs/src/languages/javascript.md b/docs/src/languages/javascript.md
index 8fb84881ada..7e74cbbfaeb 100644
--- a/docs/src/languages/javascript.md
+++ b/docs/src/languages/javascript.md
@@ -26,17 +26,15 @@ For example, if you have Prettier installed and on your `PATH`, you can use it t
}
```
-<!--
## JSX
-TBD: Mention JSX
+Zed supports JSX syntax highlighting out of the box.
-## JSDoc
+In JSX strings, the [`tailwindcss-language-server`](./tailwindcss.md) is used provide autocompletion for Tailwind CSS classes.
-TBD: Document JSDoc support in Zed.
+## JSDoc
-- Tree Sitter: [tree-sitter/tree-sitter-jsdoc](https://github.com/tree-sitter/tree-sitter-jsdoc)
--->
+Zed supports JSDoc syntax in JavaScript and TypeScript comments that match the JSDoc syntax. Zed uses [tree-sitter/tree-sitter-jsdoc](https://github.com/tree-sitter/tree-sitter-jsdoc) for parsing and highlighting JSDoc.
## ESLint