Re: C/C++ IDE support for HotSpot

2017-03-30 Thread Christian Thalinger
There is already support to generate IDE config files in 9: $ mx ideinit (this is part of JVMCI and came in via JEP 243) > On Mar 22, 2017, at 4:21 AM, Mikael Gerdin wrote: > > Hi all, > > I've finally grown tired of manually setting up a hand crafted Eclipse CDT > configuration for the JVM

Re: C/C++ IDE support for HotSpot

2017-03-24 Thread Mikael Gerdin
Hi Robbin, On 2017-03-24 09:02, Robbin Ehn wrote: Hi, again, On 03/24/2017 08:58 AM, Robbin Ehn wrote: Hi Mikeal, On 03/22/2017 05:20 PM, Erik Österlund wrote: Hi Mikael, In my workflow I use emacs with rtags for snytax awareness. With your cmake patch, I could easily generate the cmake fil

Re: C/C++ IDE support for HotSpot

2017-03-24 Thread Robbin Ehn
Hmmz, brain not functioning. On 03/24/2017 09:02 AM, Robbin Ehn wrote: I have still gotten my morning coffee, this step I have to do anyways of course. NOT /Robbin

Re: C/C++ IDE support for HotSpot

2017-03-24 Thread Robbin Ehn
Hi, again, On 03/24/2017 08:58 AM, Robbin Ehn wrote: Hi Mikeal, On 03/22/2017 05:20 PM, Erik Österlund wrote: Hi Mikael, In my workflow I use emacs with rtags for snytax awareness. With your cmake patch, I could easily generate the cmake files and run cmake with -DCMAKE_EXPORT_COMPILE_COMMA

Re: C/C++ IDE support for HotSpot

2017-03-24 Thread Robbin Ehn
Hi Mikeal, On 03/22/2017 05:20 PM, Erik Österlund wrote: Hi Mikael, In my workflow I use emacs with rtags for snytax awareness. With your cmake patch, I could easily generate the cmake files and run cmake with -DCMAKE_EXPORT_COMPILE_COMMANDS to generate the compiler_commands.json file used b

Re: C/C++ IDE support for HotSpot

2017-03-22 Thread Severin Gehwolf
Hi, On Wed, 2017-03-22 at 15:21 +0100, Mikael Gerdin wrote: > Hi all, > > I've finally grown tired of manually setting up a hand crafted Eclipse  > CDT configuration for the JVM sources and decided to share my progress  > towards improving the overall situation for JVM developers. > > To achieve

Re: C/C++ IDE support for HotSpot

2017-03-22 Thread Mario Torre
For what is worth, I agree. Cheers, Mario On Wed, 22 Mar 2017 at 17:37, wrote: > Hi, > > I use the OpenJDK NetBeans project most of the time and am very happy with > it. I still think Mikael's initiative is a very good one since I don't > believe in forcing developers to use some specific tool

Re: C/C++ IDE support for HotSpot

2017-03-22 Thread Thomas Stüfe
Hi Stanislav, thanks. See my answer to Jesper. I was using Netbeans on Windows and was missing Windows Configuration files. Sorry for being unclear. Kind Regards, Thomas On Wed, Mar 22, 2017 at 6:40 PM, Stanislav Smirnov < stanislav.smir...@oracle.com> wrote: > Hi Thomas, > > according to https

Re: C/C++ IDE support for HotSpot

2017-03-22 Thread Thomas Stüfe
Hi Jesper, thank you. Yes, this was my experience last time I tried it, that the windows build configuration was missing and that the Indexer did not work as well as expected (did, of course, not find any system headers etc). I did not feel like putting work into it, so I went back to CDT. I might

Re: C/C++ IDE support for HotSpot

2017-03-22 Thread jesper . wilhelmsson
Hi, The project in common/nb_native/nbproject does not have a build configuration for Windows. The project itself should still be usable for browsing the code, but it might require some changes to make it build correctly. If you have a NetBeans / SolarisStudio installation on Windows and want t

Re: C/C++ IDE support for HotSpot

2017-03-22 Thread Stanislav Smirnov
Hi Thomas, according to https://netbeans.org/downloads/ there is Windows platform with C/C++ support if I understood you correctly. Best regards, Stanislav Smirnov > On 22 Mar 2017, at 20:34, Thomas Stüfe wrote: > > Hi Stanislav, > > last time I checked, there was no support for netbeans

Re: C/C++ IDE support for HotSpot

2017-03-22 Thread Thomas Stüfe
Hi Stanislav, last time I checked, there was no support for netbeans on Windows, is that still the case? Thanks, Thomas On Wed, Mar 22, 2017 at 4:02 PM, Stanislav Smirnov < stanislav.smir...@oracle.com> wrote: > Hi Mikael, > > why do not you try NetBeans that has openjdk project support out of

Re: C/C++ IDE support for HotSpot

2017-03-22 Thread Erik Österlund
Hi Mikael, In my workflow I use emacs with rtags for snytax awareness. With your cmake patch, I could easily generate the cmake files and run cmake with -DCMAKE_EXPORT_COMPILE_COMMANDS to generate the compiler_commands.json file used by rtags to understand how the code fits together, and feed

Re: C/C++ IDE support for HotSpot

2017-03-22 Thread jesper . wilhelmsson
Hi, I use the OpenJDK NetBeans project most of the time and am very happy with it. I still think Mikael's initiative is a very good one since I don't believe in forcing developers to use some specific tools, but rather think that we should make the OpenJDK code available to as many developers a

Re: C/C++ IDE support for HotSpot

2017-03-22 Thread Stanislav Smirnov
Hi Mikael, why do not you try NetBeans that has openjdk project support out of the box? common/nb_native/nbproject Best regards, Stanislav Smirnov > On 22 Mar 2017, at 17:21, Mikael Gerdin wrote: > > Hi all, > > I've finally grown tired of manually setting up a hand crafted Eclipse CDT >

C/C++ IDE support for HotSpot

2017-03-22 Thread Mikael Gerdin
Hi all, I've finally grown tired of manually setting up a hand crafted Eclipse CDT configuration for the JVM sources and decided to share my progress towards improving the overall situation for JVM developers. To achieve better IDE support without having to add project generators for all dif