remove empty lines (jaPBe plugin)

Developed or developing a new product in PureBasic? Tell the world about it.
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

remove empty lines (jaPBe plugin)

Post by nicolaus »

Hi,

today i have a smal plugin for jaPBE wat removes all empty lines from the source code.
I hate so many empty lines in code and so i have build this small plugin.
To show wat i mean here a example:

Code before the plugin clean it:

Code: Select all

Global my_war.s

Procedure Test()

  ProcedurReturn 0

EndProcedure

Repeat
  
  WaitWindowEvent()

ForEver
After the plugin have clean the code

Code: Select all

Global my_war.s
Procedure Test()
  ProcedurReturn 0
EndProcedure
Repeat
  WaitWindowEvent()
ForEver
Ok you can download the plugin HERE as a 7zip archiv.

To config the plugin in jaPBe take a look at the image

Image

The plugin create a backup file (with the pattern ".relbkp") in the same directory where the main source is.

regrads,
Nico