[IDE Tool] LazyCoder

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: [IDE Tool] LazyCoder

Post by chi »

AZJIO wrote: Fri Oct 29, 2021 5:37 pm For interest, I tried inserting 1769 functions. It turns out you need a lower case, I did that too. It seems to work.
Download LazyCoder.pref.zip
Thanks for sharing! The lower case thingy for example is one of the stupid decisions I was talking about...

Edit: Type extensions like .d or .f don't work with LazyCoder ;(. Another missed opportunity ^^. The project evolved from a simple "Proof of Concept" to what it is now and I didn't see the whole picture back then...
Et cetera is my worst enemy
User avatar
ChrisR
Addict
Addict
Posts: 1127
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: [IDE Tool] LazyCoder

Post by ChrisR »

I discover, it's a great idea
When it comes to simplifying things, I guess that we are all LazyCoders.
It would be nice if it had, in addition, an autocompletion function
And even better if it could be integrated directly on PB auto completion.
Thanks for sharing :)
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: [IDE Tool] LazyCoder

Post by chi »

ChrisR wrote: Sun Oct 31, 2021 7:17 pm I discover, it's a great idea
When it comes to simplifying things, I guess that we are all LazyCoders.
It would be nice if it had, in addition, an autocompletion function
And even better if it could be integrated directly on PB auto completion.
Thanks for sharing :)
You're welcome... Glad you like it.
Yes, auto completion would be nice :wink:
Et cetera is my worst enemy
Jeromyal
Enthusiast
Enthusiast
Posts: 204
Joined: Wed Jul 17, 2013 8:49 am

Re: [IDE Tool] LazyCoder

Post by Jeromyal »

This is impressive.

I have found that the "Open Preferences" tool button only opens something blank Untitled file.

Is this intentionally not opening the real preference file and creating a user preference file in order to not disturb the distributed preference file? or is this a bug?
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: [IDE Tool] LazyCoder

Post by chi »

Jeromyal wrote: Mon Feb 28, 2022 2:52 pm This is impressive.

I have found that the "Open Preferences" tool button only opens something blank Untitled file.

Is this intentionally not opening the real preference file and creating a user preference file in order to not disturb the distributed preference file? or is this a bug?
I can't reproduce this bug, sorry. Do you have write permissions where the prefs file is stored?
Et cetera is my worst enemy
Jeromyal
Enthusiast
Enthusiast
Posts: 204
Joined: Wed Jul 17, 2013 8:49 am

Re: [IDE Tool] LazyCoder

Post by Jeromyal »

Yes.
I am glad you asked this question. I had file access speed issues that I had to resolve with an application of mine while using OneDrive. I am assuming that the extra drive activity that it begins doing to synchronize is just enough to cause failures.
I actually fixed the issue with a conditional to catch errors.
for some reason this error checking makes it work.

Code: Select all

info = RunProgram(tmp$ + "compilers\pbcompiler.exe", "/version", "", #PB_Program_Wait | #PB_Program_Hide | #PB_Program_Open | #PB_Program_Read)
If info
  AddGadgetItem(#list_ide, -1, StringField(ReadProgramString(info), 1, ")") + ")" + Chr(10) + tmp$ + "PureBasic.exe")
EndIf
I have your tool in OneDrive as well.
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: [IDE Tool] LazyCoder

Post by chi »

Jeromyal wrote: Tue Mar 01, 2022 5:52 pm Yes.
I am glad you asked this question. I had file access speed issues that I had to resolve with an application of mine while using OneDrive. I am assuming that the extra drive activity that it begins doing to synchronize is just enough to cause failures.
I actually fixed the issue with a conditional to catch errors.
for some reason this error checking makes it work.

Code: Select all

info = RunProgram(tmp$ + "compilers\pbcompiler.exe", "/version", "", #PB_Program_Wait | #PB_Program_Hide | #PB_Program_Open | #PB_Program_Read)
If info
  AddGadgetItem(#list_ide, -1, StringField(ReadProgramString(info), 1, ")") + ")" + Chr(10) + tmp$ + "PureBasic.exe")
EndIf
I have your tool in OneDrive as well.
So I guess it's working now?! I don't use OneDrive :)
Et cetera is my worst enemy
Jeromyal
Enthusiast
Enthusiast
Posts: 204
Joined: Wed Jul 17, 2013 8:49 am

Re: [IDE Tool] LazyCoder

Post by Jeromyal »

[/quote]So I guess it's working now?! I don't use OneDrive :)
[/quote]

Mine is. I am saying maybe yours is doing this behavior for similar reasons.
It is not a breaking error with yours though. I can just navigate to the prefs file in the explorer to open it if I wish.
I just thought I would ask about it, wondering if it creates a separate preference file as a user space that gets used simultaneously with your default.
Then what you said reminded me of my woes of last night.
No worries. I love this tool.

Also I kind of don't want to use OneDrive :D it serve my current needs though sadly enough.
Post Reply