Page 1 of 1

PBCodeFarmer (beta2) - IDE auto-indent on the fly

Posted: Fri Jan 18, 2008 5:40 am
by eddy
moved : http://www.purebasic.fr/english/viewtopic.php?t=31689


Features :
- enable / disable auto-indent on the fly (directly after pressing RETURN or *SPACE key)
- enable / disable debugger
- auto insert toolbar icon
- dropdown menu for futur features

How to use :
- unzip this file
- add and configure this tool (look below)
PB Code Farmer ( beta2 )
TODO LIST
- start single instance for each editor
- new feature : clean paste code

(configuration example below)
Image

Posted: Fri Jan 18, 2008 5:56 am
by chen
Im gonna tested it... but

Does it run in Linux?

I can answer myselft... its an exe an a DLL then only windows....

Hope you can do it for Linux...

Posted: Fri Jan 18, 2008 5:58 am
by nicolaus
Wat dose this "Code Framer" ?

Posted: Fri Jan 18, 2008 10:47 am
by eddy
this program add "auto-indent" functionality ( like Japbe )

Code: Select all

select
case
xxx
default
xxx 
endselect <----- type return key

Code: Select all

select
    case
        xxx
    default
        xxx 
endselect 

Posted: Fri Jan 18, 2008 12:49 pm
by GG
Doest it insert <space> to indent or <TAB> ?

Posted: Fri Jan 18, 2008 8:53 pm
by eddy
GG wrote:Doest it insert <space> to indent or <TAB> ?
TAB if you enable 'real TAB' option in your preference panel.

Posted: Wed Jan 23, 2008 12:24 pm
by HeX0R
chen wrote: Does it run in Linux?

I can answer myselft... its an exe an a DLL then only windows....

Hope you can do it for Linux...
You can build one on your own for Linux:
Source

Posted: Wed Jan 23, 2008 4:00 pm
by eddy
It's not a cross-platform tool. ( a lot of win$ API functions ) :oops:

Posted: Wed Jan 23, 2008 4:23 pm
by blueznl
Euh, do you care to share the source?

Posted: Fri Jan 25, 2008 3:52 am
by eddy
PB Code Farmer beta 2 is out...

Ok I'll send the API window hook example. "overloading scintilla callback"

Posted: Mon Jan 28, 2008 3:18 pm
by techjunkie
Very nice... Works like a charm! 8) Thanks.