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
* 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.
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
* 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