Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix code style issues | Igor Aleksanov | 2020-10-12 | 3 | -4/+7 |
| | |||||
* | Apply case check diagnostic to impl items | Igor Aleksanov | 2020-10-12 | 2 | -1/+26 |
| | |||||
* | Fix issues with match arm bindings | Igor Aleksanov | 2020-10-12 | 1 | -7/+12 |
| | |||||
* | Code style adjustments | Igor Aleksanov | 2020-10-12 | 3 | -8/+88 |
| | |||||
* | Remove previously added parameter names from the function data | Igor Aleksanov | 2020-10-12 | 3 | -18/+0 |
| | |||||
* | Make incorrect case diagnostic work inside of functions | Igor Aleksanov | 2020-10-12 | 4 | -33/+280 |
| | |||||
* | Refactor string helpers for decl_check module | Igor Aleksanov | 2020-10-12 | 1 | -32/+97 |
| | |||||
* | Add diagnostics for enum names and variants | Igor Aleksanov | 2020-10-12 | 3 | -2/+173 |
| | |||||
* | Add fix for incorrect case diagnostic | Igor Aleksanov | 2020-10-12 | 8 | -30/+112 |
| | |||||
* | Improve string helpers functions | Igor Aleksanov | 2020-10-12 | 2 | -2/+13 |
| | |||||
* | Check structure fields to be snake_case | Igor Aleksanov | 2020-10-12 | 1 | -46/+65 |
| | |||||
* | Add check for structure names to be CamelCase | Igor Aleksanov | 2020-10-12 | 2 | -1/+139 |
| | |||||
* | Extract helper functions into a separate module | Igor Aleksanov | 2020-10-12 | 2 | -29/+112 |
| | |||||
* | Add checks for function parameters | Igor Aleksanov | 2020-10-12 | 2 | -7/+94 |
| | |||||
* | Create basic support for names case checks and implement function name case ↵ | Igor Aleksanov | 2020-10-12 | 6 | -3/+300 |
| | | | | check | ||||
* | Merge #5917 | bors[bot] | 2020-10-12 | 12 | -23/+350 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5917: Add a command to open docs for the symbol under the cursor r=matklad a=zacps #### Todo - [ ] Decide if there should be a default keybind or context menu entry - [x] Figure out how to get the documentation path for methods and other non-top-level defs - [x] Design the protocol extension. In future we'll probably want parameters for local/remote documentation URLs, so that should maybe be done in this PR? - [x] Code organisation - [x] Tests Co-authored-by: Zac Pullar-Strecker <[email protected]> | ||||
| * | Remove methodowner & fix formatting | Zac Pullar-Strecker | 2020-10-08 | 4 | -53/+27 |
| | | |||||
| * | Rebase fixes | Zac Pullar-Strecker | 2020-10-08 | 2 | -14/+6 |
| | | |||||
| * | Changes from review | Zac Pullar-Strecker | 2020-10-08 | 1 | -3/+3 |
| | | |||||
| * | Remove outdated part of doc_links module docs | Zac Pullar-Strecker | 2020-10-08 | 1 | -2/+0 |
| | | |||||
| * | Add ignored test to demonstrate ImportMap bug | Zac Pullar-Strecker | 2020-10-08 | 1 | -1/+26 |
| | | |||||
| * | Fix namespace detection & function test | Zac Pullar-Strecker | 2020-10-08 | 1 | -6/+2 |
| | | |||||
| * | Add tests | Zac Pullar-Strecker | 2020-10-08 | 1 | -2/+94 |
| | | |||||
| * | Update tests for new function field | Zac Pullar-Strecker | 2020-10-08 | 1 | -12/+12 |
| | | |||||
| * | Change Option::Some bug to a fixme note | Zac Pullar-Strecker | 2020-10-08 | 2 | -3/+4 |
| | | | | | | | | IMO this is too much work to be worth fixing at the moment. | ||||
| * | Differentiate method/tymethod by determining 'defaultness' | Zac Pullar-Strecker | 2020-10-08 | 6 | -8/+30 |
| | | | | | | | | | | | | | | | | | | Currently a method only has defaultness if it is a provided trait method, but this will change when specialisation is available and may need to become a concept known to hir. I opted to go for a 'fewest changes' approach given specialisation is still under development. | ||||
| * | Code reorganisation and field support | Zac Pullar-Strecker | 2020-10-08 | 4 | -56/+101 |
| | | |||||
| * | Changes from review | Zac Pullar-Strecker | 2020-10-08 | 5 | -37/+13 |
| | | |||||
| * | Rename ide::link_rewrite -> ide::doc_links & tidy imports | Zac Pullar-Strecker | 2020-10-08 | 3 | -4/+4 |
| | | |||||
| * | Add support for struct & trait methods | Zac Pullar-Strecker | 2020-10-08 | 1 | -7/+83 |
| | | |||||
| * | WIP: Command to open docs under cursor | Zac Pullar-Strecker | 2020-10-08 | 5 | -2/+132 |
| | | |||||
* | | Update crates | kjeremy | 2020-10-11 | 1 | -3/+3 |
| | | |||||
* | | Show reason for failed rename refactoring | Rüdiger Herrmann | 2020-10-10 | 4 | -61/+138 |
| | | | | | | | | | | | | | | | | | | | | | | Return an error with a meaningful message for requests to `textDocument/rename` if the operation cannot be performed. Pass errors raised by rename handling code to the LSP runtime. As a consequence, the VS Code client shows and logs the request as if a server-side programming error occured. Resolves https://github.com/rust-analyzer/rust-analyzer/issues/3981 | ||||
* | | Merge #6176 | bors[bot] | 2020-10-10 | 1 | -0/+2 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 6176: add eprintln in fmt-like postfix r=SomeoneToIgnore a=bnjjj Co-authored-by: Benjamin Coenen <[email protected]> | ||||
| * | | add eprintln in fmt-like postfix | Benjamin Coenen | 2020-10-08 | 1 | -0/+2 |
| | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | | | adt: correctly inherit field visibility from enum | Jonas Schievink | 2020-10-09 | 3 | -15/+47 |
| | | | | | | | | | | | | | | | | | | | | | Previously, "find all references" on a variant field wouldn't find any references outside the defining module. This is because variant fields were incorrectly assumed to be private, like struct fields without explicit visibility, but they actually inherit the enum's visibility. | ||||
* | | | Treat `ast::Name` in field patterns as use | Jonas Schievink | 2020-10-09 | 2 | -43/+119 |
| | | | |||||
* | | | Update crates/project_model/src/sysroot.rs | Jonas Schievink | 2020-10-09 | 1 | -1/+1 |
| | | | | | | | | | Co-authored-by: Laurențiu Nicola <[email protected]> | ||||
* | | | Add note if RUST_SRC_PATH is likely to be wrong | Jonas Schievink | 2020-10-09 | 1 | -2/+8 |
| | | | |||||
* | | | Fix source_to_def for named enum variant fields | Jonas Schievink | 2020-10-09 | 2 | -0/+21 |
|/ / | |||||
* | | Bump rustc_lexer, cfg-if to 1.0 and add new license to check | kjeremy | 2020-10-08 | 2 | -2/+2 |
| | | |||||
* | | Merge #5651 | bors[bot] | 2020-10-08 | 5 | -0/+39 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5651: Add track_env_var to the proc macro server r=kjeremy a=lnicola See https://github.com/rust-lang/rust/pull/74653. Fixes #6054. Fixes #5640, maybe. Should be merged when 1.47 is released. Proc macros still don't work for me, but it no longer crashes. Co-authored-by: Laurențiu Nicola <[email protected]> | ||||
| * | Add track_env_var to the proc macro server | Laurențiu Nicola | 2020-10-08 | 5 | -0/+39 |
| | | |||||
* | | Merge #6161 | bors[bot] | 2020-10-07 | 3 | -3/+19 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 6161: Bump chalk to use latest git to get upstream fix r=jonas-schievink a=Ameobea * Chalk very recently (like an hour ago) merged a fix that prevents rust analyzer from panicking. This allows it to be usable again for code that hits those situations. See #6134, #6145, Probably #6120 Co-authored-by: Casey Primozic <[email protected]> | ||||
| * | | Switch from git to latest tagged release of chalk deps | Casey Primozic | 2020-10-07 | 1 | -3/+3 |
| | | | |||||
| * | | Make unimplemented match variants explicit | Casey Primozic | 2020-10-07 | 1 | -1/+2 |
| | | | |||||
| * | | `todo!()` -> `unimplemented!() // FIXME` for CI | Casey Primozic | 2020-10-06 | 2 | -3/+5 |
| | | | |||||
| * | | Bump chalk to use latest git to get fix | Casey Primozic | 2020-10-06 | 3 | -3/+16 |
| | | | | | | | | | | | | * Chalk very recently (like an hour ago) merged a fix that prevents rust analyzer from panicking. This allows it to be usable again for code that hits those situations. See #6134, #6145, Probably #6120 | ||||
* | | | Merge #6154 | bors[bot] | 2020-10-07 | 5 | -56/+295 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6154: Shorten type hints for std::iter Iterators r=SomeoneToIgnore a=Veykril Fixes #3750. This re-exports the `hir_expand::name::known` module to be able to fetch the `Iterator` and `iter` names. I'm not sure if there is anything to do with `Solution::Ambig` in `normalize_trait_assoc_type` or whether discarding those results is always wanted. Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | | | Clean up inlay_hints | Lukas Wirth | 2020-10-07 | 2 | -19/+26 |
| | | | |