Commit Graph

8569 Commits

Author SHA1 Message Date
Rachel Macfarlane b2b488fa43 Only write config file during postinstall if process env variables are present (#91793) 2020-03-02 12:45:33 -08:00
Matt Bierner 6e30cf38a7 Mark markdown comment folding regions as comments
Fixes #91271
2020-03-02 11:26:29 -08:00
Eric Amodio d1c1e27028 Changes limit to take a cursor object — #91722 2020-03-02 04:35:43 -05:00
Eric Amodio a5225d02a8 Limits schemes for Git timeline provider 2020-03-01 11:32:59 -05:00
Eric Amodio 634522a6ed Fixes #91381 2020-03-01 11:32:18 -05:00
Matt Bierner d685711e7c Pick up TS 3.8.3 2020-02-28 14:45:36 -08:00
Matt Bierner d4dc9e09a2 Fix command being set twice in object 2020-02-28 14:45:35 -08:00
Andrew Branch 23850c7990 [typescript-language-features] Add importModuleSpecifierEnding preference (#90405)
* Expose importModuleSpecifierEnding to typescript-language-features

* Add default `auto` setting

* Use string 'auto' for auto setting

* Work with TypeScript 3.8
2020-02-28 11:20:50 -08:00
Martin Aeschlimann 40cd953770 Turn off JSON item resolving. Fixes #91747 2020-02-28 11:47:10 +01:00
Rachel Macfarlane b77929959c Log additional information when getting auth token 2020-02-27 10:12:12 -08:00
Eric Amodio d983fe6014 Fixes bad encoding in title - ref #91377 2020-02-27 11:23:45 -05:00
Joao Moreno 96dfec43ee fixes #90934 2020-02-27 09:58:06 +01:00
Joao Moreno 04c9b01aff fixes #91466 2020-02-27 09:24:38 +01:00
Joao Moreno 50ec1b1b33 fixes #91070 2020-02-27 08:37:34 +01:00
Matt Bierner e4beca6b31 Remove TS 3.7 protocol workaround 2020-02-26 16:04:27 -08:00
Matt Bierner 027da88563 Use constant 2020-02-26 16:03:10 -08:00
Rachel Macfarlane eee9122c87 accessToken -> getAccessToken, fixes #91570 2020-02-26 15:25:01 -08:00
Rachel Macfarlane 7a13028b70 Lowercase auth provider ids, fixes #91538 2020-02-26 15:06:53 -08:00
Matt Bierner dc68e6578e rename custom editor activation event
For #77131

Renames the activation event from `onWebviewEditor` to `onCustomEditor` to be consistent with the reset of the API
2020-02-26 10:59:36 -08:00
Rachel Macfarlane 3e4cb8f683 Sign out -> Sign Out, fixes #91577 2020-02-26 09:30:25 -08:00
Rachel Macfarlane 5ffbdc7077 Add notification on sign out, fixes #91481 2020-02-26 09:27:51 -08:00
Matt Bierner dc1e7871b8 Rename custom editor contribution point
Renaming to match new API proposal
2020-02-25 10:55:41 -08:00
Matt Bierner 8291f8c152 Polishing of custom editor api proposal for 1.43 release
For #77131
2020-02-25 10:55:41 -08:00
Rachel Macfarlane 858457d2e6 Fix rehydrating of GitHub auth provider data 2020-02-25 10:38:42 -08:00
Rachel Macfarlane dbbd3adf67 Fix trailing comma in MSA auth provider 2020-02-25 09:38:36 -08:00
Christof Marti ee15fadc51 Change the casing of dockerFile to dockerfile (microsoft/vscode-remote-release#2422) 2020-02-25 17:12:01 +01:00
Eric Amodio 89cafb24e5 Localizes timeline strings 2020-02-24 22:56:45 -05:00
Matt Bierner a10e4cb911 Make sure we set the correct replacement range for dot member completions
Fixes #91105
2020-02-24 15:53:13 -08:00
Matt Bierner 3c030d7014 Add extra guard on restarting TS server on fatal crash 2020-02-24 15:12:57 -08:00
Matt Bierner 6ff3d9c899 Auto restart TS Server on watch options change 2020-02-24 15:12:57 -08:00
Eric Amodio d46c8a8c3c Lots of timeline related changes, below
UI:
Adds Refresh icon to view title
Adds "Load more" entry at the end of the list for paging

API:
Restructures api around cursors
Renames TimelineCursor to generic TimelineOptions for more flexibility
Adds paging object to Timeline for clearer paging usage
Changes cursors to be strings, and explicit before and after cursors
Allows limit to take a cursor, so we can reload current data set
Clarifies id and fallback to timestamp
Adds reset flag to TimelineChangeEvent for providers to reset caching

Git provider:
Orders and returns commit date as the timestamp
Supports limit of a cursor (using rev-list --count)
Stops returning working/index changes when paging
Forcably resets cached data when changes are detected (naive for now)
2020-02-24 15:48:37 -05:00
Miguel Solorio e8237e7231 Update auth page branding 2020-02-24 11:19:07 -08:00
Rachel Macfarlane bf0a32e729 Add support for other vscode environments for github auth 2020-02-24 11:14:11 -08:00
Martin Aeschlimann 75c47b7505 [html] update dependencies 2020-02-23 13:54:54 +01:00
Martin Aeschlimann efe562c3df [css] update dependencies 2020-02-23 13:44:03 +01:00
Christof Marti e943540509 Schema update (microsoft/vscode-remote-release#1045) 2020-02-23 11:51:55 +01:00
Christof Marti 1a03d6b5fc Schema update (microsoft/vscode-remote-release#46) 2020-02-23 11:48:34 +01:00
João Moreno acd7bb922a Merge pull request #91155 from microsoft/joao/refactor-build
Refactor build
2020-02-22 09:56:09 +01:00
Matt Bierner 99d5733e5f New iteration of webview editor API proposal
For #77131

**Motivation**
While our existing webview editor API proposal more or less works, building an editable webview editor is fairly tricky using it! This is especially true for simple text based editors.

It'd also be nice if we could get bi-directional live editing for text files. For example, if I open the same file in a webview editor and in VS Code's normal editor, edits on either side should be reflected in the other. While this can sort of be implemented using the existing API, it has some big limitations

**Overview of changes**
To address these problems, we've decided have two types of webview editors:

- Text based webview editors. These editors used a `TextDocument` as their data model, which considerably simplifies implementing an editable webview. In almost all cases, this should be what you use for text files

- Complex webview editors. This is basically the existing proposed API. This gives extension hooks into all the VS Code events, such as `save`, `undo`, and so on. These should be used for binary files or in very complex text editor cases.

Both editor types now have an explicit model layer based on documents. Text editor use `TextDocument` for this, while custom editors use `WebviewEditorCustomDocument`. This replaces the delegate based approach previously used.
2020-02-21 16:26:01 -08:00
Joao Moreno cc5dd0c98b refactor build 2020-02-21 15:30:01 +01:00
Martin Aeschlimann b2e0925ba1 update jsonc-parser 2020-02-21 15:03:33 +01:00
Martin Aeschlimann d3d3e8c311 [json] update dependencies 2020-02-21 10:49:58 +01:00
Martin Aeschlimann cfc07ec7aa [json] "Format document" on a large JSON file adds extra bracket Fixes #91125 2020-02-21 09:36:54 +01:00
Martin Aeschlimann f8188579a3 Merge pull request #90960 from Helloimbob/patch-1
Autodetect csh script as shellscript
2020-02-20 23:36:57 -08:00
Matt Bierner 9c0899f286 Pick up TS 3.8.2 2020-02-20 21:38:14 -08:00
Matt Bierner d17a017c0b Fix formatting and version for TS Server issue report 2020-02-20 21:34:20 -08:00
Rachel Macfarlane 167c422e4b Handle no github auth config 2020-02-20 14:38:10 -08:00
Helloimbob 59391f4636 Merge branch 'master' into patch-1 2020-02-20 21:01:59 +00:00
Rachel Macfarlane eed39324b6 Add GitHub authentication provider extension, closes #90384 2020-02-20 10:56:16 -08:00
Matt Bierner 0b3aa0a6ea Let extensions prepopulate the issue reporter title and description (#91039)
* Let extensions prepopulate the issue reporter title and description

Fixes #91028

Adds two new optional arguments to the `vscode.openIssueReporter` command: `issueTitle` and `issueBody`. These are taken using an options object and are used to pre-populate the native issue reporter fields

Hooks up these fields for TypeScript's report issue prompt. We use this to post the most recent TS Server error stack

* Extract duplicate command id to constant

* Log version directly instead of prompting users for it
2020-02-20 10:31:09 -08:00