rust/crates/rust-analyzer/src
bors[bot] 38ac331f7d
Merge #4784
4784: Change management of test cfg to better support json projects r=Nashenas88 a=Nashenas88

This helps support json projects where they can decide whether to add the `test` cfg or not. One alternative is to add support for marking json project crates as a sysroot crate, and adding logic to remove the `test` cfg in those cases. In my opinion, that option gives less flexibility to json projects and leads to more functionality that needs to be maintained.

Fixes #4508 
cc @woody77 

Co-authored-by: Paul Daniel Faria <Nashenas88@users.noreply.github.com>
Co-authored-by: Paul Daniel Faria <nashenas88@users.noreply.github.com>
2020-06-08 16:20:45 +00:00
..
bin Groundwork for specifying the set of projects via config 2020-06-03 12:22:01 +02:00
cli Remove default_cfg_options, pass target instead so it can be used for building cargo workspaces 2020-06-08 10:23:29 -04:00
diagnostics Merge branch 'master' into compute-lazy-assits 2020-06-03 19:26:01 +02:00
main_loop Apply suggestions from code review 2020-06-08 14:19:40 +03:00
caps.rs Spec better runnables 2020-06-02 17:34:18 +02:00
cargo_target_spec.rs Rename WorldState -> GlobalState 2020-06-03 11:20:01 +02:00
cli.rs Make some stuff public so that they can be reused by other tools 2020-05-14 11:14:46 +02:00
config.rs Add Run|Debug hover actions 2020-06-06 18:17:52 +03:00
diagnostics.rs Server side of SnippetTextEdit 2020-05-19 20:28:27 +02:00
from_proto.rs Rename WorldState -> GlobalState 2020-06-03 11:20:01 +02:00
global_state.rs Use Option<&str> for target instead of Option<&String> 2020-06-08 12:10:23 -04:00
lib.rs Rename WorldState -> GlobalState 2020-06-03 11:20:01 +02:00
lsp_ext.rs Add capabilities tests. 2020-06-05 15:00:31 +03:00
main_loop.rs Add hover actions as LSP extension 2020-06-05 14:59:26 +03:00
markdown.rs
semantic_tokens.rs Add self keyword semantic token type 2020-05-25 12:08:58 +03:00
to_proto.rs Apply suggestions from code review 2020-06-08 14:19:40 +03:00
vfs_glob.rs