[
https://issues.jboss.org/browse/FORGE-2605?page=com.atlassian.jira.plugin...
]
Claus Ibsen commented on FORGE-2605:
------------------------------------
So basically I want something a like file -> save all in IDEA to run before I do code
changes in the source code. Or somehow be able to load the source using IDEA api where
IDEA can provide me with the latest memory source code.
It may be that the file api in forge loads from disk, and don't know about memory
changes pending from IDEA. So maybe forge need to hook into IDEA somehow?
But I can settle with a api in forge that forces IDEA (and Eclipse if running in Eclipse
etc) to save all, then I can invoke that before I do code changes using my commands.
Forge addon - Changing the current file may cause a "file has
changed in file vs memory" issue in IDEA
------------------------------------------------------------------------------------------------------
Key: FORGE-2605
URL:
https://issues.jboss.org/browse/FORGE-2605
Project: Forge
Issue Type: Bug
Affects Versions: 3.0.0.CR1
Reporter: Claus Ibsen
Attachments: Screen Shot 2016-02-26 at 1.53.40 PM.png, Screen Shot 2016-02-26 at
1.56.01 PM.png
We have a set of forge commands that changes the source code, such as adding or editing
Camel endpoints.
Sometimes when running those commands, and the command is success. Then IDAE has detected
a diff between the source in memory vs file, and it shows a dialog (see screenshot).
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)