A complete code browser for PureBasic [Windows]

Working on new editor enhancements?
User avatar
le_magn
Enthusiast
Enthusiast
Posts: 300
Joined: Wed Aug 24, 2005 12:11 pm
Location: Italia

Re: A complete code browser for PureBasic [Windows]

Post by le_magn »

Hi Zapman, if you try to compile the sources with PB6.20 or later, you'll get an error. It works fine with 6.12. Check this thread:https://www.purebasic.fr/english/viewto ... 76#p637976
Image
User avatar
Zapman
Enthusiast
Enthusiast
Posts: 206
Joined: Tue Jan 07, 2020 7:27 pm

Re: A complete code browser for PureBasic [Windows]

Post by Zapman »

le_magn wrote: Sun Mar 23, 2025 1:10 pm Hi Zapman, if you try to compile the sources with PB6.20 or later, you'll get an error. It works fine with 6.12
Hello le_magn,
Thank you very much for your feedback. I can't reproduce the problem on my system, neither with PB6.2 x64 nor PB6.2 x86.
Could you point me to the line where the error occurs?
User avatar
le_magn
Enthusiast
Enthusiast
Posts: 300
Joined: Wed Aug 24, 2005 12:11 pm
Location: Italia

Re: A complete code browser for PureBasic [Windows]

Post by le_magn »

Hi Zapman, i take a screenshot of the error:
Image
Image
User avatar
Zapman
Enthusiast
Enthusiast
Posts: 206
Joined: Tue Jan 07, 2020 7:27 pm

Re: A complete code browser for PureBasic [Windows]

Post by Zapman »

le_magn wrote: Sun Mar 23, 2025 3:00 pm Hi Zapman, i take a screenshot of the error:
Thank you very much. I'll fix that tomorrow.
Last edited by Zapman on Mon Mar 24, 2025 11:04 am, edited 1 time in total.
User avatar
Zapman
Enthusiast
Enthusiast
Posts: 206
Joined: Tue Jan 07, 2020 7:27 pm

Re: A complete code browser for PureBasic [Windows]

Post by Zapman »

le_magn wrote: Sun Mar 23, 2025 3:00 pm Hi Zapman, i take a screenshot of the error
Hello le_magn,
After examining the files, I see that there are no problems with the current version of "TOM_Functions.pbi".
The version shown in your screenshot is not the current version. It seems that you didn't perform a full program update, or you didn't open the correct folder when compiling.
User avatar
le_magn
Enthusiast
Enthusiast
Posts: 300
Joined: Wed Aug 24, 2005 12:11 pm
Location: Italia

Re: A complete code browser for PureBasic [Windows]

Post by le_magn »

Hi, i try again, deleting all pbbrowser source, download it again and same error on compiling, i try also with a clean Purebasic installation and same result, TOM_Functions is version 1.3
p.s. this is not a real problem, i can modify the code by removing ".i" or compile it with 6.12

UPDATE: I cheched TOM in your website and i found a version 2, but in the pbbrowser are included the 1.3
If I replace TOM 1.3 with TOM 2 I get several errors for duplicate procedure names etc. due to the FontDescription file
Image
SMaag
Enthusiast
Enthusiast
Posts: 385
Joined: Sat Jan 14, 2023 6:55 pm
Location: Bavaria/Germany

Re: A complete code browser for PureBasic [Windows]

Post by SMaag »

I downloaded source of V 1.01, Compiling with PB6.21!

There are some issues with the SourceProject File.
Once selected it is nearly not possible to change. I have to Quit first, then it change but not analyze.

Try to analize the PB-IDE Sourcecode. From https://github.com/fantaisie-software/purebasic.
It analyze but only show the Files list.
It do not list Stuctures, Procedures ...

During analyze of an other project with errors. PB-Browser hangs in analyzing constants and never finish.
In that case, it is not possible to quit. I had to open the preference file with and editor and remove the projekt file.
acreis
Enthusiast
Enthusiast
Posts: 251
Joined: Fri Jun 01, 2012 12:20 am

Re: A complete code browser for PureBasic [Windows]

Post by acreis »

Thanks, seems fantastic ide tool.

