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

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
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: 2335
  • Hero Points: 132
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: 1818
  • Hero Points: 151
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: 1818
  • Hero Points: 151
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: 1818
  • Hero Points: 151
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.