mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-25 06:24:56 +00:00
## Summary
Comprehensive remediation of 146 documentation files to align with Zed's
documentation conventions and brand voice guidelines.
## Changes
### YAML Frontmatter
- Added `title` and `description` frontmatter to all docs missing it
### Settings UI Pattern
- Updated 48+ files to show Settings Editor before JSON examples
- Pattern: `Configure X in Settings ({#kb zed::OpenSettings}), or add to
your settings file:`
- Added `([how to edit](./configuring-zed.md#settings-files))` links for
JSON-only settings
### Brand Voice Fixes
- Removed exclamation points (command-palette, key-bindings, repl,
privacy-and-security, etc.)
- Simplified em dash chains to parentheticals (environment,
troubleshooting, agent-panel, etc.)
- Fixed marketing language (yarn.md intro, development/linux.md)
### Terminology Alignment
- `settings UI` -> `Settings Editor`
- `sidebar` -> specific panel names (Project Panel, Collab Panel)
- `directory` -> `folder` in non-technical contexts
- `workspace` -> `project` in non-LSP contexts
- `Command Palette` -> `command palette` (lowercase)
### Callout Standardization
- Converted various callout formats to standard `> **Note:**` pattern
## Related
Depends on conventions established in #49176.
Release Notes:
- N/A
1.7 KiB
1.7 KiB
| title | description |
|---|---|
| Kotlin | Configure Kotlin language support in Zed, including language servers, formatting, and debugging. |
Kotlin
Kotlin language support in Zed is provided by the community-maintained Kotlin extension. Report issues to: https://github.com/zed-extensions/kotlin/issues
- Tree-sitter: fwcd/tree-sitter-kotlin
- Language Server: fwcd/kotlin-language-server
- Alternate Language Server: kotlin/kotlin-lsp
Configuration
Workspace configuration options can be passed to the language server via lsp
settings in settings.json.
The full list of lsp settings can be found
here
under class Configuration and initialization_options under class InitializationOptions.
JVM Target
The following example changes the JVM target from default (which is 1.8) to
17:
{
"lsp": {
"kotlin-language-server": {
"settings": {
"compiler": {
"jvm": {
"target": "17"
}
}
}
}
}
}
JAVA_HOME
To use a specific java installation, just specify the JAVA_HOME environment variable with:
{
"lsp": {
"kotlin-language-server": {
"binary": {
"env": {
"JAVA_HOME": "/Users/whatever/Applications/Work/Android Studio.app/Contents/jbr/Contents/Home"
}
}
}
}
}