Author Topic: documentation expansion in Java not working  (Read 1939 times)

rowbearto

  • Senior Community Member
  • Posts: 1885
  • Hero Points: 122
documentation expansion in Java not working
« on: October 01, 2014, 08:46:37 pm »
In my Java file, I went to document a function and typed "/**<ENTER>".

I expected it to fill out the documentation template.

Instead, it just replaced the "/**" with a "*/"

rowbearto

  • Senior Community Member
  • Posts: 1885
  • Hero Points: 122
Re: documentation expansion in Java not working
« Reply #1 on: October 01, 2014, 08:47:31 pm »
My template for /** in Java is set to:

/**
   %\c
   %\S
   @author %\a (%\d)
   %\u
   @param %\p %\c
   %\v
   @return %\r %\c%\v
 */

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1527
  • Hero Points: 139
Re: documentation expansion in Java not working
« Reply #2 on: October 01, 2014, 08:49:10 pm »
Reproduced it, looking into it.

skywise

  • Senior Community Member
  • Posts: 331
  • Hero Points: 10
Re: documentation expansion in Java not working
« Reply #3 on: October 01, 2014, 09:19:17 pm »
Note, I just tested this in C++ on B6 and it's working as expected.
(From my issue in B5 - http://community.slickedit.com/index.php/topic,10518.0.html )
« Last Edit: October 01, 2014, 09:28:03 pm by skywise »

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1527
  • Hero Points: 139
Re: documentation expansion in Java not working
« Reply #4 on: October 01, 2014, 09:23:54 pm »
Yep, this appears to be a different issue where the javadoc expansion is getting mangled after it expands.

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1527
  • Hero Points: 139
Re: documentation expansion in Java not working
« Reply #5 on: October 02, 2014, 01:18:36 pm »
Fixed for the next beta.  If you need to work around it till then, go to Document -> Java Options, and uncheck the "Beautify alias expansions" setting.

Thanks for the report.