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

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

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

Post 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
Last edited by eddy on Sat Mar 29, 2008 8:29 pm, edited 14 times in total.
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
chen
Enthusiast
Enthusiast
Posts: 338
Joined: Fri Dec 23, 2005 2:20 pm
Location: Quebec, Canada
Contact:

Post 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...
Last edited by chen on Fri Jan 18, 2008 5:59 am, edited 1 time in total.
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

Wat dose this "Code Framer" ?
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post 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 
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
User avatar
GG
Enthusiast
Enthusiast
Posts: 266
Joined: Tue Jul 26, 2005 12:02 pm
Location: Lieusaint (77), France

Post by GG »

Doest it insert <space> to indent or <TAB> ?
Purebasic 6.12 64 bits - Windows 11 Pro 64 bits 23H2
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post by eddy »

GG wrote:Doest it insert <space> to indent or <TAB> ?
TAB if you enable 'real TAB' option in your preference panel.
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
User avatar
HeX0R
Addict
Addict
Posts: 1187
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

Post 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
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post by eddy »

It's not a cross-platform tool. ( a lot of win$ API functions ) :oops:
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

Euh, do you care to share the source?
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post by eddy »

PB Code Farmer beta 2 is out...

Ok I'll send the API window hook example. "overloading scintilla callback"
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
techjunkie
Addict
Addict
Posts: 1126
Joined: Wed Oct 15, 2003 12:40 am
Location: Sweden
Contact:

Post by techjunkie »

Very nice... Works like a charm! 8) Thanks.
Image
(\__/)
(='.'=) This is Bunny. Copy and paste Bunny into your
(")_(") signature to help him gain world domination.
Post Reply