Source Code Formatter for AVRco Pascal

need a little help

  • 1
  • 2
  • 3
  • Page 2 of 3
rh
Administrator
Avatar
Gender:
Location: Germany
Age: 24
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

Re: Source Code Formatter for AVRco Pascal

 · 
Posted: 01.03.2013 - 21:14  ·  #9
@all beta testers,
under some circumstances this tool destroys some variables and/or types. :angry5:
Please make a backup of your files before passing them to the Beautifier.

rolf
Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1373
Registered: 03 / 2005
Subject:

Re: Source Code Formatter for AVRco Pascal

 · 
Posted: 02.03.2013 - 22:12  ·  #10
Sorry - I should have made it clear. If this does happen to you and you don't have a backup, immediately look for the file xxx.pas.bak which is a copy of your original file (where xxx.pas) is the original file name. you can recover your file from here provided that you have not run the program again.

(Note this only applies if run from the PED, not in standa alone mode which does not replace the original file.)

I attach an update that addresses the bug mentioned by Rolf, but please let me know of any more
Attachments
Filename: MerlinBeautifier.zip
Filesize: 396.62 KB
Title:
Download counter: 7
Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1373
Registered: 03 / 2005
Subject:

Re: Source Code Formatter for AVRco Pascal

 · 
Posted: 12.03.2013 - 11:32  ·  #11
Please find attached latest version.

There are various bug fixes and improvements.

please delete all old files before installing in same place.

There are two new rule files, tabular and indent. Tabular is the default, but you can change this by putting the line

{# rules indent}

in your source and beautifying it. You only need to do this once. Your choice is remembered for all files. (It is assumed that you only want to beautify one way).

BTW PDF file not yet updated. This will be done before final release.
Attachments
Filename: v1-2-0-0.zip
Filesize: 672.61 KB
Title:
Download counter: 5
Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1373
Registered: 03 / 2005
Subject:

Re: Source Code Formatter for AVRco Pascal

 · 
Posted: 13.03.2013 - 16:25  ·  #12
New version with various improvements and bug fixes. Please read 'Change History.Txt' for full details.
Attachments
Filename: v1-3-0-0.zip
Filesize: 405.7 KB
Title:
Download counter: 11
rh
Administrator
Avatar
Gender:
Location: Germany
Age: 24
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

Re: Source Code Formatter for AVRco Pascal

 · 
Posted: 17.03.2013 - 22:37  ·  #13
@all,
the new Beautifier is now intergrated into the AVRco system.
The well known Beautifier button can be used now to start this tool.
For experienced users the setup of this tool can be changed through the
Beautifier Setup menu.

rolf
Attachments
Source Code Formatter for AVRco Pascal
Filename: BeautyMenu.png
Filesize: 6.54 KB
Title:
Download counter: 88
Source Code Formatter for AVRco Pascal
Filename: BeautyBtn.png
Filesize: 1.12 KB
Title:
Download counter: 91
rh
Administrator
Avatar
Gender:
Location: Germany
Age: 24
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

Re: Source Code Formatter for AVRco Pascal

 · 
Posted: 24.03.2013 - 17:29  ·  #14
@all,

now it is possible to switch between the old/previous beautifier and the new one.
Dialog "IDE/General Options", see below.

rolf
Attachments
Source Code Formatter for AVRco Pascal
Filename: Beautifier.png
Filesize: 34.44 KB
Title:
Download counter: 68
Lschreyer
Schreiberling
Avatar
Gender: n/a
Posts: 526
Registered: 02 / 2007
Subject:

Re: Source Code Formatter for AVRco Pascal

 · 
Posted: 06.05.2013 - 21:33  ·  #15
Kann es sein das der neue nicht mit .inc-Dateien umgehen kann? Dort werden dann alle Einzüge entfernt, alles steht dann untereinander...

Louis
rh
Administrator
Avatar
Gender:
Location: Germany
Age: 24
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

Re: Source Code Formatter for AVRco Pascal

 · 
Posted: 07.05.2013 - 00:15  ·  #16
Hallo Louis,

bitte eine PM an Merlin posten.
Include Files sollten genauso behandelt werden wie PAS Files!

rolf
  • 1
  • 2
  • 3
  • Page 2 of 3
Selected quotes for multi-quoting:   0

Registered users in this topic

Currently no registered users in this section

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 20 · Cache Hits: 15   145   160 · Page-Gen-Time: 0.025746s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI