[ 
https://issues.apache.org/jira/browse/NETBEANS-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jose Pereda updated NETBEANS-2344:
----------------------------------
    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:

!image-2019-04-03-19-25-18-410.png|width=559,height=332!

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 see source and history options).

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

 

 

  was:
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:

!image-2019-04-03-19-25-18-410.png|width=559,height=332!

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), and I could open the gradle files in the editor (I see source and 
history options).

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

 

 


> Gradle files open in editor in diff mode
> ----------------------------------------
>
>                 Key: NETBEANS-2344
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2344
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Gradle
>    Affects Versions: 11.0
>            Reporter: Jose Pereda
>            Priority: Major
>         Attachments: image-2019-04-03-19-25-18-410.png
>
>
> 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:
> !image-2019-04-03-19-25-18-410.png|width=559,height=332!
> 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 see source and history options).
> After this moment, it seems I can open gradle files from any project in the 
> editor.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to