aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main.rs
Commit message (Collapse)AuthorAgeFilesLines
* 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