Does any know of a configurable source code beautifier for Free Basic? I'm looking for something where the user can set the degree of indentation, etc.; something like INDENT for C source code.
Thanks
Configurable source code beautifier for FB
FBStyle
Garvan O'Keefe wrote a FreeBASIC code formatting utility many moons ago. The description from
http://www.freewebs.com/weekendcode/Console.htm
says
FBStyle
This is a conversion of my BASIC code formatting utility to FreeBASIC source code and FreeBASIC syntax. The main motivation behind the conversion was to use the utility with my Linux setup. This program was original developed from CHANGECASE above with other programmers adding the indenting capability. Conversion to FreeBASIC involved some simple syntax changes, and new sections to tackle indenting module level code.
Download Source:
http://www.freewebs.com/weekendcode/fbstyle.zip
Robert Wishlaw
http://www.freewebs.com/weekendcode/Console.htm
says
FBStyle
This is a conversion of my BASIC code formatting utility to FreeBASIC source code and FreeBASIC syntax. The main motivation behind the conversion was to use the utility with my Linux setup. This program was original developed from CHANGECASE above with other programmers adding the indenting capability. Conversion to FreeBASIC involved some simple syntax changes, and new sections to tackle indenting module level code.
Download Source:
http://www.freewebs.com/weekendcode/fbstyle.zip
Robert Wishlaw
Re: Configurable source code beautifier for FB
Anyway to get this now?
Re: Configurable source code beautifier for FB
It would be of great assistance if there was an IDE something like what VB6 or .Net has. If I could step through a program, one line at a time and see the results, it would be most helpful. The current editors do not catch anything which is not an error, but simply does not work, or work properly.
Re: Configurable source code beautifier for FB
There is the FreeQ ide that does SOME for you depending on the complexity.
Load up your fb code then press F4.
Tabs, spaces are in the FreeQ configuration
http://rapidq.phatcode.net/FreeQ/
There are some differences between FB and rapidq, but they are similar. The sourcecode link is at the top of the page.
Jk
Load up your fb code then press F4.
Tabs, spaces are in the FreeQ configuration
http://rapidq.phatcode.net/FreeQ/
There are some differences between FB and rapidq, but they are similar. The sourcecode link is at the top of the page.
Jk
Re: Configurable source code beautifier for FB
markem wrote:Anyway to get this now?
It is now at
http://weekendcode.phatcode.net/
It's in the Software section listed as FBStyle.
Check out Garvan's other quality FreeBASIC tools and utilities. Top shelf items.
-
- Posts: 2958
- Joined: Jun 02, 2015 16:24
Re: Configurable source code beautifier for FB
Hi, I heard that *Geany* did that in the past. I can't be sure since it was some linux users speaking.
A search in the forum with beautify keyword may well return something anyway.
https://www.geany.org/
A search in the forum with beautify keyword may well return something anyway.
https://www.geany.org/
Re: Configurable source code beautifier for FB
Tourist Trap wrote:Hi, I heard that *Geany* did that in the past. I can't be sure since it was some linux users speaking.
A search in the forum with beautify keyword may well return something anyway.
https://www.geany.org/
There is FBeauty.bas, a Geany custom command for code beautyfying, but this does not do code indenting.
Who is online
Users browsing this forum: No registered users and 14 guests