mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-29 21:19:48 +00:00
core: add built-in Dart LSP server and formatter (#4841)
This commit is contained in:
parent
025a47d01f
commit
7112a706b8
4 changed files with 29 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ OpenCode comes with several built-in formatters for popular languages and framew
|
|||
| standardrb | .rb, .rake, .gemspec, .ru | `standardrb` command available |
|
||||
| htmlbeautifier | .erb, .html.erb | `htmlbeautifier` command available |
|
||||
| air | .R | `air` command available |
|
||||
| dart | .dart | `dart` command available |
|
||||
|
||||
So if your project has `prettier` in your `package.json`, OpenCode will automatically use it.
|
||||
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ OpenCode comes with several built-in LSP servers for popular languages:
|
|||
| lua-ls | .lua | Auto-installs for Lua projects |
|
||||
| sourcekit-lsp | .swift, .objc, .objcpp | `swift` installed (`xcode` on macOS) |
|
||||
| php intelephense | .php | Auto-installs for PHP projects |
|
||||
| dart | .dart | `dart` command available |
|
||||
|
||||
LSP servers are automatically enabled when one of the above file extensions are detected and the requirements are met.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue