Commit Graph

5326 Commits

Author SHA1 Message Date
bors[bot]
e6cb06d285
Merge #2070
2070: sublime: hint where feature flags would go r=matklad a=jacobrosenthal

It would appear feature flags need to be under initializationOptions for sublime

```
// LSP Settings - User
{
  "clients": {
    "rust-analyzer": {
      "command": [
        "ra_lsp_server"
      ],
      "enabled": true,
      "initializationOptions": {
        "featureFlags": {
          "notifications.workspace-loaded": false
        }
      },
      "languageId": "rust",
      "scopes": [
        "source.rust"
      ],
      "syntaxes": [
        "Packages/Rust/Rust.sublime-syntax",
        "Packages/Rust Enhanced/RustEnhanced.sublime-syntax"
      ]
    }
  }
}
```

Co-authored-by: Jacob <jacobrosenthal@gmail.com>
2019-10-25 18:45:00 +00:00
Jacob
813b725957 sublime: hint where feature flags would go 2019-10-25 11:32:31 -07:00
bors[bot]
c48b467eff
Merge #2069
2069: auto-generate assists docs and tests r=matklad a=matklad



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-10-25 11:50:06 +00:00
Aleksey Kladov
0dd35ff2b2 auto-generate assists docs and tests 2019-10-25 14:47:48 +03:00
bors[bot]
5f779f6c46
Merge #2066
2066: insert space after `->` r=matklad a=matklad



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-10-25 11:24:43 +00:00
bors[bot]
4ab384c19d
Merge #2068
2068: Specify working chalk revisions in manifest r=matklad a=lnicola

CC #2067.

Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2019-10-25 10:50:36 +00:00
Laurențiu Nicola
27a0cb3025 Specify working chalk revisions in manifest 2019-10-25 13:33:14 +03:00
Aleksey Kladov
d5cd8b5be2 disable the new typing handler for ->
It doesn't actually work with LSP
2019-10-25 13:03:57 +03:00
Aleksey Kladov
53e3bee0cf insert space after -> 2019-10-25 12:41:34 +03:00
Aleksey Kladov
ea948e9fbb refactor typing_handlers 2019-10-25 12:04:17 +03:00
Aleksey Kladov
6f00bb1cb0 introduce SingleFileChange 2019-10-25 11:49:38 +03:00
Aleksey Kladov
b112430ca7 move source change to a dedicated file 2019-10-25 11:30:50 +03:00
Aleksey Kladov
8d2fd59cfb make typing infra slightly more extensible 2019-10-25 11:30:46 +03:00
bors[bot]
518f99e16b
Merge #2065
2065: document feature flags r=matklad a=matklad



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-10-25 06:01:00 +00:00
Aleksey Kladov
dc65219ae1 document feature flags 2019-10-25 09:00:30 +03:00
bors[bot]
c02f1165ca
Merge #2063
2063: Update link to api rustdocs pt.2 r=matklad a=memoryruins

After #2014, the website was updated in #2031, where the docs url changed again.
Checking, there are only two places the api rustdocs link resides currently:
the root readme.md's `# quick links` (which was updated in #2031) and this dev docs readme.

Co-authored-by: memoryruins <memoryruinsmusic@gmail.com>
2019-10-24 21:59:16 +00:00
memoryruins
f28801b094
Update rustdoc link pt.2 2019-10-24 17:01:42 -04:00
bors[bot]
a3a10c59e0
Merge #2062
2062: refactor comment extraction from tasks r=matklad a=matklad



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-10-24 16:30:15 +00:00
Aleksey Kladov
a40d02c9eb refactor comment extraction from tasks 2019-10-24 19:29:38 +03:00
Aleksey Kladov
a409a12f1b simplify 2019-10-24 19:19:22 +03:00
bors[bot]
81677c3232
Merge #2060
2060: bump insta r=matklad a=kjeremy

Dops console 0.8.0

