Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2344

Gradle files open in editor in diff mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 11.0
    • None
    • projects - Gradle
    • None

    Description

      I've downloaded NetBeans 11.0 vc4 from https://dist.apache.org/repos/dist/dev/incubator/netbeans/incubating-netbeans/incubating-11.0-vc4/incubating-netbeans-11.0-vc4-bin.zip

      I opened it, without importing any previous settings, and created a new project, Java with Gradle -> Java Application, with the default values.

      The project is created and it runs fine. 

      However, when I try to edit the `build.gradle` file I see this:

      The editor only shows the history option, not the source, so it is impossible to edit the file.

       I've tested it with JDK 10 and JDK 12, on Mac OSX 10.14.4

      I've also tested it opening existing gradle projects: Firstly I opened a non-modular project, and the issue was the same.

      But then I opened a modular project, with some errors (mainly due to this issue:https://issues.apache.org/jira/browse/NETBEANS-2004), and I could open the gradle files in the editor (I saw both source and history options).

      After that moment, it seems I can open gradle files from any project in the editor.

       

       

      Attachments

        1. Plugins.png
          542 kB
          José Pereda
        2. image-2019-04-03-19-25-18-410.png
          654 kB
          José Pereda

        Issue Links

          Activity

            People

              lkishalmi Laszlo Kishalmi
              jpereda José Pereda
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: