Is there a way to disable the View->Editor->Design or make View->Editor->Source the default view?
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 935
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 17
Description
### Description
I'm editing a persistence.xml and it first displays a warning about the target server not being set which I have to click off and then select View->Editor->Source
It's a pain to do this every time I want to see the src main persistence.xml and the test persistence.xml file.
I have the the src build, can you tell me where I could look to put a System property guard?
I can PR.
Thanks in advance.
### Use case/motivation
When I open the persistence.xml I just want to see the XML with the option of seeing the GUI editor.
### Related issues
I looked around and grokked the code but couldn't find anything.
### Are you willing to submit a pull request?
Yes
Contributor guide
Research direction
Start by tracing how persistence.xml opens through View→Editor→Design and View→Editor→Source, including the target-server warning described in the issue. Compare the src and test persistence.xml use cases and identify where the default editor choice is controlled. Done means the XML source opens by default while the GUI editor remains available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100