Author Topic: Extent of Java 10 support in SE 23 beta  (Read 409 times)

mjdl

  • Senior Community Member
  • Posts: 141
  • Hero Points: 16
  • SE 23.0.2 hotfix 2 x64 Windows 10 v1903
Extent of Java 10 support in SE 23 beta
« on: August 20, 2018, 02:18:04 pm »
I haven't tried the beta yet. Does it support tagging, code completion and formatting of the new features in Java 10? I am thinking of such new features as the new modules system (which certainly needs support in tagging) as well as syntactic/semantic changes brought about by e.g. Local Variable Type Inference (code completion inference and formatting).


Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2815
  • Hero Points: 425
Re: Extent of Java 10 support in SE 23 beta
« Reply #1 on: August 20, 2018, 05:19:56 pm »
v22 added suppport for Java modules (.jmod) to support Java 9.  The suppport only applies to tagging and code-completion.  They are treated a lot like Jar files in that respect.

Local Variable Type Inference is something I will look at for a future v23 beta.  We have done type inference for several languages now, so this should be easy to add.  I will also have to look at what other language changes Oracle has made for Java 10.  Clearly supporting type inference would be the most important item, long overdue for Java to add this.  Slick-C has had it for years and years.