Thanks to visit codestin.com
Credit goes to github.com

Skip to content

"Copy Prompt" icons on files#206

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

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

Conversation

@andrewpareles
Copy link
Contributor

@andrewpareles andrewpareles commented Jan 7, 2025

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 join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants