Commit graph

8640 commits

Author SHA1 Message Date
Pine Wu a8ff40791d Revert "Fix failed integration tests"
This reverts commit 0a36d4c82b.
2020-03-06 00:30:07 -08:00
Pine Wu 4857a9a746 Revert "Fix integration test"
This reverts commit 5a0ab960f0.
2020-03-06 00:29:57 -08:00
Matt Bierner be9c791caa Extract toSymbolInformation 2020-03-05 13:30:52 -08:00
Matt Bierner f062556992 Limit number of pulled in workspace symbols
Fixes #11432
2020-03-05 13:30:52 -08:00
Matt Bierner 9cc4da7503 💄 2020-03-05 12:52:18 -08:00
Pine Wu 5a0ab960f0 Fix integration test 2020-03-05 12:41:06 -08:00
Matt Bierner eca0690ba0
Allow issue reporter to work on built-in extensions (#92040)
Fixes #91029
2020-03-05 12:15:23 -08:00
Pine Wu 0a36d4c82b Fix failed integration tests 2020-03-05 12:03:55 -08:00
Pine Wu ea2f6c6391 Fix #87493 2020-03-05 11:59:02 -08:00
Pine Wu 67e6aef0c8 Fix #73803 2020-03-05 11:34:58 -08:00
Miguel Solorio 6b745dace7 Use codicons in scm 2020-03-05 11:24:32 -08:00
Jackson Kearl ea91347c6b Add .yml syntax hilighting. Closes #92027. 2020-03-05 09:32:53 -08:00
isidor 5cf50df3be debug: reanable tests. Use 2 retries 2020-03-05 17:50:16 +01:00
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
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
Erich Gamma e77c58dd0b Inform user when 'npm.autoDetect' is off. 2020-02-20 16:17:18 +01:00
Martin Aeschlimann 12770d4fed update typescript semantic highlighting 2020-02-20 15:35:50 +01:00
Martin Aeschlimann 66f525f435 [ts] enumMember missing in token legend 2020-02-20 10:31:14 +01:00
Rachel Macfarlane 88044f2cc6 Add sign in/sign out commands from Microsoft auth provider, fixes #90988 2020-02-19 11:49:42 -08:00
Sandeep Somavarapu 00ad0a9372 Fix #90931 2020-02-19 13:39:19 +01:00
Joao Moreno d43bb97bb0
git: contribute Clone to explorer 2020-02-19 12:23:02 +01:00
Joao Moreno e7ebb137b7
git: easy case for git init 2020-02-19 11:59:27 +01:00
Joao Moreno 27606615ba
rewrite 2020-02-19 11:59:25 +01:00
Matt Bierner 2aced89ae1 Show more clear TS Version picker when reinstalling a different TS version locally
- Make sure that `TypeScriptVersion` is immutable by getting and caching `apiVersion` on init
- Only show dot next to currently active version if both path and api versions match
2020-02-18 19:16:56 -08:00
Rachel Macfarlane 7302c88f21 Propogate login error, fixes #89518 2020-02-18 11:33:16 -08:00
Rachel Macfarlane df3ae4adef Refresh auth tokens when server returns 401, fixes #89629 2020-02-18 10:46:49 -08:00
Joao Moreno acb9817a8d
too many conditions 2020-02-18 16:37:52 +01:00
Joao Moreno 913c256bb3
fixes #90705 2020-02-18 16:36:10 +01:00
Martin Aeschlimann 27aaa79d52 Don't use rootPath in built-in extension. For #90562 2020-02-18 14:24:11 +01:00
Joao Moreno 595f98455b
fix git tests 2020-02-18 13:56:16 +01:00
Joao Moreno fe884b305e
Revert "Revert "Fix #88294 Add commitData in commit interface""
This reverts commit aa70f38ab2.
2020-02-18 12:56:07 +01:00
Alex Dima aa70f38ab2
Revert "Fix #88294 Add commitData in commit interface"
This reverts commit 51b8bd5064.
2020-02-18 12:48:22 +01:00
Benjamin Pasero b59c3a83b3 workspace edit - also test moving and applying changes to dirty file 2020-02-18 10:40:12 +01:00
Martin Aeschlimann 33545a2963
Merge pull request #90825 from johnbillion/patch-1
Treat .envrc files as Shell scripts
2020-02-18 01:13:10 -08:00
João Moreno cd6006b5ff
Merge branch 'master' into issue/88294 2020-02-18 10:03:44 +01:00
Martin Aeschlimann 57ab6fb91d JSON Language Server 1.2.3 2020-02-17 17:59:16 +01:00
Helloimbob e7f9230340
Autodetect csh script as shellscript
Identify csh scripts (file extenstion `.csh` or `#!/usr/bin/csh` in first line) as shellscript.
2020-02-17 15:51:57 +00:00
John Blackbourn 97831cfa80
Treat .envrc files as Shell scripts 2020-02-17 13:57:34 +00:00
Joao Moreno 2d125bc3cf
remove git init action from top of scm 2020-02-17 12:24:01 +01:00
Joao Moreno cce81b98b9
Merge branch 'joao/empty-views-api' 2020-02-17 12:05:37 +01:00
Joao Moreno 25b36c1c37
rename empty view contents to view welcome 2020-02-17 11:25:17 +01:00
Benjamin Pasero d8e7eb36a2 Text save participants are overwritten for each extension host (fixes #90359) 2020-02-17 10:42:31 +01:00
Matt Bierner 6ec6f9e3f4 Fix git integration tests
Move back to using normal vscode dependency for now . We will look into moving off it later
2020-02-15 13:13:22 -08:00
Matt Bierner feecdaeacf Disable webview copy test on web 2020-02-15 12:49:11 -08:00