aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2732 from detrumi/cargo-toml-not-found-message-toggleAleksey Kladov2020-01-091-17/+22
|\ | | | | Flag to hide cargo.toml not found error
| * Use downcasting for CargoTomlNotFoundErrorWilco Kusee2020-01-081-2/+2
| |
| * Allow disabling Cargo.toml not found errorWilco Kusee2020-01-031-17/+22
| |
* | Implement proposed CallHierarchy featureJeremy Kolb2020-01-085-12/+129
| | | | | | | | See: https://github.com/microsoft/vscode-languageserver-node/blob/master/protocol/src/protocol.callHierarchy.proposed.ts
* | Adds a way to limits reference search by StructLiteralMikhail Modin2020-01-081-6/+9
| |
* | Fix back compatAleksey Kladov2020-01-071-0/+1
|/
* Update dependenciesJeremy Kolb2020-01-011-0/+1
|
* Retry inlay hints on content modified errorAleksey Kladov2019-12-301-10/+5
|
* Lowercase drive letters when getting paths from cargo checkEmil Lauridsen2019-12-291-61/+3
|
* Don't finish main cargo watch thread when subprocess finishes.Emil Lauridsen2019-12-271-1/+4
|
* Move cargo watch functionality to separate crateEmil Lauridsen2019-12-2710-1686/+11
|
* Keep VSCode config mostly backwards compatibleEmil Lauridsen2019-12-254-49/+31
|
* Some documentatioNEmil Lauridsen2019-12-251-0/+13
|
* Actually respect disabling cargo check functionalityEmil Lauridsen2019-12-251-3/+19
|
* Re-format ra_lsp_server changesEmil Lauridsen2019-12-253-7/+7
|
* Re-implement status display using LSP 3.15 progress eventEmil Lauridsen2019-12-252-9/+52
|
* Migrate tests from extension to rustEmil Lauridsen2019-12-257-0/+1067
|
* Fix use of wrong message in diagnosticEmil Lauridsen2019-12-251-1/+1
|
* Configuration plumbing for cargo watcherEmil Lauridsen2019-12-254-10/+55
|
* Initial implementation of cargo check watchingEmil Lauridsen2019-12-256-4/+597
|
* lsp-types 0.67Jeremy Kolb2019-12-231-0/+1
|
* Don't fire no-op changes after files are saved to diskAleksey Kladov2019-12-222-7/+9
|
* Add some module docsJeremy Kolb2019-12-219-9/+14
|
* Merge #2627bors[bot]2019-12-212-29/+9
|\ | | | | | | | | | | | | | | 2627: Use SelectionRange from LSP 3.15 r=matklad a=kjeremy Co-authored-by: Jeremy Kolb <[email protected]>
| * Use SelectionRange from LSP 3.15Jeremy Kolb2019-12-202-29/+9
| |
* | Clippy lintskjeremy2019-12-203-14/+10
|/
* remove unnecessary turbofish.Omer Ben-Amram2019-12-151-2/+1
|
* cfg gated tests that only work on windows.Omer Ben-Amram2019-12-151-10/+16
|
* improved path checking to consider only paths that may contain a windows drive.Omer Ben-Amram2019-12-151-20/+44
|
* move import inside cfg blockOmer Ben-Amram2019-12-151-1/+2
|
* Lowercase drive letters on windows before sending to extension.Omer Ben-Amram2019-12-151-0/+34
|
* Merge #2548bors[bot]2019-12-142-0/+6
|\ | | | | | | | | | | | | | | | | 2548: Support setting cargo features and resolve `default` features by default r=matklad a=oxalica Fixes #2524 Co-authored-by: oxalica <[email protected]>
| * Support setting cargo featuresoxalica2019-12-132-0/+6
| |
* | LSP 3.15 supports the deprecated tag on completionskjeremy2019-12-131-0/+5
|/
* Do not trigger signature help on closeJeremy Kolb2019-12-121-1/+1
|
* Revert "Revert "Support LSP 3.15""Aleksey Kladov2019-12-113-3/+12
| | | | This reverts commit 1e0bf205eff81f04c0e1e6c208c3489327520c3f.
* Revert "Support LSP 3.15"Aleksey Kladov2019-12-113-12/+3
| | | | This reverts commit 712700d8e027b108f9c4f8fa9acc2f25e453b6d1.
* Support LSP 3.15Jeremy Kolb2019-12-113-3/+12
| | | | This merely upgrades our protocol support. It does not add any of the new features.
* Implement `ra_lsp_server --version`Aleksey Kladov2019-12-091-1/+17
|
* Run rustfmt with respect to Cargo.toml editionVincent Rouillé2019-12-041-0/+6
|
* Merge #2451bors[bot]2019-11-301-6/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 2451: Use env_logger instead of flexi_logger r=matklad a=AlexanderEkdahl This fixes https://github.com/rust-analyzer/rust-analyzer/issues/2335 - By default only `error` will be printed. From what I can tell this matches the current behaviour. Configured through `RUST_LOG`. - I looked through the optional dependencies for `env_logger`and I have only enabled `human_time`. Without this feature no timestamp will be shown for log messages. - `RA_LOG_DIR` feature is removed This PR adds 2 new dependencies(`env_logger` and `human_time`) and removes 6 dependencies. Co-authored-by: Alexander Ekdahl <[email protected]>
| * Remove flexi_logger from ra_lsp_serverAlexander Ekdahl2019-11-301-6/+1
| |
* | Move identifier check to analysisWilco Kusee2019-11-291-11/+1
| |
* | Also allow renaming to underscoreWilco Kusee2019-11-291-1/+3
| |
* | Only allow renames to valid identifiersWilco Kusee2019-11-291-1/+7
|/
* rename ra_ide_api -> ra_ideAleksey Kladov2019-11-277-11/+11
|
* Ban println in lsp_serverAleksey Kladov2019-11-222-4/+23
|
* Merge pull request #2297 from kiljacken/masterAleksey Kladov2019-11-204-1/+6
|\ | | | | Add fancy truncation of type hints.
| * Move type inlay hint truncation to language serverEmil Lauridsen2019-11-194-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | This commit implements a general truncation framework for HirFormatter that keeps track of how much has been output so far. This information can then be used to perform truncation inside the language server, instead of relying on the client. Initial support is implemented for truncating types hints using the maxInlayHintLength server config option. The existing solution in the VSCode extension has been removed in favor of letting the server truncate type hints.
* | Change return type of expand_macroEdwin Cheng2019-11-192-3/+13
| |