Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #4083 | bors[bot] | 2020-05-13 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4083: Smol documentation for ast nodes r=matklad a=Veetaha There is a tremendous amount of TODOs to clarify the topics I am not certain about. Please @matklad, @edwin0cheng review carefully, I even left some mentions of your names in todos to put your attention where you most probably can give comments. In order to simplify the review, I separated the codegen (i.e. changes in `ast/generated/nodes.rs`) from `ast_src` changes (they in fact just duplicate one another) into two commits. Also, I had to hack a little bit to let the docs be generated as doc comments and not as doc attributes because it's easier to read them this way and IIRC we don't support hints for `#[doc = ""]` attributes for now... Closes #3682 Co-authored-by: veetaha <[email protected]> | ||||
| * | Fix "show syntax tree" command | veetaha | 2020-05-10 | 1 | -1/+1 |
| | | | | | | | | @matlkad please don't forget to keep it up-to-date! | ||||
* | | Word fix | Edwin Cheng | 2020-05-10 | 1 | -1/+1 |
|/ | |||||
* | Refactor the workaround a bit | veetaha | 2020-04-22 | 1 | -19/+16 |
| | |||||
* | Work around crlf in syntax tree | veetaha | 2020-04-22 | 1 | -2/+38 |
| | |||||
* | vscode: postrefactor | veetaha | 2020-04-02 | 1 | -12/+6 |
| | |||||
* | vscode: postrefactor variable names | veetaha | 2020-04-02 | 1 | -8/+8 |
| | |||||
* | vscode: add goto definition from rust file to syntax tree editor | veetaha | 2020-04-02 | 1 | -5/+83 |
| | |||||
* | Merge #3817 | bors[bot] | 2020-04-02 | 1 | -1/+4 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3817: vscode: highlight syntax tree ro editor r=matklad a=Veetaha Small textmate grammar declaration to make rust-analyzer syntax tree more easily inspectable: Btw, if we change the file extension of our `ra_syntax/test_data/**` files to `.rast` they should be highlighted in vscode too. The colors of the tokens are actually going to be color-theme dependent, or you can customize them via: ```jsonc { "editor.tokenColorCustomizations": { "textMateRules": [ { "scope": "name", "settings": { /* */ } } ] } } ``` ![image](https://user-images.githubusercontent.com/36276403/78204947-99f9d600-74a3-11ea-8315-cb1c87810c7c.png) Related: #3682 Co-authored-by: veetaha <[email protected]> | ||||
| * | vscode: add highlighting of syntax tree | veetaha | 2020-04-02 | 1 | -1/+4 |
| | | |||||
* | | vscode: add support for light themes and color customization for syntax tree ↵ | veetaha | 2020-04-01 | 1 | -2/+4 |
|/ | | | | highlights | ||||
* | vscode: small refactor | veetaha | 2020-03-31 | 1 | -1/+1 |
|\ | |||||
| * | vscode: apply review nits | Veetaha | 2020-03-31 | 1 | -1/+1 |
| | | |||||
* | | vscode: scroll to the syntax node in rust editor when highlighting | veetaha | 2020-03-31 | 1 | -1/+2 |
|/ | |||||
* | vscode: use ctx.subscriptions instead of local .disposables | veetaha | 2020-03-31 | 1 | -15/+12 |
| | |||||
* | vscode: add syntax tree inspection hovers and highlights | veetaha | 2020-03-31 | 1 | -53/+116 |
| | |||||
* | Centralize the check for languageId on document | Julien Roncaglia | 2020-03-02 | 1 | -2/+3 |
| | | | | Also move visibleRustEditors to Ctx | ||||
* | vscode: migrate syntax_tree to rust-analyzer-api.ts | Veetaha | 2020-02-24 | 1 | -20/+7 |
| | |||||
* | Simplify some more ctors | Aleksey Kladov | 2020-02-17 | 1 | -3/+1 |
| | |||||
* | vscode: eliminate floating promises and insane amount of resource handle leaks | Veetaha | 2020-02-05 | 1 | -0/+2 |
| | |||||
* | vscode: use void where possible | Veetaha | 2020-02-02 | 1 | -1/+1 |
| | |||||
* | vscode extension: migrate from any to unknown where possible | Veetaha | 2020-02-02 | 1 | -1/+1 |
| | |||||
* | Add semicolons | Aleksey Kladov | 2019-12-31 | 1 | -1/+1 |
| | |||||
* | Fix NPEs | Aleksey Kladov | 2019-12-31 | 1 | -5/+4 |
| | |||||
* | Reformat with tsfmt | Aleksey Kladov | 2019-12-30 | 1 | -2/+2 |
| | |||||
* | Move expand macro to the new context | Aleksey Kladov | 2019-12-30 | 1 | -4/+3 |
| | |||||
* | Cleanup | Aleksey Kladov | 2019-12-30 | 1 | -10/+10 |
| | |||||
* | Refactor show syntax tree action | Aleksey Kladov | 2019-12-30 | 1 | -0/+106 |