Bug Hunting Session
Bug 94529 - IDE (Integrated Development Environment) line formatting
Summary: IDE (Integrated Development Environment) line formatting
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: low enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: BASIC-IDE
  Show dependency treegraph
 
Reported: 2015-09-26 10:56 UTC by Óvári
Modified: 2019-04-22 20:02 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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