Page 3 of 3

Re: [IDE Tool] LazyCoder

Posted: Fri Oct 29, 2021 6:16 pm
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...

Re: [IDE Tool] LazyCoder

Posted: Sun Oct 31, 2021 7:17 pm
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 :)

Re: [IDE Tool] LazyCoder

Posted: Mon Nov 01, 2021 6:48 am
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:

Re: [IDE Tool] LazyCoder

Posted: Mon Feb 28, 2022 2:52 pm
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?

Re: [IDE Tool] LazyCoder

Posted: Tue Mar 01, 2022 11:51 am
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?

Re: [IDE Tool] LazyCoder

Posted: Tue Mar 01, 2022 5:52 pm
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.

Re: [IDE Tool] LazyCoder

Posted: Tue Mar 01, 2022 7:25 pm
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 :)

Re: [IDE Tool] LazyCoder

Posted: Tue Mar 01, 2022 7:37 pm
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.