zed/crates
Dairon M 97be0a930c
Add syntax highlighting and LSP (erlang_lsp) for Erlang (#7093)
This pull request implements support for the [Erlang
Language](https://erlang.org/).

**It adds:**

* [tree-sitter-erlang](https://github.com/WhatsApp/tree-sitter-erlang)
grammar
highlights (Licensed under Apache-2 from WhatsApp which is compatible
with Zed licensing model), folds and indents
* Erlang file icon based on the [official
one](https://www.erlang.org/doc/erlang-logo.png)
* [erlang_ls](https://github.com/erlang-ls/erlang_ls) support

Fixes https://github.com/zed-industries/zed/issues/4939, possibly a
duplicate of https://github.com/zed-industries/zed/pull/7085 with more
features. Suppose @wingyplus wants to join efforts here.

**To complete (out of scope for this PR):**

* Support for the ELP language server from WhatsApp. CC @robertoaloi
* Better indentation handling, need something like
`indentNextLinePattern` in VS Code

**Screenshots:**

![Screenshot 2024-01-30 at 11 03 51
AM](https://github.com/zed-industries/zed/assets/168440/5289c245-9edd-46b8-b443-d7b3210f6510)
![Screenshot 2024-01-30 at 11 01 19
AM](https://github.com/zed-industries/zed/assets/168440/bd22b322-5344-44e6-b5f7-6e352fb3deef)
![Screenshot 2024-01-30 at 11 01 37
AM](https://github.com/zed-industries/zed/assets/168440/f28f6a15-383e-4719-8a87-fceae5062436)
![Screenshot 2024-01-30 at 11 02 03
AM](https://github.com/zed-industries/zed/assets/168440/980d5213-0367-4a08-86eb-5743dfa628eb)
![Screenshot 2024-01-30 at 11 02 19
AM](https://github.com/zed-industries/zed/assets/168440/ea998891-604d-48d6-929f-ae4c1bb3fae1)

Outline: 
![Screenshot 2024-01-31 at 9 09 36
AM](https://github.com/zed-industries/zed/assets/168440/46d56d94-21c3-414d-84fb-9251fa2506ab)



**Release Notes:**

* Added Erlang Support
([7093](https://github.com/zed-industries/zed/pull/7093)).

---------

Signed-off-by: Thanabodee Charoenpiriyakij <wingyminus@gmail.com>
Co-authored-by: Thanabodee Charoenpiriyakij <wingyminus@gmail.com>
2024-02-01 18:54:26 +02:00
..
activity_indicator Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
ai Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
assets Fix some formatting issues in Cargo.toml files (#7127) 2024-01-30 22:01:35 -05:00
assistant assistant: render api key editor if no credentials are set (#7197) 2024-02-01 11:16:03 +01:00
audio Restrict access to global Audio (#7122) 2024-01-30 20:49:58 -05:00
auto_update app version to server (#7130) 2024-01-31 15:46:24 -07:00
breadcrumbs Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
call Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
channel app version to server (#7130) 2024-01-31 15:46:24 -07:00
cli Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
client app version to server (#7130) 2024-01-31 15:46:24 -07:00
clock Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
collab collab 0.44.0 2024-01-31 19:10:19 -07:00
collab_ui Add initial markdown preview to Zed (#6958) 2024-02-01 11:03:09 +02:00
collections gpui: Add Global marker trait (#7095) 2024-01-30 14:08:20 -05:00
color Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
command_palette Fix some typos in comments (#7169) 2024-01-31 16:21:33 -05:00
copilot Send lsp_types::InitializeParams with Zed version (#7216) 2024-02-01 18:39:28 +02:00
copilot_ui WIP: Add a setting to visually redact enviroment variables (#7124) 2024-01-31 11:42:09 -08:00
db Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
diagnostics Fix some formatting issues in Cargo.toml files (#7127) 2024-01-30 22:01:35 -05:00
editor Send lsp_types::InitializeParams with Zed version (#7216) 2024-02-01 18:39:28 +02:00
feature_flags Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
feedback app version to server (#7130) 2024-01-31 15:46:24 -07:00
file_finder Refactor file_finder send element open code (#7210) 2024-02-01 14:35:42 +02:00
fs Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
fsevent fix: isolate macos-specific dependencies (#6854) 2024-01-27 13:38:55 +01:00
fuzzy Fix panic in fuzzy-finder for unicode characters (#7080) 2024-01-30 16:10:35 +01:00
git Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
go_to_line Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
gpui app version to server (#7130) 2024-01-31 15:46:24 -07:00
gpui_macros Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
install_cli Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
journal Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
language Add initial markdown preview to Zed (#6958) 2024-02-01 11:03:09 +02:00
language_selector Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
language_tools Send lsp_types::InitializeParams with Zed version (#7216) 2024-02-01 18:39:28 +02:00
live_kit_client Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
live_kit_server Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
lsp lsp: if language server closes stdout/stderr, break loop (#7229) 2024-02-01 17:49:53 +01:00
markdown_preview markdown_preview: Sort dependencies in Cargo.toml (#7226) 2024-02-01 11:26:50 -05:00
media Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
menu Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
multi_buffer Add initial markdown preview to Zed (#6958) 2024-02-01 11:03:09 +02:00
node_runtime Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
notifications Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
outline Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
picker Fix some formatting issues in Cargo.toml files (#7127) 2024-01-30 22:01:35 -05:00
plugin Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
plugin_macros Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
plugin_runtime Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
prettier Send lsp_types::InitializeParams with Zed version (#7216) 2024-02-01 18:39:28 +02:00
project Send lsp_types::InitializeParams with Zed version (#7216) 2024-02-01 18:39:28 +02:00
project_panel disallow opening private files (#7165) 2024-01-31 12:05:51 -08:00
project_symbols Send lsp_types::InitializeParams with Zed version (#7216) 2024-02-01 18:39:28 +02:00
quick_action_bar Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
recent_projects Fix some formatting issues in Cargo.toml files (#7127) 2024-01-30 22:01:35 -05:00
refineable Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
release_channel app version to server (#7130) 2024-01-31 15:46:24 -07:00
rich_text Add initial markdown preview to Zed (#6958) 2024-02-01 11:03:09 +02:00
rope Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
rpc disallow opening private files (#7165) 2024-01-31 12:05:51 -08:00
search Fix some formatting issues in Cargo.toml files (#7127) 2024-01-30 22:01:35 -05:00
semantic_index Fix some formatting issues in Cargo.toml files (#7127) 2024-01-30 22:01:35 -05:00
settings app version to server (#7130) 2024-01-31 15:46:24 -07:00
snippet Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
sqlez Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
sqlez_macros Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
story Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
storybook Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
sum_tree Clean up Cargo.toml files (#7044) 2024-01-29 23:47:20 -05:00
terminal Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
terminal_view Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
text Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
theme Watch the themes directory for changes (#7173) 2024-01-31 18:17:31 -05:00
theme_importer theme_importer: Add ability to print theme JSON schema (#7129) 2024-01-30 23:33:54 -05:00
theme_selector Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
ui Fix some formatting issues in Cargo.toml files (#7127) 2024-01-30 22:01:35 -05:00
util Filter LSP github releases that have no assets to properly download LSP servers (#7189) 2024-02-01 10:59:35 +02:00
vcs_menu Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
vim Send lsp_types::InitializeParams with Zed version (#7216) 2024-02-01 18:39:28 +02:00
welcome Sort dependencies in Cargo.toml files (#7126) 2024-01-30 21:41:29 -05:00
workspace Fix moving focus to docks when navigating via keybinds (#7221) 2024-02-01 16:28:51 +01:00
zed Add syntax highlighting and LSP (erlang_lsp) for Erlang (#7093) 2024-02-01 18:54:26 +02:00
zed_actions Fix casing of OpenZedUrl action (#7045) 2024-01-29 23:50:31 -05:00