capture icon indicating copy to clipboard operation
capture copied to clipboard

Add Custom File Naming and Path Configuration Options

Open hammadsaedi opened this issue 1 year ago • 0 comments

Description

I propose adding the ability for users to customize both the file naming convention and the path where code snippet images are saved. This feature would provide users with a high degree of flexibility, allowing them to tailor the file names and storage location to their specific needs.

Proposed Features

  • Custom File Naming: Users can define their own file naming convention using variables and text. This will enable personalized and organized file names.
  • Custom Path Configuration: Users can specify a custom path where the code snippet images should be saved. This allows users to organize captured images into folders that make sense for their projects or workflow.

How It Works

  • Custom File Naming: In the extension's settings, users can define their preferred file naming convention using variables (e.g., date, time, custom labels) and text. For example, a user might choose a format like snippet_<date>_<time>.png.
  • Custom Path Configuration: Users can specify a custom path, either relative to the workspace folder or an absolute path, where the code snippet images will be saved. For instance, a user can set the path to "images/code_snippets" or an absolute path like /Users/user/documents/my_project/images.

hammadsaedi avatar Oct 27 '23 13:10 hammadsaedi