No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode Move link search logic off the extension host Sep 11, 2018
images
src Remove trailing wildcard from js/tsconfig path mappings Feb 16, 2019
.gitignore Initial project setup May 22, 2016
.prettierrc Add prettier along with husky to ensure consistent formatting Sep 11, 2018
.vscodeignore Initial project setup May 22, 2016
LICENSE Initial project setup May 22, 2016
README.md
package-lock.json 0.17.2 Feb 16, 2019
package.json 0.17.2 Feb 16, 2019
tsconfig.json x Upgrade vscode dependency and project setup Nov 6, 2017

README.md

Image Preview - Visual Studio Code Extension

Shows image preview in the gutter and on hover

It looks like this

Demonstrating svg image preview in a css file

Install

How to install Visual Studio Code extensions

Direct link to Visual Studio Code Marketplace

Change Log

  • 0.17.2
    • Remove trailing wildcard from js/tsconfig path mappings
  • 0.17.1
    • Add typescript as runtime dependency
  • 0.17.0
    • Add support for path aliases defined by config property or by js/tsconfig
      • see path mapping in the typescript documentation for further details Please note that a restart is necessary after changing the js/tsconfig.json.
  • 0.16.5
    • Replace probe-image-size with image-size
  • 0.16.4
    • Update dependencies
  • 0.16.3
    • Avoid repeated decorations when word wrapping is enabled
  • 0.16.2
    • Handle error explicitly when requesting resources from the network
  • 0.16.1
    • Fix typo in readme
  • 0.16.0
    • Fix image size calculation
    • Fix image path handling under Windows
    • Require vscode version 1.28.0
    • Make use of ImageCache for faster image path verification
    • Implement partial scan and proper cancellation token handling
  • 0.15.3
    • Skip lines longer than 20k when searching for potential links
    • Fix runtime dependency issue (slash)
  • 0.15.2
    • Restore vscode.Uri based image handling for decorations
  • 0.15.1
    • Update dependencies
    • Add scope for configuration properties
  • 0.15.0
    • Change casing of configuration options (by Orhan Sönmez)
    • Add option (gutterpreview.showUnderline) to disable link like underline (by Orhan Sönmez)
    • Use more flexible pattern for data url detection
    • Fix path resolution for urls relative to the workspace folder
  • 0.14.2
    • Fix several windows compatiblity issues
  • 0.14.1
    • Add null checks around editor instances
  • 0.14.0
    • Remove onFileChange callback from ImageCache
    • Fix throttledScan implementation
    • Add recognizer for data Urls
    • Reformat package json
    • Add underline to recognized urls
    • Dispose unused decorations
    • Detect more than one url in a single line
    • Use column metadata from recognizers
    • Pass workspacefolder for the given document explicitly
    • Remove superfluous recognizers
    • Replace onLanguage activation events with '*'
    • Move link search logic off the extension host
    • Add localLinkRecognizer
    • Add workspace.rootPath as fallback to RelativeToWorkspaceRootFileUrlMapper
    • Simplify recognizer execution
    • Reorganize variables
    • Move temporary file handling to imagecache
    • Simplify disposable handling
    • Extract ImageCache
    • Extract mappers and recognizers from extension.ts
    • Add prettier along with husky to ensure consistent formatting
    • Remove unused variables
    • Remove unused dependency: base64-img
    • Remove unused imports
    • Add linkRecognizer
    • Support hover preview in output tab
    • Reformat extension.ts
  • 0.13.1
    • Avoid NPE for invalid URL's
  • 0.13.0
    • Add new configuration property 'gutterpreview.imagepreviewmaxheight'
  • 0.12.2
    • Only consider path name in file system based url mappers
  • 0.12.1
    • Adjust file lookup and add multi root support
  • 0.12.0
    • Avoid file locks by using temp files
  • 0.11.4
    • Support lookup in template strings
  • 0.11.3
    • Add missing protocol check
  • 0.11.2
    • Updated the python regex to account for lines with multiple strings
  • 0.11.1
    • Remove path separator replacements
  • 0.11.0
    • Added a python image filename recognizer
  • 0.10.2
    • Provide fallback for http hosted images
  • 0.10.1
    • Attempt to fix path join on macOS Sierra
  • 0.10.0
    • Add info about image size to hover preview
    • Show hover preview without file type restriction
  • 0.9.1
    • Ignore workspace relative url mapper when there is no workspace at all
  • 0.9.0
    • Support images in markdown files
  • 0.8.0
    • Change Extension name to Image Preview
    • Add option ("showimagepreviewongutter") to disable image preview on the gutter
  • 0.7.2
    • Set image height on supported vscode versions
  • 0.7.1
    • Update changelog
  • 0.7.0
    • Add http scheme for // urls
  • 0.6.2
    • Run recognition also when the activeTextEditor is changed
    • Fix image url detection RegExp
  • 0.6.1
    • Support old and new RenderOptions API
  • 0.6.0
    • Add image src recognizer
  • 0.5.0
    • Added "gutterpreview.sourcefolder" configuration variable
  • 0.4.1
    • Add image hover provider to scss files as well
  • 0.4.0
    • Add html to supported file types
    • Dedupe recognized urls
    • Format source code
    • Add http/https url matcher
    • Fix file url creation
  • 0.3.0
    • Support data URI's in hover widget
  • 0.2.3
    • VSCode engine dependency changed to allow further versions
  • 0.2.2
    • Hack is now unnecessary it was removed from the readme
  • 0.2.1
    • Readme updated
  • 0.2.0
    • code restricted to work on css/scss/less files
    • hacks removed
  • 0.1.0
    • Image preview shown on hover as well
  • 0.0.3
    • Displayname fixed
  • 0.0.2
    • Sample image attached
  • 0.0.1
    • Initial project setup

License

Licensed under MIT