Commit Graph

28594 Commits

Author SHA1 Message Date
Peng Lyu d34a8edccc safe guard of search cache in buffer. 2018-01-22 20:50:39 -08:00
Peng Lyu fa455a7249 Revert "First attempt of search caching."
This reverts commit 0f907abc02.
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
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
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 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
Benjamin Pasero 81d6f2b1d3 remove duplicate method 2018-01-22 19:20:33 +01:00
Ramya Achutha Rao 83f6203e45 Merge branch 'master' of https://github.com/Microsoft/vscode 2018-01-22 10:08:15 -08:00
Ramya Achutha Rao 48a6f7176a Keep notification consistent with recommendations #38543 2018-01-22 10:07:27 -08:00
Peng Lyu ad3f4f2784 turn on piece tree for insider. 2018-01-22 10:04:13 -08:00
Benjamin Pasero 1bcfe5b5c7 fix #41989 2018-01-22 19:00:47 +01:00
Zhongliang Wang e7e73637a9 Add workbench.fontAliasing.auto option (#41895)
* Add workbench.fontAliasing.auto option

* Remove monaco-font-aliasing-default class

* Remove monaco-font-aliasing-auto class for non-retina displays to behave as `default`
2018-01-22 18:41:44 +01:00
Benjamin Pasero 59e50838af Merge pull request #41972 from Microsoft/ben/write-large-files
Allow to write large files (> 256 MB)
2018-01-22 18:17:03 +01:00
Benjamin Pasero c6d150ebb4 remove textEditorModel.getValue 2018-01-22 18:06:35 +01:00
Sandeep Somavarapu d1c2e526f0 #41752 Add default value for translations folder 2018-01-22 18:02:20 +01:00
Sandeep Somavarapu b25c1947c6 #41752 Update extension point 2018-01-22 18:02:20 +01:00
Alex Dima 73d60bd4c8 Fixes #41503: Add fast path for searching for \n 2018-01-22 17:56:40 +01:00
Benjamin Pasero 56b067cfdf adopt more snapshots 2018-01-22 16:10:00 +01:00
Daniel Imms a99da1688f Add screen reader keywords to navigation mode command 2018-01-22 07:01:42 -08:00
Sandeep Somavarapu de220368be Fix #41781 2018-01-22 15:50:12 +01:00
Joao Moreno 4846088f22 fix inno updater 2018-01-22 15:47:18 +01:00
Daniel Imms 060896c901 Announce terminal to screen reader
Part of #8339
2018-01-22 06:40:22 -08:00
Sandeep Somavarapu 12d45a9bce Revert "Fix #41781"
This reverts commit 2d45445592.
2018-01-22 15:39:48 +01:00
Alex Dima d73725c384 Fixes #41925: ERR Illegal value 0 for lineNumber 2018-01-22 12:23:50 +01:00
Joao Moreno 11e05b6a39 fix bad build script 2018-01-22 12:07:47 +01:00
Alex Dima a1b0cc77c9 Fixes #33971: Stricter check for using FastRenderedViewLine 2018-01-22 11:53:52 +01:00
Alex Dima a76e372236 Remove duplicated code 2018-01-22 11:39:34 +01:00
isidor 236b928218 add a todo 2018-01-22 11:27:31 +01:00
Martin Aeschlimann 8500a2ec53 Keywords and Storage.types have the same color in Dark theme for Go. Fixes #41822 2018-01-22 11:26:40 +01:00
Martin Aeschlimann 0be4f4ec9d [i18n] push compiles js file 2018-01-22 11:26:40 +01:00
Joao Moreno cdb7246a2d add log statements to update service 2018-01-22 11:16:23 +01:00