ZhangJian1713 / vscode-image-viewer

MIT License
17 stars 6 forks source link

Enhancement and performance improvement suggestions #8

Closed zhouxinghong closed 11 months ago

zhouxinghong commented 1 year ago

Enhancement and performance improvement suggestions

Hello! Your extension is great! 👍

  1. If the function of excluding images that do not need to be loaded can be added, the loading performance of image resources required by users will be improved again, and the user experience will be more friendly.

  2. If you can add an image resource loading mode that only loads the directory where the current cursor is located, the image loading performance will be greatly improved and the user experience will be more friendly.

  3. It should be automatically (or manually) switched to Light, Dark and High Contrast background colors according to the theme background color to fully adapt to the VSCode theme color structure, so that the user experience will be a qualitative leap. image

Windows 10 VSCode1.8.3

zhouxinghong commented 1 year ago
  1. It should be automatically (or manually) switched to Light, Dark and High Contrast background colors according to the theme background color to fully adapt to the VSCode theme color structure, so that the user experience will be a qualitative leap.
zhouxinghong commented 1 year ago

Enhancement and performance improvement suggestions

Since currently clicking View Images will load all image resources by default, it will take too long to load the image resources and it will be very slow and slow to scroll up and down by dragging the scroll bar with the mouse after the image is loaded. . . image

zhouxinghong commented 1 year ago

Performance optimization can refer to the following suggestions:

  1. Right-click a folder to display all image resources under the folder;

  2. Right-click a single image in the folder to display the single image resource;

  3. No need to load all image resources by default;

  4. Added the function of excluding folders and files that do not need to be loaded;