aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server
Commit message (Collapse)AuthorAgeFilesLines
...
* Bump languageserver-types from 0.53.0 to 0.53.1dependabot[bot]2018-12-271-1/+1
| | | | | | | | Bumps [languageserver-types](https://github.com/gluon-lang/languageserver-types) from 0.53.0 to 0.53.1. - [Release notes](https://github.com/gluon-lang/languageserver-types/releases) - [Changelog](https://github.com/gluon-lang/languageserver-types/blob/master/release.toml) - [Commits](https://github.com/gluon-lang/languageserver-types/compare/v0.53.0...v0.53.1) Signed-off-by: dependabot[bot] <[email protected]>
* Merge #325bors[bot]2018-12-271-40/+7
|\ | | | | | | | | | | | | | | | | | | 325: implement translate_offset_with_edit r=matklad a=vemoo - Implement `translate_offset_with_edit` to resolve #105 - Add proptest impls for text, offsets and edits and use them in tests for `translate_offset_with_edit` and `LineIndex` - Added benchmark for `translate_offset_with_edit` Co-authored-by: Bernardo <[email protected]>
| * change to `TextEdit` to avoid allocation and sortBernardo2018-12-251-4/+6
| | | | | | | | rename newline to step where applicable
| * use new translate_offset_with_edit for TryConvWithBernardo2018-12-251-36/+1
| | | | | | | | doc comments
| * move translate_offset_with_edit to ra_editorBernardo2018-12-252-308/+1
| |
| * initial newline translation workingBernardo2018-12-251-13/+257
| | | | | | | | | | | | todo: cleanup, simplify handle columns
| * test translate_offset_with_edit against simple impl for single editsBernardo2018-12-252-1/+64
| |
* | Merge #332bors[bot]2018-12-272-1/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 332: Struct types r=matklad a=flodiebold Infer types for struct fields, and add basic field completions. There's also some code for enums, but I focused on getting structs working. There's still ways to go before this becomes useful: There's no autoderef (or even reference types) and no inference for `self`, for example. Co-authored-by: Florian Diebold <[email protected]>
| * | Add . to trigger charactersFlorian Diebold2018-12-251-1/+1
| | |
| * | Implement basic completion for fieldsFlorian Diebold2018-12-251-0/+1
| | |
| * | Do name resolution by namespace (types/values)Florian Diebold2018-12-251-0/+2
| |/
* | add cancelation module & cancelation backtracesAleksey Kladov2018-12-271-1/+1
| |
* | fix the testAleksey Kladov2018-12-271-2/+2
|/
* fix warning conversionAleksey Kladov2018-12-241-3/+1
|
* Merge #326bors[bot]2018-12-242-4/+15
|\ | | | | | | | | | | | | | | 326: resolved #324: remove unnecessary braces in use statement. r=matklad a=gfreezy Add inspection for unnecessary braces in use statement Co-authored-by: gfreezy <[email protected]>
| * remove option from Diagnosticgfreezy2018-12-242-3/+3
| |
| * add serverity to vscode diagnosticsgfreezy2018-12-231-2/+13
| |
* | Merge #302bors[bot]2018-12-242-8/+11
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | 302: WIP: Support tracing lsp requests. r=DJMcNab a=DJMcNab EDIT: We need to work out a better way to handle settings before this can be merged. Help wanted TODO: Debug why decorations are sent even when highlightingOn is disabled This makes the log volume so high its impossible to work with anyway. (Continuation of #84 [#99 only disabled using it, not making sure we don't send it]). These logs can be used in https://microsoft.github.io/language-server-protocol/inspector/ Co-authored-by: DJMcNab <[email protected]>
| * Improve commentDJMcNab2018-12-231-2/+2
| |
| * Undo the previous mistaken change and make publish_decorations optionalDJMcNab2018-12-212-8/+11
| | | | | | | | | | | | | | | | See https://github.com/Microsoft/language-server-protocol/issues/567 for motivations to not require `InitializationOptions` TODO: Check if there are any other protocol extensions which should be disabled if not implemented on the client
| * Disable highlighting if disabledDJMcNab2018-12-201-2/+2
| | | | | | | | | | | | | | | | This isn't working properly because we don't dynamically disable or enable it TODO: work out why highlighting can be enabled mid session. TODO: Improve settings handling
* | less chatty loggingAleksey Kladov2018-12-221-0/+7
| |
* | less verbose debugAleksey Kladov2018-12-221-7/+38
| |
* | log timesAleksey Kladov2018-12-222-2/+3
| |
* | binding iconAleksey Kladov2018-12-211-0/+1
| |
* | moar iconsAleksey Kladov2018-12-211-0/+2
| |
* | more iconsAleksey Kladov2018-12-211-1/+14
| |
* | move completion items to convAleksey Kladov2018-12-212-27/+30
| |
* | remove explicit serde_deriveAleksey Kladov2018-12-213-4/+3
| |
* | make compleion item details privateAleksey Kladov2018-12-211-8/+14
| |
* | edits use source-root APIAleksey Kladov2018-12-212-9/+18
| |
* | hide atom edits a bitAleksey Kladov2018-12-212-7/+19
| |
* | fix SourceFileEdit nameAleksey Kladov2018-12-211-2/+2
| |
* | tweak canceled messageAleksey Kladov2018-12-211-1/+1
| |
* | fold curly blocksAleksey Kladov2018-12-201-3/+4
|/
* Merge #297bors[bot]2018-12-201-1/+1
|\ | | | | | | | | | | | | | | 297: Use ContentModified error code r=matklad a=matklad https://github.com/Microsoft/language-server-protocol/commit/25679c2e4b26cb18af8c943319d40d4f3561a340 Co-authored-by: Aleksey Kladov <[email protected]>
| * Use ContentModified error codeAleksey Kladov2018-12-201-1/+1
| | | | | | | | https://github.com/Microsoft/language-server-protocol/commit/25679c2e4b26cb18af8c943319d40d4f3561a340
* | fix testsAleksey Kladov2018-12-201-1/+2
| |
* | fix sycAleksey Kladov2018-12-203-9/+31
| |
* | swtich lsp server to vfsAleksey Kladov2018-12-208-387/+140
| |
* | remove more importsAleksey Kladov2018-12-202-23/+2
| |
* | implement vfs events handlingAleksey Kladov2018-12-201-2/+2
| |
* | vfs crate scaffoldAleksey Kladov2018-12-201-2/+2
| |
* | wipAleksey Kladov2018-12-201-1/+1
|/
* Bump languageserver-types to 0.53.0 to support LSP 3.14.0Jeremy A. Kolb2018-12-192-3/+3
| | | | See: https://microsoft.github.io/language-server-protocol/specification#version_3_14_0
* move thread worker to a separate crateAleksey Kladov2018-12-187-98/+14
|
* By default, log only to stderr, and not to disk.Andrew Chin2018-12-171-5/+5
| | | | | | | This fixes a common problem when running under VS Code, the user doesn't have permissions to create a `log` directory in the CWD. The old behavior can be re-enabled by setting RA_INTERNAL_MODE=1
* rename Edit to TextEdit and AtomEdit to AtomTextEditBernardo2018-12-111-11/+11
|
* extract AtomEdit and Edit into new ra_text_edit crateBernardo2018-12-103-2/+5
|
* Answer canceled requestsAleksey Kladov2018-12-091-1/+8
|