Commit Graph

8730 Commits

Author SHA1 Message Date
Matt Bierner
81c95f2e5c Prompt user to report issue after single fatal error on insiders 2020-03-04 19:25:15 -08:00
Miguel Solorio
573fe9e800 Update npm scripts explorer to use codicons (ref #90911) 2020-03-04 16:13:36 -08:00
Matt Bierner
022b6c6d23 Use customtexteditor for markdown editor 2020-03-04 14:14:31 -08:00
Martin Aeschlimann
1a55cd072a improve fileMatch descriptions for exclusion patterns 2020-03-04 09:56:33 +01:00
Matt Bierner
2057e931c8 Refactoring version picker
- Rename `versionPicker` -> `versionManager`
- Simplify running of picked items
- Cleaning up interfaces
- 💄
2020-03-03 17:12:40 -08:00
Matt Bierner
3f0aeab1ca Display more information in the TS version status bar item
For #91510

Switching TS versions is fairly uncommon, so repurpose the status bar entry to have additional project commands in it (including the ability to switch TS versions)
2020-03-03 17:12:40 -08:00
Alex Ross
2f6da279c7 Update grammars 2020-03-03 16:20:05 +01:00
Jackson Kearl
2158b1aa65 [Search Editor] Align results from the same file 2020-03-02 16:28:45 -08:00
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
jeanp413
b0a50321f7 Fixes #91871 2020-03-01 22:16:17 -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