aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src
Commit message (Collapse)AuthorAgeFilesLines
* Temp fix for slow onEnter issueAleksey Kladov2019-06-131-1/+2
| | | | | | | | | | The issue was windows specific -- cancellation caused collection of bracktraces at some point, and that was slow on windows. The proper fix here is to make sure that we don't collect bracktraces unnecessary (which we currently do due to failure), but, as a temporary fix, let's just not force their collection in the first place!
* make LRU cache configurableAleksey Kladov2019-06-123-6/+18
|
* make Docs handing more ideomaticAleksey Kladov2019-06-082-17/+8
|
* Fix clippy::or_fun_callAlan Du2019-06-041-1/+1
|
* Fix clippy::identity_conversionAlan Du2019-06-043-20/+15
|
* renameAleksey Kladov2019-06-016-80/+86
|
* move subs insideAleksey Kladov2019-06-011-4/+2
|
* use sync queries for join lines and friendsAleksey Kladov2019-05-311-5/+11
|
* add sync requestsAleksey Kladov2019-05-312-43/+56
|
* cleanupAleksey Kladov2019-05-311-39/+42
|
* cleanupAleksey Kladov2019-05-311-35/+48
|
* simplifyAleksey Kladov2019-05-311-51/+52
|
* move completed requests to a separate fileAleksey Kladov2019-05-315-80/+114
|
* simplifyAleksey Kladov2019-05-311-3/+3
|
* introduce constantAleksey Kladov2019-05-311-7/+13
|
* minorAleksey Kladov2019-05-311-1/+1
|
* update ra_ide_api to use builtinsAleksey Kladov2019-05-301-0/+1
|
* less noisy statusAleksey Kladov2019-05-291-1/+1
|
* optimization: cancel backlog in onEnterAleksey Kladov2019-05-292-3/+16
|
* add latest requests to status pageAleksey Kladov2019-05-293-12/+67
|
* log the actual time of requestsAleksey Kladov2019-05-291-16/+31
|
* trigger garbage collection *after* requests, not beforeAleksey Kladov2019-05-291-2/+5
|
* more perf loggingAleksey Kladov2019-05-291-3/+8
|
* rename stray id fieldPascal Hertleif2019-05-272-2/+2
|
* make it build againPascal Hertleif2019-05-271-1/+1
|
* Semantic highlighting spikePascal Hertleif2019-05-272-1/+6
| | | | | | | | | | Very simple approach: For each identifier, set the hash of the range where it's defined as its 'id' and use it in the VSCode extension to generate unique colors. Thus, the generated colors are per-file. They are also quite fragile, and I'm not entirely sure why. Looks like we need to make sure the same ranges aren't overwritten by a later request?
* add profile calls to real-time requestsAleksey Kladov2019-05-271-0/+5
|
* Added local macro gotoLenard Pratt2019-05-041-0/+1
|
* Basic resolution for ADTkjeremy2019-04-233-2/+23
|
* switch to official extend selection APIAleksey Kladov2019-04-214-2/+71
|
* add a couple of profiling pointsAleksey Kladov2019-04-141-0/+3
|
* filter by timeAleksey Kladov2019-04-141-21/+4
|
* cleanup syntaxAleksey Kladov2019-04-141-8/+20
|
* switch to modern pathsAleksey Kladov2019-04-141-5/+5
|
* Sends cwd info for runnables and code lensesRoberto Vidal2019-04-143-1/+12
|
* Adds support for multiple editor workspaces on initializationRoberto Vidal2019-04-143-24/+40
| | | | This is a quick, partial fix for #1104
* Refactor CallInfo function signatures to new FunctionSignature typeVille Penttinen2019-04-092-18/+27
| | | | | This is used by CallInfo to create a pretty printed function signature that can be used with completions and other places as well.
* Remove checking file existsEdwin Cheng2019-04-071-13/+6
|
* fix formattingEdwin Cheng2019-04-071-1/+2
|
* Add warning when open file outside workspaceEdwin Cheng2019-04-061-5/+15
|
* PR issuse resolvedSergey Parilin2019-04-022-4/+13
|
* Move actual include logic to ProjectRootVille Penttinen2019-03-211-25/+20
| | | | | This way the two IncludeRustFiles implementations can simply call the ProjectRoots' methods, so that the include logic is in one place.
* Improve filtering of file rootsVille Penttinen2019-03-203-29/+65
| | | | | | | | | `ProjectWorkspace::to_roots` now returns a new `ProjectRoot` which contains information regarding whether or not the given path is part of the current workspace or an external dependency. This information can then be used in `ra_batch` and `ra_lsp_server` to implement more advanced filtering. This allows us to filter some unnecessary folders from external dependencies such as tests, examples and benches.
* Upgrade ra_vfs to use new FilteringVille Penttinen2019-03-181-2/+28
| | | | | Currently this matches the previous filtering, meaning all roots are filtered using the same rules.
* LSP: Support EnumMember and Fieldkjeremy2019-03-111-0/+2
|
* Don't default publishDecorations to true on the serverFlorian Diebold2019-03-091-39/+61
| | | | | | | If the client doesn't specify this explicitly, that very likely means it doesn't know about it and so we shouldn't send decorations. In particular, the recent change to this default caused decorations to be sent to emacs, resulting in a lot of warning spam.
* when loading workspace, say how many packages were loadedAleksey Kladov2019-03-071-7/+7
| | | | | this should help to debug configuration issues, when you see `0 packages loaded` or something like that.
* Rename and change `add_roots` to return a `Vec`.David Wood2019-03-071-1/+1
|
* Initial implementation of project-lock.json.David Wood2019-03-072-16/+13
| | | | | This commit adds a initial implementation of project-lock.json, a build system agnostic method of specifying the crate graph and roots.
* Add showWorkspaceLoadedNotification to vscode clientVille Penttinen2019-03-064-20/+55
| | | | | | | | | This allows users to control whether or not they want to see the "workspace loaded" notification. This is done on the server side using InitializationOptions which are provided by the client. By default show_workspace_loaded is true, meaning the notification is sent.