aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge #7001bors[bot]2020-12-221-6/+8
|\ | | | | | | | | | | | | | | | | | | 7001: Add support for downloading aarch64-apple-darwin binaries r=matklad a=lnicola There's also a slight behavior change here: we no longer download our 64-binaries on 32-bit Darwin and Linux. We still do that on Windows, as I don't know how to detect 32-bit Node on 64 Windows. But some people install the 32-bit Code by mistake, I doubt 32-bit Windows is that popular in the Rust crowd. Co-authored-by: Laurențiu Nicola <[email protected]>
| * Add support for downloading aarch64-apple-darwin binaries, change naming ↵Laurențiu Nicola2020-12-221-6/+8
| | | | | | | | convention
* | Fix grammar nitP. Horban2020-12-221-1/+1
| | | | | | Co-authored-by: Laurențiu Nicola <[email protected]>
* | Extension conflict check detests more combinationsPrzemyslaw Horban2020-12-221-5/+15
|/
* Merge #6746bors[bot]2020-12-221-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6746: Feature/add assist extract module to file r=matklad a=sasurau4 Fix #6522 ## Screenshot <img src="https://user-images.githubusercontent.com/13580199/102748269-33a44300-43a5-11eb-9e37-f5fcb8e62f73.gif" width=600 /> ## TODO - [x] Remove all TODO comment - [x] Pass the doc test Co-authored-by: Daiki Ihara <[email protected]>
| * Use workspace applyEdit instead of snippetWorkspaceEditDaiki Ihara2020-12-211-1/+1
| |
* | Don't download x64 binaries on non-Mac arm64Laurențiu Nicola2020-12-211-1/+3
| |
* | Allow code extension to download binary in apple armSon2020-12-211-1/+1
| |
* | Remove outdated FIXMELaurențiu Nicola2020-12-211-3/+2
| |
* | Use /etc/os-release to check for NixOSLaurențiu Nicola2020-12-211-1/+10
|/ | | | | | The motivation in #5641 isn't too strong, but /etc/os-release exists on pretty much every Linux distro, while /etc/nixos sounds like an implementation detail.
* Fixed formattingPrzemyslaw Horban2020-12-181-2/+2
|
* Added a warning if conflicting rust-lang.rust is enabled.Przemyslaw Horban2020-12-181-0/+11
|
* Remove workaround & fix fetch$1 is not a functionKafji2020-12-081-4/+1
| | | | | | | | | Remove workaround for https://github.com/rollup/plugins/issues/491 because it's fixed in 15.0 https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md#v1500. Also fix fetch$1 is not a function error https://github.com/rust-analyzer/rust-analyzer/issues/6757.
* Use vscode-languageclient 7.0.0-next.14kjeremy2020-11-171-0/+2
|
* add open Cargo.toml actionAnatol Liu2020-11-133-0/+28
|
* Switch to upstream protocol for resolving code actionAleksey Kladov2020-11-103-20/+18
| | | | | | Note that we have to maintain custom implementation on the client side: I don't see how to marry bulitin resolve support with groups and snippets.
* Merge #6465bors[bot]2020-11-091-5/+18
|\ | | | | | | | | | | | | | | 6465: Support multiple file edits in AssistBuilder r=matklad a=Veykril Fixes #6459 Co-authored-by: Lukas Wirth <[email protected]>
| * Support multiple workspace editsLukas Wirth2020-11-041-5/+18
| |
* | Restore semantic token flickering workaround removed in #5697Charles Pierce2020-11-041-0/+17
|/
* Smaller inlay hintskjeremy2020-10-281-1/+1
| | | | | | This makes things a lot more readable but isn't officially supported by vscode: https://github.com/Microsoft/vscode/issues/9078 Inspired by Visual Studio, IntelliJ and Resharper.
* Also set textDecoration: none on inlay hintsLaurențiu Nicola2020-10-281-0/+1
|
* Set font-wieght: normal on inlay hintsLaurențiu Nicola2020-10-271-0/+1
|
* Latest proposed LSP 3.16.0kjeremy2020-10-261-3/+2
| | | | Needs: https://github.com/gluon-lang/lsp-types/pull/183
* Check cargoExtraArgs for undefined before usingfeileacan2020-10-181-1/+3
|
* Insert a ZWNJ before type hintsLaurențiu Nicola2020-10-151-2/+4
|
* Fix resolveCodeAction requestLaurențiu Nicola2020-10-131-2/+2
|
* Differentiate method/tymethod by determining 'defaultness'Zac Pullar-Strecker2020-10-081-1/+1
| | | | | | | | | 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 supportZac Pullar-Strecker2020-10-082-4/+4
|
* Changes from reviewZac Pullar-Strecker2020-10-081-10/+1
|
* WIP: Command to open docs under cursorZac Pullar-Strecker2020-10-083-2/+35
|
* Support 'runnables' options in the vs code extensionIgor Aleksanov2020-10-023-1/+13
|
* Extend **Status** command to also show dep info for the fileAleksey Kladov2020-09-292-8/+16
| | | | This should help with troubleshooting wrong project configuration
* Add method references CodeLensvsrs2020-09-291-0/+1
|
* Fix lintMatthias Einwag2020-09-231-1/+1
|
* Move unlink on download into download functionMatthias Einwag2020-09-232-11/+11
| | | | | Since this is required by all callsites its easier to have it in the function itself.
* Remane functionMatthias Einwag2020-09-231-5/+5
|
* Use closure in trailing position and strongly type header mapMatthias Einwag2020-09-232-18/+21
|
* Apply suggestions from code reviewMatthias Einwag2020-09-231-1/+1
| | | Co-authored-by: Veetaha <[email protected]>
* Remove stray newlineMatthias Einwag2020-09-231-1/+0
|
* Fix clearing the tokenMatthias Einwag2020-09-231-3/+8
| | | | | | | The previous version would have interpreted an empty token as an abort of the dialog and would have not properly cleared the token. This is now fixed by checking for `undefined` for a an abort and by setting the token to `undefined` in order to clear it.
* Add a command for updating the Github API tokenMatthias Einwag2020-09-231-0/+4
|
* Use retry dialog also for downloadsMatthias Einwag2020-09-231-20/+30
| | | | | | Since the change already implements a retry dialog for network operations, let's also use it for allowing to retry the actual file.
* Fix tslintMatthias Einwag2020-09-231-2/+2
|
* Allow to use a Github Auth token for fetching releasesMatthias Einwag2020-09-233-4/+72
| | | | | | | | | | | | | | | | | | | This change allows to use a authorization token provided by Github in order to fetch metadata for a RA release. Using an authorization token prevents to get rate-limited in environments where lots of RA users use a shared client IP (e.g. behind a company NAT). The auth token is stored in `ExtensionContext.globalState`. As far as I could observe through testing with a local WSL2 environment that state is synced between an extension installed locally and a remote version. The change provides no explicit command to query for an auth token. However in case a download fails it will provide a retry option as well as an option to enter the auth token. This should be more discoverable for most users. Closes #3688
* Fix LSP requests with no argumentsLaurențiu Nicola2020-09-172-6/+6
|
* Fix delimiter in SSR exampleLaurențiu Nicola2020-09-151-1/+1
|
* Move to vscode-languageclient 7.0.0-next.9kjeremy2020-09-024-18/+9
| | | | Stabilizes call hierarchy and semantic tokens features.
*-. Merge #5910 #5912bors[bot]2020-08-292-2/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5910: Fix some typos r=matklad a=SomeoneToIgnore 5912: Remove fixme from inlay_hints.ts r=matklad a=Veetaha I have reevaluated the fixme and it doesn't seem necessary to pass an array of files to the inlay hints request. This will (a) make the request more compilcated (b), make us wait for inlay hints for `all` active editors resolve at once before rendering and (c) doesn't seem required because 99% of the time there is a single active editor in the IDE Co-authored-by: Kirill Bulatov <[email protected]> Co-authored-by: Veetaha <[email protected]>
| | * Remove fixme from inlay_hints.tsVeetaha2020-08-291-1/+0
| |/ |/| | | | | | | | | | | | | | | I have reevaluated the fixme and it doesn't seem necessary to pass an array of files to the inlay hints request. This will (a) make the request more compilcated (b), make us wait for inlay hints for `all` active editors resolve at once before rendering and (c) doesn't seem required because 99% of the time there is a single active editor in the IDE
| * Fix some typosKirill Bulatov2020-08-281-1/+1
|/