apache / apache/grails-intellij-plugin
Pastes into wrong project
- Dominant language
- Java
- Stars
- 17
- Forks
- 4
- Avg merge
- 5d 15h
- Merged PRs (30d)
- 4
Description
## **Steps to reproduce**
1. I have 2 Intellij projects open (Grails ones as it happens).
2. I click on a service (aka a groovy file) in one intellij and right click "Copy"
3. I go to the other Intellij, and click on services
4. I right click Paste
**Expected result** *(correct result)***:**
Ideally it would paste the file where I told it. If pasting between projects is not allowed, then at the very least an error dialog or something
**Actual result** *(faulty result)***:**
It pastes it into the wrong project, aka the original project. Note that if you don't change the package it will do nothing because it already exists in the original project. But if you do change the package it will make another copy in the old project with a new (wrong for that project) package.
## **Environment**
*OS version: Linux.*
*IDE version: 2025.1 Beta Ultimate 251.23774.200*
---
*Imported from [IDEA-370204](https://youtrack.jetbrains.com/issue/IDEA-370204) · Type: Bug · Votes: 0*
*Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the paste action with two open Grails projects in IntelliJ IDEA, using the Linux and 2025.1 Beta environment described. Trace which project receives the service file after copying and pasting, then verify that it is pasted into the selected project or that an error is shown when cross-project pasting is unsupported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100