https://github.com/ido-pluto/vscode-copy-with-import-issue
https://github.com/ido-pluto/vscode-copy-with-import-issue
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ido-pluto/vscode-copy-with-import-issue
- Owner: ido-pluto
- Created: 2025-07-26T10:33:03.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-26T10:49:51.000Z (11 months ago)
- Last Synced: 2025-07-26T16:39:00.817Z (11 months ago)
- Language: TypeScript
- Size: 787 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About the issue
- When you copy code that relay on symbols that already exits in the target file - you will have duplicate imports.
- When you copy code to a comment it will also copy the imports.
## Demo
https://github.com/user-attachments/assets/8a2df326-a40f-41fb-93dc-cecedea283f7
## reproduce
```
npm install
```
Try to copy `mongoose.Model` from `thing.ts` to `copy.ts`.