aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Adding all the decorators from RA to map.Seivan Heidari2019-10-271-0/+6
| | | | Useful for more granular control.
* Introducing a Scopes Mapper to map from RA scopes to TextMate scopes with ↵Seivan Heidari2019-10-274-13/+60
| | | | | | | | | | | | | | | | | | | | | | fallbacks. Current scopes defined: ``` ['keyword.unsafe', ['storage.modifier', 'keyword.other', 'keyword.control']], ['function', ['entity.name.function']], ['parameter', ['variable.parameter']], ['type', ['entity.name.type']], ['builtin', ['variable.language', 'support.type', 'support.type']], ['text', ['string', 'string.quoted', 'string.regexp']], ['attribute', ['keyword']], ['literal', ['string', 'string.quoted', 'string.regexp']], ['macro', ['support.other']], ['variable.mut', ['variable']], ['field', ['variable.object.property']], ['module', ['entity.name.section']] ``` Need to complement with further fallbacks as some themes fail.
* Refactor how themes are found in packages without relying on parsing JSONC.Seivan Heidari2019-10-262-24/+19
| | | | | However, there is still an issue where themes could have been defined in JSONC - but so far with testing very few of them actually do. The issue was in loading packages and now we're letting VSCode tackle that. Fix: https://github.com/rust-analyzer/rust-analyzer/pull/2061#discussion_r339015610
* Merge branch 'master' into feature/themesSeivan Heidari2019-10-263-31/+14
|\
| * Merge #2060bors[bot]2019-10-243-31/+14
| |\ | | | | | | | | | | | | | | | | | | | | | 2060: bump insta r=matklad a=kjeremy Dops console 0.8.0 Co-authored-by: kjeremy <[email protected]>
| | * bump instakjeremy2019-10-243-31/+14
| |/
* | Making it clear we're using default settings.Seivan Heidari2019-10-241-11/+7
| |
* | Fixing linting issues, but also hides failures. Has to be a better approach ↵Seivan Heidari2019-10-241-3/+3
| | | | | | | | to error handling.
* | Only loading `tokenColorCustomizations` once.Seivan Heidari2019-10-241-4/+4
| |
* | Proof of concept theming and 'tokenColorCustomizations' support.Seivan Heidari2019-10-246-35/+231
|/
* Merge #2059bors[bot]2019-10-245-35/+135
|\ | | | | | | | | | | | | | | 2059: for highlighting, search only the current file r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * for highlighting, search only the current fileAleksey Kladov2019-10-245-29/+112
| |
| * add search scope stuctAleksey Kladov2019-10-241-13/+30
| |
* | Merge #2058bors[bot]2019-10-242-8/+10
|\ \ | |/ |/| | | | | | | | | | | 2058: add --with-deps option to analysis-stats r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * add --with-deps option to analysis-statsAleksey Kladov2019-10-242-8/+10
|/
* Merge #2057bors[bot]2019-10-243-0/+10
|\ | | | | | | | | | | | | | | 2057: add some profiling calls r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * add some profiling callsAleksey Kladov2019-10-243-0/+10
|/
* Merge #2056bors[bot]2019-10-241-6/+10
|\ | | | | | | | | | | | | | | 2056: don't die if a sync task panics r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * don't die if a sync task panicsAleksey Kladov2019-10-241-6/+10
|/
* Merge #2053bors[bot]2019-10-241-3/+20
|\ | | | | | | | | | | | | | | 2053: show unaccounted for time in profiling r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * show unaccounted for time in profilingAleksey Kladov2019-10-241-3/+20
|/
* Merge #2050bors[bot]2019-10-2313-544/+576
|\ | | | | | | | | | | | | | | 2050: xtask: don't depend on itertools r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * xtask: don't depend on itertoolsAleksey Kladov2019-10-233-19/+22
| | | | | | | | xtask should be fast to compiler, as it's a gateway to rust-analyzer
| * xtask: fold gen-tests and gen-ast into codegenAleksey Kladov2019-10-234-11/+4
| |
| * xtask: move codegen to a moduleAleksey Kladov2019-10-239-533/+569
|/
* Merge #2049bors[bot]2019-10-231-0/+4
|\ | | | | | | | | | | | | | | 2049: add couple of profiling calls r=matklad a=matklad bors r+ Co-authored-by: Aleksey Kladov <[email protected]>
| * add couple of profiling callsAleksey Kladov2019-10-231-0/+4
| |
* | Merge #2048bors[bot]2019-10-231-18/+36
|\ \ | |/ |/| | | | | | | | | | | 2048: minor cleanup r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * minor cleanupAleksey Kladov2019-10-231-18/+36
|/
* Merge #1980bors[bot]2019-10-233-1/+28
|\ | | | | | | | | | | | | | | 1980: Shorten inline type hints r=matklad a=detrumi Implements #1946 Co-authored-by: Wilco Kusee <[email protected]>
| * Do not truncate the rangeWilco Kusee2019-10-231-30/+10
| |
| * Make inlay hint length configurableWilco Kusee2019-10-183-14/+37
| |
| * Truncate hints longer than 20 charactersWilco Kusee2019-10-101-4/+28
| |
* | Merge #2047bors[bot]2019-10-231-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 2047: restore assert r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | restore assertAleksey Kladov2019-10-231-0/+1
|/ /
* | Merge #1892bors[bot]2019-10-2314-449/+1075
|\ \ | | | | | | | | | | | | | | | | | | | | | 1892: Find usages r=matklad a=viorina Fixes #1622. Co-authored-by: Ekaterina Babshukova <[email protected]>
| * | some fixes, add docsEkaterina Babshukova2019-10-225-72/+73
| | |
| * | support items that visible to the parent moduleEkaterina Babshukova2019-10-223-5/+68
| | |
| * | classify module from declarationEkaterina Babshukova2019-10-224-9/+44
| | |
| * | fix highlightingEkaterina Babshukova2019-10-223-2/+3
| | |
| * | remove SearchScopeEkaterina Babshukova2019-10-222-10/+6
| | |
| * | use Lazy, some fixesEkaterina Babshukova2019-10-2210-43/+51
| | |
| * | remove `unreachable!()`Ekaterina Babshukova2019-10-224-15/+18
| | |
| * | replace trait by a bunch of functionsEkaterina Babshukova2019-10-229-330/+227
| | |
| * | restructure a bitEkaterina Babshukova2019-10-2211-700/+870
| | |
| * | classify definition of a function rightEkaterina Babshukova2019-10-221-0/+3
| | |
| * | make `handle_references` accept refs from other filesEkaterina Babshukova2019-10-221-4/+9
| | |
| * | some fixes, add testsEkaterina Babshukova2019-10-223-39/+52
| | |
| * | implement search of referencesEkaterina Babshukova2019-10-223-76/+134
| | |
| * | find scope for `Declaration` itemEkaterina Babshukova2019-10-224-46/+86
| | |