Co-authored-by: kjeremy <kjeremy@gmail.com>
2019-10-24 14:50:46 +00:00
kjeremy
64c1dd10b8 bump insta 2019-10-24 10:35:22 -04:00
bors[bot]
95cf5c86fa
Merge #2059
2059: for highlighting, search only the current file r=matklad a=matklad



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-10-24 11:17:03 +00:00
Aleksey Kladov
4529da906d for highlighting, search only the current file 2019-10-24 14:16:36 +03:00
Aleksey Kladov
6d186ec3be add search scope stuct 2019-10-24 13:41:25 +03:00
bors[bot]
29a31a6639
Merge #2058
2058: add --with-deps option to analysis-stats r=matklad a=matklad



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-10-24 09:32:47 +00:00
Aleksey Kladov
5750ee69ff add --with-deps option to analysis-stats 2019-10-24 12:32:19 +03:00
bors[bot]
018b621f61
Merge #2057
2057: add some profiling calls r=matklad a=matklad



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-10-24 07:37:52 +00:00
Aleksey Kladov
ac1b7b07e7 add some profiling calls 2019-10-24 10:37:20 +03:00
bors[bot]
778f50b147
Merge #2056
2056: don't die if a sync task panics r=matklad a=matklad



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-10-24 06:57:03 +00:00
Aleksey Kladov
418fbc8662 don't die if a sync task panics 2019-10-24 09:56:30 +03:00
bors[bot]
31d84bce3c
Merge #2053
2053: show unaccounted for time in profiling r=matklad a=matklad



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-10-24 06:15:13 +00:00
Aleksey Kladov
baa968e71c show unaccounted for time in profiling 2019-10-24 09:14:33 +03:00
bors[bot]
2197205885
Merge #2050
2050: xtask: don't depend on itertools r=matklad a=matklad



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-10-23 15:57:47 +00:00
Aleksey Kladov
6048d29400 xtask: don't depend on itertools
xtask should be fast to compiler, as it's a gateway to rust-analyzer
2019-10-23 18:57:18 +03:00
Aleksey Kladov
a669049ef3 xtask: fold gen-tests and gen-ast into codegen 2019-10-23 18:57:18 +03:00
Aleksey Kladov
b5f13d8d51 xtask: move codegen to a module 2019-10-23 18:57:18 +03:00
bors[bot]
edf4d8e555
Merge #2049
2049: add couple of profiling calls r=matklad a=matklad

bors r+

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-10-23 15:44:40 +00:00
Aleksey Kladov
f5bf7f29b5 add couple of profiling calls 2019-10-23 18:26:43 +03:00
bors[bot]
a2df005e08
Merge #2048
2048: minor cleanup r=matklad a=matklad



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-10-23 14:42:21 +00:00
Aleksey Kladov
afc6ee251d minor cleanup 2019-10-23 17:41:15 +03:00
bors[bot]
d2e1f9f6da
Merge #1980
1980: Shorten inline type hints r=matklad a=detrumi

Implements #1946 

Co-authored-by: Wilco Kusee <wilcokusee@gmail.com>
2019-10-23 11:13:04 +00:00
Wilco Kusee
770bb8dc9b
Do not truncate the range 2019-10-23 13:11:40 +02:00
bors[bot]
195272270b
Merge #2047
2047: restore assert r=matklad a=matklad



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-10-23 08:31:41 +00:00
Aleksey Kladov
68ea9bd1bf restore assert 2019-10-23 11:31:16 +03:00
bors[bot]
4f4fe14fab
Merge #1892
1892: Find usages r=matklad a=viorina

Fixes #1622.

Co-authored-by: Ekaterina Babshukova <ekaterina.babshukova@yandex.ru>
2019-10-23 08:20:18 +00:00
Ekaterina Babshukova
decfd28bd1 some fixes, add docs 2019-10-23 00:35:06 +03:00
Ekaterina Babshukova
b5a3ee93e2 support items that visible to the parent module 2019-10-22 23:47:31 +03:00
Ekaterina Babshukova
55e1910d00 classify module from declaration 2019-10-22 23:47:31 +03:00
Ekaterina Babshukova
93c179531b fix highlighting 2019-10-22 23:47:31 +03:00