Skip to content
@YOCOING

YOCOING

YOCO (You Only Copy Once)

YOCO Logo

YOCO automatically adds the file name at the top of any copied code, so that the file name is displayed when pasted.

Useful when transferring code to GPT, embedding in blogs, or for documentation purposes!

Demo GIF

Features

  • Automatically adds the file name at the top of any copied code, so that the file name is displayed when pasted.
  • Option to include file path, or just the file name.
  • Automatically detects the language of the file being copied and inserts the file path in an appropriate comment format. Demo GIf for language option
  • Optionally wrap codeblock with backticks(```) when YOCO.useBacktick is set true. gif for backtick option

Key Binding

  • Use cmd+shift+c / ctrl+shift+c to copy code with the file path included.

  • You can also customize the shortcut, by assigning your desired key combination to the command YOCO.copyTextWithFilePath in your shortcut settings.

Configuration

This extension contributes the following settings:

  • YOCO.includeFilePath: Set to true to include the file path in the copied text.
  • YOCO.useBacktick: Set to true to wrap codeblock with backticks(```).

FAQ

  • Q: How do I use YOCO?
    • A: Simply use the designated key binding (cmd+shift+c / ctrl+shift+c) to copy the text along with the file path.

Contribution

If you would like to contribute to the development of YOCO, please refer to our Contributing Guide.

Development

For details on setting up your development environment and the development process, please see our Development Guide.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Donate

If you find YOCO useful and would like to support its continued development, consider donating at Buy Me A Coffee.

Enjoy!

Popular repositories

  1. YOCO YOCO Public

    An extension for Visual Studio Code which automatically adds the file name at the top of any copied code, so that the file name is displayed when pasted

    TypeScript 21 2

  2. Documents Documents Public archive

  3. .github .github Public

Repositories

Showing 3 of 3 repositories
  • YOCO Public

    An extension for Visual Studio Code which automatically adds the file name at the top of any copied code, so that the file name is displayed when pasted

    TypeScript 21 MIT 2 6 0 Updated May 24, 2024
  • .github Public
    0 0 0 0 Updated May 14, 2024
  • Documents Public archive
    0 0 0 0 Updated Apr 11, 2024

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…