PB IDE plugin : smart indent, remove spaces, autocompletions

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post by eddy »

WIP
revritting spacing function
Last edited by eddy on Wed Aug 19, 2009 7:47 am, edited 2 times in total.
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post by eddy »

v3.9b released
- PB4.40 code
- fixed installer
- theme support : new icons for silk theme
- revritting spacing function :
math operators, comparison operators

:arrow: v3.9beta - Download >> PureBasic Editor Extension
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
User avatar
Kiffi
Addict
Addict
Posts: 1484
Joined: Tue Mar 02, 2004 1:20 pm
Location: Amphibios 9

Post by Kiffi »

Hello eddy,

yesterday i want to test your PureEditorExtension (with PB4.4 B2)
and i get the following errormessage in an endless-loop:
PureEditorExtension Error wrote:Sci=15008634
PB=131434
ErrorFile=D:\PureBasic\Examples\External Tool Sources\PureEditorExtensionDLL.pb
ErrorCode=-1073741819
ErrorLine= [different; sometimes 1782; in most cases 80]
Greetings ... Kiffi

// Edit: This only happens on IDE-Load while restoring the recent files
PureBasic.prefs wrote:[...]
[OpenedFiles]
Count = 1
OpenedFile_1 = D:\sources\myTestSource.pb
OpenedProject = D:\sources\myTestProject.pbp <-- myTestProject.pbp includes myTestSource.pb
[...]
if i remove OpenedFile_1 or OpenedProject,
PureEditorExtension works as expected.
Hygge
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post by eddy »

Disable the automatic formatting option in the first tab
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Re: PB IDE plugin : smart indent, remove spaces, autocomplet

Post by eddy »

With the last PB version, it's time to say byebye to the "smart indent" functionnality. :mrgreen:

Now few things miss in the IDE:
- code beautifier (fix spacings)
- auto-complete (using RETURN key)
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PB IDE plugin : smart indent, remove spaces, autocomplet

Post by Fred »

For the autocomplete RETURN key, you can set it in the preference, no ?
Foz
Addict
Addict
Posts: 1359
Joined: Tue Nov 13, 2007 12:42 pm
Location: Manchester, UK

Re: PB IDE plugin : smart indent, remove spaces, autocomplet

Post by Foz »

I think he is talking about when you type in a full line, it then adds the other line:

Code: Select all

If a = b<press Return here>
EndIf <-- Added automagically on the press of the Return
If I haven't got the wrong end of the stick, then +1 :D
PureLust
Enthusiast
Enthusiast
Posts: 477
Joined: Mon Apr 16, 2007 3:57 am
Location: Germany, NRW

Re: PB IDE plugin : smart indent, remove spaces, autocomplet

Post by PureLust »

Hi eddy,

is this whole thing obsolete now, or are your PB-Extensions still usable/helpful with PB 4.60?

If it will still supports 4.60, it would be nice if you could upload it again, because the filehoster you have used has removed your files already.
(If you are looking for a reliable(?) Filehoster, you may have a look at Alexanders free filehosting Service.)

Thanks and greets,
PL.
[Dynamic-Dialogs] - create complex GUIs the easy way
[DeFlicker] - easily deflicker your resizeable Windows
[WinFX] - Window Effects (incl. 'click-through' Window)
Post Reply