aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main.rs
Commit message (Collapse)AuthorAgeFilesLines
* Better error messages while deserializingAleksey Kladov2020-02-111-10/+7
|
* Log client info if presentkjeremy2020-01-131-0/+4
|
* Implement `ra_lsp_server --version`Aleksey Kladov2019-12-091-1/+17
|
* Remove flexi_logger from ra_lsp_serverAlexander Ekdahl2019-11-301-6/+1
|
* Ban println in lsp_serverAleksey Kladov2019-11-221-2/+1
|
* Added test for check doc strings in crates.Alexander Andreev2019-09-301-0/+2
| | | | #1856
* don't deadlock on shutdownAleksey Kladov2019-09-061-1/+1
| | | | | | | Specifically, when we tear down IO threads, we should take care to dispose connection. closes #1775
* cleanup main loopAleksey Kladov2019-08-311-13/+13
|
* :arrow_up: lsp-serverAleksey Kladov2019-08-301-37/+37
|
* move lsp-server to a separate repositoryAleksey Kladov2019-08-301-4/+10
|
* show error to the user when deserializing configAleksey Kladov2019-08-221-6/+13
|
* fix default for the exlude keyAleksey Kladov2019-08-211-2/+5
|
* rename configAleksey Kladov2019-08-061-2/+2
|
* don't send LocationLink unless the client opts-inAleksey Kladov2019-07-081-1/+1
| | | | closes #1474
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-2/+2
| | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway
* reuse AnalysisHost in batch analysisAleksey Kladov2019-06-151-1/+1
|
* re-enable backtraces on panicAleksey Kladov2019-06-151-2/+1
|
* Get rid of failure: ra_lsp_server & ra_project_modelMuhammad Mominul Huque2019-06-141-1/+1
|
* 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!
* Fix clippy::or_fun_callAlan Du2019-06-041-1/+1
|
* filter by timeAleksey Kladov2019-04-141-21/+4
|
* cleanup syntaxAleksey Kladov2019-04-141-8/+20
|
* switch to modern pathsAleksey Kladov2019-04-141-5/+5
|
* Adds support for multiple editor workspaces on initializationRoberto Vidal2019-04-141-1/+12
| | | | This is a quick, partial fix for #1104
* PR issuse resolvedSergey Parilin2019-04-021-0/+10
|
* Add showWorkspaceLoadedNotification to vscode clientVille Penttinen2019-03-061-14/+6
| | | | | | | | | 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.
* Send an actual ShowMessage instead of InternalFeedback in feedback()Ville Penttinen2019-03-051-1/+1
| | | | | | | This now allows us to send a notification that can be shown in the UI when the workspace has been loaded. Additionally this removes the need for internal_mode flag.
* reformat the worldAleksey Kladov2019-02-081-17/+9
|
* Merge #302bors[bot]2018-12-241-4/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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-211-4/+7
| | | | | | | | | | | | | | | | 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
* | remove explicit serde_deriveAleksey Kladov2018-12-211-2/+2
|/
* 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
* modernize moreAleksey Kladov2018-12-061-14/+8
|
* drop extern cratesAleksey Kladov2018-12-061-4/+0
|
* Put derive backAleksey Kladov2018-12-021-24/+1
| | | | It is used in this file
* Clippy lintsJeremy A. Kolb2018-11-291-1/+0
|
* workspace-symbols function for EmacsAleksey Kladov2018-11-081-3/+19
|
* eglot worksapce symbolAleksey Kladov2018-11-081-1/+24
|
* Fix function callsAlan Du2018-10-181-1/+1
|
* Cargo FormatJeremy A. Kolb2018-10-161-3/+3
| | | | Run `cargo fmt` and ignore generated files
* Prepare gen_lsp_server for publishingAleksey Kladov2018-10-091-2/+2
|
* rename all thingsAleksey Kladov2018-09-161-0/+52