2021-10-20 23:51:40 +03:00
|
|
|
[package]
|
|
|
|
name = "language"
|
|
|
|
version = "0.1.0"
|
2021-12-06 21:48:45 +03:00
|
|
|
edition = "2021"
|
2023-01-18 23:28:02 +03:00
|
|
|
publish = false
|
2024-01-27 15:51:16 +03:00
|
|
|
license = "GPL-3.0-or-later"
|
2024-01-23 19:40:30 +03:00
|
|
|
|
2024-03-05 20:01:17 +03:00
|
|
|
[lints]
|
|
|
|
workspace = true
|
|
|
|
|
2021-11-30 22:46:39 +03:00
|
|
|
[lib]
|
|
|
|
path = "src/language.rs"
|
2022-03-04 03:15:56 +03:00
|
|
|
doctest = false
|
2021-11-30 22:46:39 +03:00
|
|
|
|
2021-10-20 23:51:40 +03:00
|
|
|
[features]
|
2021-11-03 03:41:01 +03:00
|
|
|
test-support = [
|
|
|
|
"rand",
|
2021-12-06 14:10:25 +03:00
|
|
|
"collections/test-support",
|
2021-11-03 03:41:01 +03:00
|
|
|
"lsp/test-support",
|
2021-12-06 14:10:25 +03:00
|
|
|
"text/test-support",
|
2021-11-03 03:41:01 +03:00
|
|
|
"tree-sitter-rust",
|
2022-04-25 23:14:05 +03:00
|
|
|
"tree-sitter-typescript",
|
2022-07-29 00:03:31 +03:00
|
|
|
"settings/test-support",
|
2021-12-04 16:57:56 +03:00
|
|
|
"util/test-support",
|
2021-11-03 03:41:01 +03:00
|
|
|
]
|
2021-10-20 23:51:40 +03:00
|
|
|
|
|
|
|
[dependencies]
|
2023-04-25 03:41:55 +03:00
|
|
|
anyhow.workspace = true
|
|
|
|
async-trait.workspace = true
|
2024-02-06 22:41:36 +03:00
|
|
|
clock.workspace = true
|
|
|
|
collections.workspace = true
|
2023-04-25 03:41:55 +03:00
|
|
|
futures.workspace = true
|
2024-02-06 22:41:36 +03:00
|
|
|
fuzzy.workspace = true
|
|
|
|
git.workspace = true
|
2023-05-19 19:36:46 +03:00
|
|
|
globset.workspace = true
|
2024-02-06 22:41:36 +03:00
|
|
|
gpui.workspace = true
|
Add `language_servers` setting for customizing which language servers run (#10911)
This PR adds a new `language_servers` setting underneath the language
settings.
This setting controls which of the available language servers for a
given language will run.
The `language_servers` setting is an array of strings. Each item in the
array must be either:
- A language server ID (e.g., `"rust-analyzer"`,
`"typescript-language-server"`, `"eslint"`, etc.) denoting a language
server that should be enabled.
- A language server ID prefixed with a `!` (e.g., `"!rust-analyzer"`,
`"!typescript-language-server"`, `"!eslint"`, etc.) denoting a language
server that should be disabled.
- A `"..."` placeholder, which will be replaced by the remaining
available language servers that haven't already been mentioned in the
array.
For example, to enable the Biome language server in place of the default
TypeScript language server, you would add the following to your
settings:
```json
{
"languages": {
"TypeScript": {
"language_servers": ["biome", "!typescript-language-server", "..."]
}
}
}
```
More details can be found in #10906.
Release Notes:
- Added `language_servers` setting to language settings for customizing
which language server(s) run for a given language.
2024-04-24 02:38:57 +03:00
|
|
|
itertools.workspace = true
|
2023-04-25 03:41:55 +03:00
|
|
|
lazy_static.workspace = true
|
|
|
|
log.workspace = true
|
2024-02-06 22:41:36 +03:00
|
|
|
lsp.workspace = true
|
2023-04-25 03:41:55 +03:00
|
|
|
parking_lot.workspace = true
|
|
|
|
postage.workspace = true
|
Add `language_servers` setting for customizing which language servers run (#10911)
This PR adds a new `language_servers` setting underneath the language
settings.
This setting controls which of the available language servers for a
given language will run.
The `language_servers` setting is an array of strings. Each item in the
array must be either:
- A language server ID (e.g., `"rust-analyzer"`,
`"typescript-language-server"`, `"eslint"`, etc.) denoting a language
server that should be enabled.
- A language server ID prefixed with a `!` (e.g., `"!rust-analyzer"`,
`"!typescript-language-server"`, `"!eslint"`, etc.) denoting a language
server that should be disabled.
- A `"..."` placeholder, which will be replaced by the remaining
available language servers that haven't already been mentioned in the
array.
For example, to enable the Biome language server in place of the default
TypeScript language server, you would add the following to your
settings:
```json
{
"languages": {
"TypeScript": {
"language_servers": ["biome", "!typescript-language-server", "..."]
}
}
}
```
More details can be found in #10906.
Release Notes:
- Added `language_servers` setting to language settings for customizing
which language server(s) run for a given language.
2024-04-24 02:38:57 +03:00
|
|
|
pulldown-cmark.workspace = true
|
2024-01-31 05:41:29 +03:00
|
|
|
rand = { workspace = true, optional = true }
|
2023-04-25 03:41:55 +03:00
|
|
|
regex.workspace = true
|
2024-02-06 22:41:36 +03:00
|
|
|
rpc.workspace = true
|
2023-05-12 00:40:35 +03:00
|
|
|
schemars.workspace = true
|
2023-04-25 03:41:55 +03:00
|
|
|
serde.workspace = true
|
|
|
|
serde_json.workspace = true
|
2024-02-06 22:41:36 +03:00
|
|
|
settings.workspace = true
|
2021-10-20 23:51:40 +03:00
|
|
|
similar = "1.3"
|
2023-04-25 03:41:55 +03:00
|
|
|
smallvec.workspace = true
|
|
|
|
smol.workspace = true
|
2024-02-06 22:41:36 +03:00
|
|
|
sum_tree.workspace = true
|
Add `language_servers` setting for customizing which language servers run (#10911)
This PR adds a new `language_servers` setting underneath the language
settings.
This setting controls which of the available language servers for a
given language will run.
The `language_servers` setting is an array of strings. Each item in the
array must be either:
- A language server ID (e.g., `"rust-analyzer"`,
`"typescript-language-server"`, `"eslint"`, etc.) denoting a language
server that should be enabled.
- A language server ID prefixed with a `!` (e.g., `"!rust-analyzer"`,
`"!typescript-language-server"`, `"!eslint"`, etc.) denoting a language
server that should be disabled.
- A `"..."` placeholder, which will be replaced by the remaining
available language servers that haven't already been mentioned in the
array.
For example, to enable the Biome language server in place of the default
TypeScript language server, you would add the following to your
settings:
```json
{
"languages": {
"TypeScript": {
"language_servers": ["biome", "!typescript-language-server", "..."]
}
}
}
```
More details can be found in #10906.
Release Notes:
- Added `language_servers` setting to language settings for customizing
which language server(s) run for a given language.
2024-04-24 02:38:57 +03:00
|
|
|
task.workspace = true
|
2024-02-06 22:41:36 +03:00
|
|
|
text.workspace = true
|
|
|
|
theme.workspace = true
|
2023-07-14 04:09:32 +03:00
|
|
|
tree-sitter-rust = { workspace = true, optional = true }
|
|
|
|
tree-sitter-typescript = { workspace = true, optional = true }
|
2024-01-31 05:41:29 +03:00
|
|
|
tree-sitter.workspace = true
|
|
|
|
unicase = "2.6"
|
2024-02-06 22:41:36 +03:00
|
|
|
util.workspace = true
|
2023-07-14 04:09:32 +03:00
|
|
|
|
2021-10-20 23:51:40 +03:00
|
|
|
[dev-dependencies]
|
2024-02-06 22:41:36 +03:00
|
|
|
collections = { workspace = true, features = ["test-support"] }
|
2023-04-25 03:41:55 +03:00
|
|
|
ctor.workspace = true
|
|
|
|
env_logger.workspace = true
|
2024-02-06 22:41:36 +03:00
|
|
|
gpui = { workspace = true, features = ["test-support"] }
|
2023-05-23 08:11:22 +03:00
|
|
|
indoc.workspace = true
|
2024-02-06 22:41:36 +03:00
|
|
|
lsp = { workspace = true, features = ["test-support"] }
|
2023-04-25 03:41:55 +03:00
|
|
|
rand.workspace = true
|
2024-02-06 22:41:36 +03:00
|
|
|
settings = { workspace = true, features = ["test-support"] }
|
|
|
|
text = { workspace = true, features = ["test-support"] }
|
2024-01-31 05:41:29 +03:00
|
|
|
tree-sitter-elixir.workspace = true
|
2023-07-14 04:09:32 +03:00
|
|
|
tree-sitter-embedded-template.workspace = true
|
2024-01-31 05:41:29 +03:00
|
|
|
tree-sitter-heex.workspace = true
|
2023-07-14 04:09:32 +03:00
|
|
|
tree-sitter-html.workspace = true
|
|
|
|
tree-sitter-json.workspace = true
|
|
|
|
tree-sitter-markdown.workspace = true
|
|
|
|
tree-sitter-ruby.workspace = true
|
2024-01-31 05:41:29 +03:00
|
|
|
tree-sitter-rust.workspace = true
|
|
|
|
tree-sitter-typescript.workspace = true
|
|
|
|
unindent.workspace = true
|
2024-02-06 22:41:36 +03:00
|
|
|
util = { workspace = true, features = ["test-support"] }
|