I can't use ite due error: "Unable to retreive the item 206" "206 is menu handle" "The search was BY COMMAND"

Any hints?
Randy Walker
Addict
Addict
Posts: 1265
Joined: Sun Jul 25, 2004 4:21 pm
Location: USoA
Contact:

Re: A complete code browser for PureBasic [Windows]

Post by Randy Walker »

WOW!!! This really is Super Fantastic!!! Far Far Better Than "nice", as someone put it.
THANKS for sharing Zapman!!!! :!: :!: :!: :!:
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Nothing is faster, more stable, or easier to maintain than code that doesn’t exist. :mrgreen:
Randy Walker
Addict
Addict
Posts: 1265
Joined: Sun Jul 25, 2004 4:21 pm
Location: USoA
Contact:

Re: A complete code browser for PureBasic [Windows]

Post by Randy Walker »

Randy Walker wrote: Sat Feb 14, 2026 8:52 pm WOW!!! This really is Super Fantastic!!! Far Far Better Than "nice", as someone put it.
THANKS for sharing Zapman!!!! :!: :!: :!: :!:
Hmmm. maybe not so great. Cannot get it to work as advertised in the demo video. Maybe my file is too large for it to digest, and took a long time to digest 33000+ lines. Ctrl+Q does not open it reliably Lots of Not Responding up in the titlebar.
Last edited by Randy Walker on Fri Feb 20, 2026 7:05 pm, edited 1 time in total.
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Nothing is faster, more stable, or easier to maintain than code that doesn’t exist. :mrgreen:
User avatar
le_magn
Enthusiast
Enthusiast
Posts: 300
Joined: Wed Aug 24, 2005 12:11 pm
Location: Italia

Re: A complete code browser for PureBasic [Windows]

Post by le_magn »

Randy Walker wrote: Sun Feb 15, 2026 12:24 am
Randy Walker wrote: Sat Feb 14, 2026 8:52 pm WOW!!! This really is Super Fantastic!!! Far Far Better Than "nice", as someone put it.
THANKS for sharing Zapman!!!! :!: :!: :!: :!:
Hmmm. maybe not so great. Cannot get it to work as advertised in the demo video. Maybe my file is too large for it to digest, and took a long time to digest 3300+ lines. Ctrl+Q does not open it reliably Lots of Not Responding up in the titlebar.
Very strange, it works great for me, with individual files with more than 4,000 lines of code and entire projects that have as many as 15k+20k lines of code.
Image
User avatar
Michael Vogel
Addict
Addict
Posts: 2860
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: A complete code browser for PureBasic [Windows]

Post by Michael Vogel »

Thanks for this great tool!

I've downloaded the version 1.01 and got some errors because there are twelve elements in a gadget list but the last two elements do not have ID's.

I added the following lines within the PrefWindows source code for a quick fix:

Code: Select all

Procedure PW_SetFontsToPWGadgets()
	:
	Next
	ForEach PBBParameters()
		If PBBParameters()\Category$;							<-- added
			If IsGadget(PBBParameters()\TitleGadget)
				:
			EndIf;										<-- added
		EndIf
	Next
	:
EndProcedure
I am a little bit unsure about the search function. I've added the line...

Code: Select all

Protected i.i, ii.i, iii.i
...somewhere in a procedure of the PBBrowser file and tried to search for 'i', 'ii' and 'iii'. When searching for 'i' or 'ii' the search terms get replaced by 'IncludeMacrosIntoProcedure' and 'IID_ITextFont2  (Label)'.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5667
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: A complete code browser for PureBasic [Windows]

Post by Kwai chang caine »

Very very nice tool, i only see it ever since I became somewhat interested in the IDE of pb :oops:

And i'm already impressive by the professional look of the help and installing :shock:
But i didn't go any further, because the installation didn't work on my numerous portables versions of PB, which are handled strangely with an external exe create by me, and it's normal that your installer can't find its way around my mess and my tinkering, so don't worry about it :wink:
Thanks a lot for sharing this jewel and again congratulation for your big works 8)
ImageThe happiness is a road...
Not a destination

PureBasic French Forum
Post Reply