Ddystopia
7e19d99d4f
Add a localDocs
capability
2023-05-02 17:13:21 +02:00
Ddystopia
4ac39f0c98
Propagating sysroot
down + Refactoring
2023-05-02 17:08:56 +02:00
Ddystopia
67e58c5ba6
Add sysroot
2023-05-02 17:08:56 +02:00
Ddystopia
396934860c
Getting cargo workspace from file_id
and refactoring
2023-05-02 17:08:56 +02:00
Oleksandr Babak
0913809ac8
Update crates/ide/src/doc_links.rs
...
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2023-05-02 17:08:55 +02:00
Ddystopia
8317c8db1a
Test for Builtin Type
2023-05-02 17:08:55 +02:00
Ddystopia
b74b9797bc
Update hash in lsp-extensions.md
2023-05-02 17:08:54 +02:00
Ddystopia
b64c31c40a
Solve platform-specific issues
2023-05-02 17:06:39 +02:00
Ddystopia
12292e445a
Tests for externalDocs
2023-05-02 17:06:39 +02:00
Ddystopia
da0ffe79d0
Change signature of externalDocs
in lsp-extensions
2023-05-02 17:06:39 +02:00
Ddystopia
2503fbefde
Small improvements and fixes
2023-05-02 17:06:39 +02:00
Ddystopia
3fbb48907e
Add doc strings
2023-05-02 17:06:39 +02:00
Ddystopia
c47a34fddc
Add target_dir
path argument for external_docs
and other methods
2023-05-02 17:06:38 +02:00
Ddystopia
f2d933ecaf
Add support for local documentation links alongside web documentation links, pending for target_dir
path and tests
2023-05-02 17:06:38 +02:00
Ddystopia
fc888b583d
Add target_directory
path to CargoWorkspace
2023-05-02 17:06:31 +02:00
bors
a48e0e14e1
Auto merge of #11557 - bruno-ortiz:rust-dependencies, r=bruno-ortiz
...
Creating rust dependencies tree explorer
Hello!
I tried to implement a tree view that shows the dependencies of a project.
It allows to see all dependencies to the project and it uses `cargo tree` for it. Also it allows to click and open the files, the viewtree tries its best to follow the openned file in the editor.
Here is an example:
![image](https://user-images.githubusercontent.com/5748995/155822183-1e227c7b-7929-4fc8-8eed-29ccfc5e14fe.png )
Any feedback is welcome since i have basically no professional experience with TS.
2023-05-02 14:49:38 +00:00
Bruno Ortiz
ecfe7c0488
last fixes after rebase
2023-05-02 11:24:08 -03:00
Bruno Ortiz
0aed507f16
fixing TS linting, removing import
2023-05-02 11:06:28 -03:00
Bruno Ortiz
bcb21311ea
Accepting review suggestions
2023-05-02 11:06:25 -03:00
Bruno Ortiz
800b3b6323
adding doc and simplifying function
2023-05-02 11:03:32 -03:00
Bruno Ortiz
072f69e4c1
fixing ts linting and rust test
2023-05-02 11:01:53 -03:00
Bruno Ortiz
bd2160f014
final rabasing fixes
2023-05-02 11:01:53 -03:00
Bruno Ortiz
66fe84d936
accepting review suggestions
2023-05-02 11:01:41 -03:00
Bruno Ortiz
c372fb3495
fixing tests for windows
2023-05-02 10:59:31 -03:00
Bruno Ortiz
fe7874af90
reveal only when tree is visible
2023-05-02 10:59:31 -03:00
Bruno Ortiz
a3081a6774
Adding crate_root_path to crate_graph
2023-05-02 10:59:31 -03:00
Bruno Ortiz
8e687f7afb
improving code to work with multi-workspaces
2023-05-02 10:59:31 -03:00
Bruno Ortiz
1b8288ff96
Fixing naming from graph to list
2023-05-02 10:59:29 -03:00
Bruno Ortiz
e2535926e9
Fixing tests
2023-05-02 10:56:50 -03:00
Bruno Ortiz
061940dad9
running prettier
2023-05-02 10:56:47 -03:00
Bruno Ortiz
440889edec
fixing main_loop.rs
2023-05-02 10:56:13 -03:00
Bruno Ortiz
fc57339fdf
removing unused code
2023-05-02 10:56:13 -03:00
Lukas Wirth
299382dacd
WIP: Add lsp-ext scaffold
2023-05-02 10:56:13 -03:00
Lukas Wirth
9533644ccf
Remove unnecessary openFile command
2023-05-02 10:56:13 -03:00
Lukas Wirth
af999f152b
Reformat VSCode client code
2023-05-02 10:56:13 -03:00
bruno-ortiz
d1721b11e9
removing unused function
2023-05-02 10:56:13 -03:00
bruno-ortiz
ee54c6558d
fixing linting problemas
2023-05-02 10:56:13 -03:00
bruno-ortiz
f8215dd426
fixing stblib loading
2023-05-02 10:56:13 -03:00
bruno-ortiz
d01fc6405b
Creating rust dependencies tree view
2023-05-02 10:56:13 -03:00
Bruno Ortiz
09e0a00d36
fetching dependencies from the server
2023-05-02 10:56:09 -03:00
Lukas Wirth
1201b156d8
WIP: Add lsp-ext scaffold
2023-05-02 10:52:33 -03:00
Lukas Wirth
16cba19ff3
Remove unnecessary openFile command
2023-05-02 10:48:38 -03:00
Lukas Wirth
76432d39cb
Reformat VSCode client code
2023-05-02 10:48:38 -03:00
bruno-ortiz
364308d1dc
removing unused function
2023-05-02 10:48:38 -03:00
bruno-ortiz
77a4bfd34f
fixing linting problemas
2023-05-02 10:48:38 -03:00
bruno-ortiz
68aa20bb8a
fixing stblib loading
2023-05-02 10:48:38 -03:00
bruno-ortiz
795a1cbe89
Creating rust dependencies tree view
2023-05-02 10:48:33 -03:00
bors
cffc402c05
Auto merge of #14716 - Veykril:trait-deps-query, r=Veykril
...
Don't merge trait_impls_in_deps results
Closes https://github.com/rust-lang/rust-analyzer/issues/9167
We effectively keep a lot of copies of `TraitImpl` results in memory by merging them into the result of this query. This wastes a lot of memory unnecessarily. The change here brings memory usage of self down by 50mb (at a slight cost of trait solving unfortunately, though I'm hopeful it was just noice)
2023-05-02 12:02:26 +00:00
Lukas Wirth
3fdff0ae4b
Don't merge trait_impls_in_deps results
2023-05-02 14:00:18 +02:00
bors
94ac1cdbf5
Auto merge of #14715 - Veykril:symbol-index, r=Veykril
...
Refactor symbol index
Closes https://github.com/rust-lang/rust-analyzer/issues/14677
instead of eagerly fetching the source data in symbol index we do it lazily now, this shouldn't make it much more expensive as we had to parse the source most of the time anyways even after fetching.
2023-05-02 10:34:53 +00:00