capture icon indicating copy to clipboard operation
capture copied to clipboard

Add 'capture' folder for saving images in same repo

Open hammadsaedi opened this issue 1 year ago • 0 comments

Description

I would like to propose an enhancement to the extension that involves the automatic creation of a capture folder within the same repository when saving captured code snippet images. This feature will improve organization and make it more convenient for users to save their images.

Proposed Feature

The proposed feature is to automatically create a capture folder in the same repository where the code snippet image is captured and saved. If the capture folder already exists, it will be used; otherwise, it will be created.

Benefits

Improved organization: Users can keep all their captured images in one dedicated folder, making it easier to locate and manage them. Convenience: Users won't need to manually create the capture folder; the extension will handle this automatically. Ensures a consistent location for saved images, enhancing the user experience.

How It Works?

When a user triggers the capture.snapshot command to save an image, the extension will first check for the existence of a capture folder in the same repository. If the folder doesn't exist, it will be created. The captured image will then be saved in this capture folder.

hammadsaedi avatar Oct 27 '23 13:10 hammadsaedi