aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | If possible, use --exact flag when running testsKirill Bulatov2020-02-144-32/+101
| | | | | | |
| | | | | | |
| \ \ \ \ \ \
*-. \ \ \ \ \ \ Merge #3177 #3178bors[bot]2020-02-174-52/+74
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3177: Update debug docs r=matklad a=Veetaha Updated `debugging.md` file, added two useful demo videos. 3178: vscode: minor refactorings r=matklad a=Veetaha Very minor Co-authored-by: Veetaha <[email protected]> Co-authored-by: Veetaha <[email protected]>
| | * | | | | | | vscode: minor refactoringsVeetaha2020-02-173-30/+28
| | | | | | | | |
| | * | | | | | | vscode: add comment on possible UnhandledPromise rejection errorVeetaha2020-02-161-1/+3
| | | |/ / / / / | | |/| | | | |
| * | | | | | | docs: Fix grammar mistakesVeetaha2020-02-161-4/+4
| | | | | | | |
| * | | | | | | Fix typoVeetaha2020-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Laurențiu Nicola <[email protected]>
| * | | | | | | Remove ptrace noteVeetaha2020-02-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Laurențiu Nicola <[email protected]>
| * | | | | | | Add more verbose descriptionVeetaha2020-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Laurențiu Nicola <[email protected]>
| * | | | | | | Add the articleVeetaha2020-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Laurențiu Nicola <[email protected]>
| * | | | | | | Reworded abitVeetaha2020-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Laurențiu Nicola <[email protected]>
| * | | | | | | Add an articleVeetaha2020-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Laurențiu Nicola <[email protected]>
| * | | | | | | Migrate from 'npm i' to 'npm install'Veetaha2020-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Laurențiu Nicola <[email protected]>
| * | | | | | | Make Rust Great AgainVeetaha2020-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Laurențiu Nicola <[email protected]>
| * | | | | | | Apply better wording as per lnicolaVeetaha2020-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Laurențiu Nicola <[email protected]>
| * | | | | | | Add the articleVeetaha2020-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Laurențiu Nicola <[email protected]>
| * | | | | | | docs: fix typoVeetaha2020-02-161-1/+1
| | | | | | | |
| * | | | | | | docs: update debugging.md with the freshest VSCode debugging informationVeetaha2020-02-161-18/+43
| | | | | | | |
| * | | | | | | docs: remove obsolescence notice in debugging.mdVeetaha2020-02-161-2/+0
| |/ / / / / /
* | | | | | | Merge #3179bors[bot]2020-02-174-80/+130
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3179: Introduce AsMacroCall trait r=matklad a=edwin0cheng This PR introduce `AsMacroCall` trait to help convert `ast::MacroCall` to `MacroCallId`. The main goal here is to centralize various conversions to single place and make implementing eager macro calls without further ado. ```rust pub trait AsMacroCall { fn as_call_id( &self, db: &(impl db::DefDatabase + AstDatabase), resolver: impl Fn(path::ModPath) -> Option<MacroDefId>, ) -> Option<MacroCallId>; } ``` Co-authored-by: Edwin Cheng <[email protected]>
| * | | | | | Introduce AsMacroCall traitEdwin Cheng2020-02-174-80/+130
| | | | | | |
* | | | | | | Merge #3175bors[bot]2020-02-161-10/+16
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3175: vscode: skip node internals while debugging r=matklad a=Veetaha Before: ![without-skip-files](https://user-images.githubusercontent.com/36276403/74610221-de9aff00-50f9-11ea-81bb-73dce8ca7acc.gif) After: ![with-skip-files](https://user-images.githubusercontent.com/36276403/74610222-e22e8600-50f9-11ea-980b-e8d098ee82b4.gif) Co-authored-by: Veetaha <[email protected]>
| * | | | | | | vscode: apply lnicolas amendments to comments in launch.jsonVeetaha2020-02-161-7/+8
| | | | | | | |
| * | | | | | | vscode: remove extra comment loneVeetaha2020-02-161-1/+0
| | | | | | | |
| * | | | | | | vscode: skip node internals while debuggingVeetaha2020-02-161-5/+11
|/ / / / / / /
* | | | | | | Merge #3174bors[bot]2020-02-161-1/+17
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3174: Added description and disable-extensions r=matklad a=Fihtangolz Co-authored-by: Dmitry <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | | | Apply suggestions from code reviewAleksey Kladov2020-02-161-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Laurențiu Nicola <[email protected]>
| * | | | | | | Merge remote-tracking branch 'origin/master'Dmitry2020-02-1647-1263/+1415
| |\ \ \ \ \ \ \
| * | | | | | | | Added short description and disable-extensions Dmitry2020-02-161-1/+16
| | | | | | | | |
* | | | | | | | | Merge #3173bors[bot]2020-02-161-1/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3173: vscode: fix stupid mistake of mine r=matklad a=Veetaha Shame on me... Fixes #3056 Co-authored-by: Veetaha <[email protected]>
| * | | | | | | | | vscode: fix stupid mistakeVeetaha2020-02-161-1/+1
| | | | | | | | | |
* | | | | | | | | | Merge #3172bors[bot]2020-02-162-32/+54
|\ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3172: 1-based columns r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | | | | | 1-based columnsAleksey Kladov2020-02-161-1/+1
| | | | | | | | | |
| * | | | | | | | | Support goto def in bencesAleksey Kladov2020-02-162-13/+29
| | | | | | | | | |
| * | | | | | | | | Refactor arg parsingAleksey Kladov2020-02-161-11/+8
| | | | | | | | | |
| * | | | | | | | | Refactor position parsingAleksey Kladov2020-02-162-19/+28
| | | | | | | | | |
* | | | | | | | | | Merge #3171bors[bot]2020-02-163-6/+10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3171: Enable profiling for bench r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | | | | | Enable profiling for benchAleksey Kladov2020-02-163-6/+10
|/ / / / / / / / /
* | | | | | | | | Merge #3170bors[bot]2020-02-163-0/+3
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3170: Add module colors to css r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | | | | | Add module colors to cssAleksey Kladov2020-02-163-0/+3
| |/ / / / / / / /
* | | | | | | | | Merge #3168bors[bot]2020-02-161-6/+6
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3168: vscode: update exclusiveMinimum validation according to JSONSchemaV4 r=Veetaha a=Veetaha It seems that vscode uses 4+ version of json schema where `exclusiveMinimum` [was changed to be a boolean](http://json-schema.org/understanding-json-schema/reference/numeric.html#7f93d6925e80_Draft%204) Co-authored-by: Veetaha <[email protected]>
| * | | | | | | | vscode: added minimum bound for lruCapacity optionVeetaha2020-02-161-0/+2
| | | | | | | | |
| * | | | | | | | vscode: fix all integer -> number and add nullablitiy to maxInlayHintLengthVeetaha2020-02-161-5/+2
| | | | | | | | |
| * | | | | | | | vscode: update exclusiveMinimum validation according to JSONSchemaV4 specsVeetaha2020-02-161-1/+2
|/ / / / / / / /
* | | | | | | | Merge #3165bors[bot]2020-02-162-0/+24
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3165: Fix coercion of &T to itself r=matklad a=flodiebold The autoderef coercion logic did not handle matching placeholders. This led to some type mismatches. Co-authored-by: Florian Diebold <[email protected]>
| * | | | | | | | Fix coercion of &T to itselfFlorian Diebold2020-02-162-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The autoderef coercion logic did not handle matching placeholders. This led to some type mismatches.
* | | | | | | | | Merge #3162bors[bot]2020-02-169-108/+179
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3162: Feature: vscode always downloads only the matching ra_lsp_server version r=matklad a=Veetaha I tried to separate logically connected changes into separate commits, so enjoy! Now TypeScript extension saves installed binary version in global state and always checks that the installed binary version equals the version of the TypeScript extension itself (to prevent version drifts). Also, changed `fetchLatestArtifactReleaseInfo()` to `fetchArtifactReleaseInfo()` that takes an optional release tag (when not specified fetches the latest release). The version without a release tag will be useful in the future when adding auto-checking for updates. I decided not to do `Download latest language server` command (I have stated the rationale for this in #3073) and let the extension itself decide which version of the binary it wants. This way the users will be able to get the latest `ra_lsp_server` binary after the approaching 2020-02-17 release, without having to manually delete the outdated one from `~/.config/Code/User/globalStorage/matklad.rust-analyzer`! Closes #3073 Co-authored-by: Veetaha <[email protected]>
| * | | | | | | | vscode: updated user docs vscode updates sectionVeetaha2020-02-161-4/+3
| | | | | | | | |
| * | | | | | | | vscode: save binary version when downloading and download only version that ↵Veetaha2020-02-161-96/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | matches TypeScript extension version
| * | | | | | | | vscode: extract downloadArtifact() functionVeetaha2020-02-161-0/+58
| | | | | | | | |
| * | | | | | | | vscode: add release tag option to fetchArtifactReleaseInfo()Veetaha2020-02-161-5/+11
| | | | | | | | |