Skip to content
This repository was archived by the owner on Jun 2, 2026. It is now read-only.

"Copy Prompt" icons on files#206

Merged
andrewpareles merged 19 commits into
mainfrom
copy-icons
Feb 6, 2025
Merged

"Copy Prompt" icons on files#206
andrewpareles merged 19 commits into
mainfrom
copy-icons

Conversation

@andrewpareles

@andrewpareles andrewpareles commented Jan 7, 2025

Copy link
Copy Markdown
Contributor

We'd like to add icons in the sidebar that let you quickly copy file and folder contents to the clipboard.

For files:

  • Add an icon that, when clicked, copies a file's name and content to the clipboard. For example, clicking the button on tsconfig.json would copy this:
tsconfig.json:
```json
{
"extends": "./tsconfig.base.json",
"compilerOptions": {
	"types": [],
	"plugins": []
},
```

For folders:

  • Icon to copy hierarchy. For example, copying folder1 would give this hierarchy:
folder1
   - file1.json
   - file2.ts
   - folder2
      - file3.ts
  • Icon to copy hierarchy and all files together, concatenated.
[[hierarchy]]
[[file1]]
[[file2]]
...

@andrewpareles andrewpareles changed the title Copy icons "Copy Prompt" icons on files Jan 9, 2025
@andrewpareles andrewpareles merged commit 19ff19f into main Feb 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants