28624 Commits

Author SHA1 Message Date
Alexandru Dima
486ad5ee74
Merge pull request #41646 from Microsoft/chrisdias/contextkeyglobexpr
Chrisdias/contextkeyglobexpr
2018-01-23 10:37:25 +01:00
Isidor Nikolic
7d6295f6c0
Merge pull request #42022 from usernamehw/revert_changes_running_extensions
Revert - move striping logic back to javascript for running extensions
2018-01-23 10:29:24 +01:00
Alex
c425644317 Revert - move striping logic back to javascript for running extensions 2018-01-23 12:20:53 +03:00
Johannes Rieken
3ecef8c1dd add 'configuration' (read uri/path) of workspace config file, #41408 2018-01-23 10:17:51 +01:00
Joao Moreno
3359b50c4d use windowsVerbatimArguments 2018-01-23 10:09:19 +01:00
Johannes Rieken
3da6978101
Merge pull request #41997 from mjbvz/code-action-api-take-kind
Take kind instead of edit in CodeAction ctor
2018-01-23 09:46:41 +01:00
Joao Moreno
f7cde7af9c fix bad state expectation 2018-01-23 09:37:50 +01:00
Joao Moreno
0d025550f3 cleanup list alt key change 2018-01-23 09:29:56 +01:00
Benjamin Pasero
60440c7246 reduce test pressure 2018-01-23 08:01:49 +01:00
Benjamin Pasero
545fcb9998 linux - disable failing test 2018-01-23 07:59:57 +01:00
Benjamin Pasero
a29d44c682 fix #41940 2018-01-23 07:31:18 +01:00
kieferrm
1502c8c2a0 update distro 2018-01-22 22:26:32 -08:00
kieferrm
200e401357 Revert "Use special prefix to tell TS that a resource is in-memory only (#42001)"
This reverts commit 00f0f2c8962bfad8201d225cdb46646fb5f104f0.
2018-01-22 21:36:00 -08:00
Rob Lourens
7fbd338784 Merge branch 'roblou/newExtensionSettingSearch' 2018-01-22 21:31:53 -08:00
Rob Lourens
6b9c28032a Settings search - Remove unused css rule 2018-01-22 21:25:11 -08:00
Matt Bierner
8c6fb54fb0 Remove unused import 2018-01-22 21:18:57 -08:00
Rob Lourens
439ecdf347 Fix core setting search matching with "post" request 2018-01-22 21:10:22 -08:00
Rob Lourens
cdf4061d47 Prevent local settings search from searching setting descriptions 2018-01-22 21:09:15 -08:00
Peng Lyu
95dfbe4410 Move rbtree logic out of piecetreebase. 2018-01-22 20:55:16 -08:00
Peng Lyu
d34a8edccc safe guard of search cache in buffer. 2018-01-22 20:50:39 -08:00
Rob Lourens
758bfd87db Fix issue with settings search match highlights disappearing 2018-01-22 20:48:57 -08:00
Rob Lourens
0533a8e6a0 Settings search - add setting to switch to new POST request format.
And fix setting matcher for core settings from remote
2018-01-22 20:42:49 -08:00
Peng Lyu
fa455a7249 Revert "First attempt of search caching."
This reverts commit 0f907abc022460b9b9f114ea65ce181a4239d54f.
2018-01-22 19:45:50 -08:00
Peng Lyu
75b3282ec2 Test cases for pieceTree.equal 2018-01-22 19:45:50 -08:00
Matt Bierner
00f0f2c896
Use special prefix to tell TS that a resource is in-memory only (#42001)
* Use special prefix to tell TS that a resource is in memory

* Move scheme checking logic into getWorkspaceRootForResource
2018-01-22 18:36:37 -08:00
Matt Bierner
65064fd524 Make sure log body is properly encoded 2018-01-22 18:31:20 -08:00
Ramya Achutha Rao
97904cdd61 Dont hide details when frozen Fixes #39742 2018-01-22 17:50:11 -08:00
Matt Bierner
3877f2a950 Fix parsing of result message in uploadlogs 2018-01-22 17:47:35 -08:00
Matt Bierner
f73e7bddfa Dont load loguploader using import expression 2018-01-22 17:47:35 -08:00
Matt Bierner
eac87dab44 Extract largeImageView
Extract genericBinaryFileView

Extract inlineImageView

Add explicit return nulls for largeImageView and binaryFile View

Extract getMime

Use or return type in getMime

Extract size logic to own class

Move IMAGE_SCALE_CACHE into class

Extract LargeImageView to own class

Extract GenericBinaryFileView to class

Move InlineImageView to own class

Extract image view to own class

Format param list

Move imgSource into InlineImageView

Make metadataClb non-optional since it is always pasesd in

Extract isImageResource

Give inlineImage a more descriptive name
2018-01-22 17:47:35 -08:00
Matt Bierner
1b21617a80 Make sure we preserve pixelated property on zoomed images 2018-01-22 17:47:35 -08:00
Matt Bierner
89cdbe2ad8 Mark static constants readonly 2018-01-22 17:47:35 -08:00
Rob Lourens
20cc7d1957 Show codelenses for new extension search results 2018-01-22 17:27:04 -08:00
Rachel Macfarlane
c09f39ff80 Issue Reporter: Preview on 'Shift Enter', fixes #41996 2018-01-22 16:26:47 -08:00
Matt Bierner
5d397568b5 Add refactor editor action
Adds a new refactor editor action. This action shows a lightbulb context menu with only code actions of kind `refactor.*`
2018-01-22 16:18:45 -08:00
Matt Bierner
3fc5ab42da Use flatten 2018-01-22 16:18:45 -08:00
Brian Schlenker
9081507e89 Add ability to zoom in/out on all images (#38538)
* Add ability to zoom in on small images

* Update image viewer to allow pinch or click to zoom

Images are now always centered in the window. They initially start at
their native size, unless they would be larger than the window, in which
case they are contained within the window. Clicking increases the
zoom, and alt+click decreases it. Pinch to zoom and ctrl+scroll are also
supported.

* Update resourceViewer to improve image viewing experience

ResourceViewer now holds a cache of image scales so they stay the same
while flipping between editor tabs. Right clicking now returns the image
to its original scale. Pixelation only triggers for images 64x64 or
smaller, and only after the first zoom. Editor risizing is handled
thorugh the layout call to the binary editor, passed down to the
resource viewer.
2018-01-22 16:11:34 -08:00
Rob Lourens
eefac3921e Also filter settings search by extension package id 2018-01-22 14:26:45 -08:00
Rob Lourens
62fd6577aa Use POST request for settings search 2018-01-22 14:08:00 -08:00
Rachel Macfarlane
fc691f719c Update issue reporter wording, fixes #41994 2018-01-22 13:33:51 -08:00
Peng Lyu
220f4b56cc fix integration test save for untitle file 2018-01-22 13:04:59 -08:00
Peng Lyu
09c9d52e3f snapshot for empty file 2018-01-22 13:04:59 -08:00
Rachel Macfarlane
d7b6e7d7f6 No resizing of inputs in issue reporter, fixes #41992 2018-01-22 12:58:28 -08:00
Daniel Imms
80991ce8a0 Fix terminal links sometimes not working before scroll
Fixes #36072
2018-01-22 12:00:23 -08:00
Matt Bierner
6316a4d0c8 Take kind instead of edit in CodeAction ctor
Changes the `CodeAction` constructor to take a kind instead of an edit. This makes the API more consistent IMO, as now both `edit` and `command` are set the same way
2018-01-22 11:59:17 -08:00
Matt Bierner
3cb83387be Use CodeActionKind.append 2018-01-22 11:48:35 -08:00
Matt Bierner
eccf728e64
CodeActionScope (#41782)
* Add CodeActionScope

* Replace matches with contains, try using in ts extension

* Move filtering to getCodeActions

* Basic test

* Docs

* Fix tests

* Hooking up requested scope

* Add basic test for requestedScope

* Added auto apply logic

* Gate refactor provider to only compute refactorings when requested

* Making suggested renames

* Clean up code action trigger impl to use single Trrigger info object

* Rename codeActionScope file and internal CodeActionScope class

* Add quick fix base type

* Make keybinding API more similar to insertSnippet

Take args as an object instead of as an array of values

* Clean up docs

* scope -> kind

* Fixing examples to match Refactor kind
2018-01-22 11:45:22 -08:00
Joao Moreno
8f58711d82 Merge branch 'joao/win32-update'
fixes #41676
2018-01-22 20:08:59 +01:00
Matt Bierner
ec183b0977 Fix webview protocols for windows drive letter casing 2018-01-22 10:46:58 -08:00
Benjamin Pasero
31bd692243 fix #41918 2018-01-22 19:46:27 +01:00