Bug 94529

Summary: IDE (Integrated Development Environment) line formatting
Product: LibreOffice Reporter: Óvári <ovari123>
Component: BASICAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: cno, lgodard.libre
Priority: low    
Version: Inherited From OOo   
Hardware: Other   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=92251
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 124891    

Description Óvári 2015-09-26 10:56:41 UTC
Enhancement suggestion for LibreOffice IDE to format line (perhaps this feature could be turned off if the scriptor does not want this). It will help with the consistency of code (homogenous) produced where enterprises/government have multiple people working on code. It may also make it easier to read the code.

eg if any the following lines are written
     i=(i+2)*3
     i   =   (  i      +   2)   *   3
   the IDE will update the line when the focus is no longer on that line to
     i = (i + 2) * 3

Thank you
Comment 1 Cor Nouws 2015-09-26 11:26:18 UTC
Hi Óvári,

To my feeling, it would be too much to add this (as option, indeed..!)
But OK,  maybe someone feels inspired..
Comment 2 Jon A. Miller 2019-03-23 16:16:40 UTC
REM  *****  BASIC  *****
Sub Main
i=(i+2)*3
#focus did not change input format 
#format was maintained on reentry to macro editor
End Sub
Comment 3 Óvári 2019-03-23 21:06:42 UTC
(In reply to Jon A. Miller from comment #2)
Not fixed in
Version: 6.2.2.2
Build ID: 2b840030fec2aae0fd2658d8d4f9548af4e3518d

Could you advise which version it has been fixed in and/or the link to the patch in the LO codebase? Thank you