Bug 563691 - composer.json is not saved when edited
Summary: composer.json is not saved when edited
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.16   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2020-05-28 23:44 EDT by jeetendra hurloll Hurloll CLA
Modified: 2021-05-03 03:28 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jeetendra hurloll Hurloll CLA 2020-05-28 23:44:56 EDT
when composer.json is changed,and save is attempted, it has to be refreshed by clicking on another view, then it accepts that the file is unsaved and then saves it, otherwise, the save operation is not effected.
Comment 1 Rolf Theunissen CLA 2020-05-29 12:23:45 EDT
This is certainly not a bug for Platform/IDE, to identify the correct product:
- Which Eclipse package are you using?
- Which Editor are you using?
- Is composer.json a special file, or just a regular json?
Comment 2 Douglas Silva CLA 2021-05-02 11:49:57 EDT
(In reply to Rolf Theunissen from comment #1)

I can reproduce this problem, so I'll be available to help debug.

> - Which Eclipse package are you using?
> - Which Editor are you using?
Eclipse IDE for PHP Developers (includes Incubating components)
Version: 2021-03 (4.19.0)
Build id: 20210312-0638

Installed using the Eclipse installer downloaded from eclipse.org

> - Is composer.json a special file, or just a regular json?
I'm not sure what a special file is. Well, it has lots of tabs such as "Overview", "Dependencies", "Autoload" and "composer.json"; so it must be a special file.

Should this be reported to PDT?
Comment 3 Rolf Theunissen CLA 2021-05-03 03:28:13 EDT
Pressing Shift-Alt-F1 with the editor selected should give you an popup with information. That would show which editor you are using exactly.

I expect that the JSON editor in the PHP package is provided by the Wild Web Developer project. If so, can you open an issue report there and add a reference to that report here? Then we can close this one.