[REQ] Auto-Declare and remainder of auto-complete

Working on new editor enhancements?
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

[REQ] Auto-Declare and remainder of auto-complete

Post by Shannara »

1. Auto Declare. I looked in the preferences, and there is no option to auto create declare files. This is currently a non-working feature in jaPBe, but it would be nice to have in the official editor.

2. Hmm, seems like the 3.94 auto-complete works for everything but user defined variables, structures, arrays, linklists, etc. For instance, it gives the correct auto-complete and cases with native commands and variables/constants, but not with user-defined. I does a partial auto-complete by completing the word, but not the cases.

I figured, hey, it does it completely with native commands, why not user defined ones?
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

nobody knows :-) and indeed it's pretty sure on the wishlist of everyone :-)

like backups... <shudder>
( 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... )
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Re: [REQ] Auto-Declare and remainder of auto-complete

Post by Trond »

Shannara wrote:I does a partial auto-complete by completing the word, but not the cases.

I figured, hey, it does it completely with native commands, why not user defined ones?
It corrects the case on custom procedures here, do you have the latest version?
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

^^3.94^^
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

I mean, do you have plain 3.94 or 3.94 hotfix release? Is your exe 850 944 bytes and built on 10/05/2005 - 17:52:53? (Check it's properties)
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

Mine is .. Wednesday, August 17, 2005, 12:32:12 AM

Ergh, It would be nice if Fred would announce PB updates. Would be quite helpful.
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

Hmm, this feature have been removed in PB 4.0B3, any chance to get it back in?
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

There was never any case correction for selfwritten Procedures. (only Keywords, LibraryFunctions and Constants)
quidquid Latine dictum sit altum videtur
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

Thats autocomplete, not the case correction. It will do the case correcting, but only if you have set it to pop up automatically.
quidquid Latine dictum sit altum videtur
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Well, the case IS corrected.
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

your right Trond, but only as freak said. As I type this, if you create any global variables and such, there is no case correction, even with popups.
Post Reply