aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * test translate_offset_with_edit against simple impl for single editsBernardo2018-12-251-0/+61
| |
* | 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 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-212-3/+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-202-7/+30
| |
* | swtich lsp server to vfsAleksey Kladov2018-12-207-387/+138
| |
* | remove more importsAleksey Kladov2018-12-202-23/+2
| |
* | vfs crate scaffoldAleksey Kladov2018-12-201-2/+2
|/
* Bump languageserver-types to 0.53.0 to support LSP 3.14.0Jeremy A. Kolb2018-12-191-2/+2
| | | | See: https://microsoft.github.io/language-server-protocol/specification#version_3_14_0
* move thread worker to a separate crateAleksey Kladov2018-12-185-95/+10
|
* 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-102-2/+4
|
* Answer canceled requestsAleksey Kladov2018-12-091-1/+8
|
* thread info about dep namesAleksey Kladov2018-12-092-6/+17
|
* propagate deps to CrateGraphAleksey Kladov2018-12-092-14/+40
|
* track deps in project modelAleksey Kladov2018-12-091-0/+10
|
* switch threadpool back from rayon to threadpoolAleksey Kladov2018-12-091-9/+6
| | | | | rayon does not replenish the pool when the thread panics, but we must be reselient to bugs.
* Refactor symbol resolve APIAleksey Kladov2018-12-081-7/+8
| | | | | Introduce ReferenceResolution to avoid nesting to many non-nominal types.
* grand module renameAleksey Kladov2018-12-081-0/+0
|
* reformatAleksey Kladov2018-12-081-1/+0
|
* Add a better text for hover and stop duplicating work done in ↵DJMcNab2018-12-081-21/+22
| | | | approximatelly_resolve_symbol
* Fix the range of a hover request to be more in line with prior artDJMcNab2018-12-081-1/+8
|