Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.5 KB

README.md

File metadata and controls

50 lines (35 loc) · 1.5 KB

Remote to Local images

This project uses the base code from ImageSaver by Ademiking
This extension helps replaceing remote image urls with local uris by downloading the images and replacing the paths

Features

Replace remote images in workspace with "Replace remote images " command
Adds a Code Lens above image urls that lets you replace single images
Change the path of downloaded images relative to the current workspace
Change how image names are formatted

  • Ability to replace single images
  • Ability to replace for a entier file
  • Settings for default path and image file
  • Settings for chaning dowloaded image name
    • original file name with index?
    • Formated timestamps

TODO

This project is in very early stages. I currently see the following upgrades:

  • Dialog for selecting wanted save path

Extension Settings

  • Image Name
    • Allows you to set a filename for a given string
    • If a file with the name already exists a number is added to the end of file
    • Support for formatting with the variable by using ${}
      • ${rawdate} the current time in unix
      • ${formatteddate} the current date in format yyyy-mm-dd
      • ${workspacename} the name of the files workspace
      • ${filename} the name of the file your in
  • Image path
    • Allows you to change the default path based on the current workspace

Known Issues

Todo

Release Notes

Todo

1.0.0

Created first version for VScode Marketplace