aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
|
* 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-092-9/+7
| | | | | 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
|
* Add test for code actionsFlorian Diebold2018-12-061-1/+60
|
* Use json comparison code from cargo for heavy testsFlorian Diebold2018-12-062-17/+20
|
* modernize moreAleksey Kladov2018-12-0610-56/+42
|
* drop extern cratesAleksey Kladov2018-12-063-26/+0
|
* Fix diagnostic fixes showing up everywhereFlorian Diebold2018-12-021-2/+2
| | | | | The LSP code action request always returned the fixes for all diagnostics anywhere in the file, because of a shadowed variable.
* Put derive backAleksey Kladov2018-12-021-24/+1
| | | | It is used in this file
* Put map backJeremy A. Kolb2018-11-301-1/+1
|
* Clippy lintsJeremy A. Kolb2018-11-294-16/+13
|
* move db basics to ra_dbAleksey Kladov2018-11-281-1/+1
| | | | This should allow to move hir to a separate crate
* hack around nested librariesAleksey Kladov2018-11-262-3/+33
|
* Use `:` as a trigger character for completionAleksey Kladov2018-11-212-2/+24
| | | | | | | | | Note that VSCode asks for completion after *first* `:` as well: use crate: we use hacks to protect against that, and to give completions only after the second `:`.
* Rename col to col_utf16Adolfo Ochagavía2018-11-161-6/+11
|
* Support UTF-16 chars in LineIndexAdolfo Ochagavía2018-11-161-2/+0
|
* Fix the testAleksey Kladov2018-11-081-1/+1
|
* workspace-symbols function for EmacsAleksey Kladov2018-11-082-11/+34
|
* eglot worksapce symbolAleksey Kladov2018-11-081-1/+24
|
* Rename File -> SourceFileNodeAleksey Kladov2018-11-071-2/+2
|
* Cargo updateJeremy A. Kolb2018-11-071-1/+1
|
* Rustfmt to pass CIJeremy A. Kolb2018-11-071-2/+2
|
* Remove unused variableJeremy A. Kolb2018-11-071-1/+0
|
* Show documentation for hover requestsJeremy A. Kolb2018-11-073-3/+29
|
* Use closing paren as a trigger characterJeremy A. Kolb2018-11-051-1/+1
| | | | | This seems counter-intuitive based on the concept of "trigger character" but it provides a better function signature experience.
* Use FilePosition everywhereAleksey Kladov2018-11-052-41/+48
|