Page 2 of 2

Re: IDE Suggestions

Posted: Fri Sep 16, 2011 6:58 pm
by Kuron
Zach wrote:Does PB remember when you assign an icon to an EXE after you compile it, and always use that icon in future compilations?
Yes, it saves that info in the source code file itself.
Zach wrote:I always use Projects.
I always do in other languages.

Re: IDE Suggestions

Posted: Fri Sep 16, 2011 7:04 pm
by skywalk
Yes, I thought about multiple PB instances, but I like to open with previous files loaded and then way too many debugger windows to manage. :(

Re: IDE Suggestions

Posted: Mon Sep 19, 2011 8:16 pm
by Zach
freak wrote:
Kuron wrote:
Zach wrote: 2)Move the Executable Icon setting from Compiler Options, to Project Options where it really belongs.
Besides the fact that this is a compiler option and not a project option as the icon is added to the EXE at compile time, this is a very bad idea as it would force people to use "projects". I do not like the way PureBasic handles projects, so I don't use them. I would move to another programming language before being forced to use PB's projects.
Would you share what it is that you don't like exactly? Just curious.
I'm also interested to hear what you think about Projects and what needs to be improved..


Also one more suggestion to add to the pot.. It would be nice if we could get a choice on the sidebar display (Tools Panel), either with a context menu presenting choices, or with an option to change the default double-click behavior. I would like to be able to double-click on a Variable, Procedure, or anything else relevant and instead of having it "insert" that selection into the current line, have it locate the actual declaration in the source, wherever it may be..

i.e If I create a new Map and then forget where I placed it in my file, I could go to the Tools Panel, browse through whats available in the list and double-click on the Map, to be taken to where it is used in my source code.. Kind of like a "Quick-Find"

Is there anything that works like that currently? (besides search/replace)

Re: IDE Suggestions

Posted: Tue Sep 20, 2011 8:05 pm
by Zach
I just thought of a couple more things, I hope other people would find useful if they are implemented..
Hopefully these two would only take minor edits to do, but then again, I don't know what goes into maintaining this stuff! :oops:
Apologies if any of this has been addressed by past questions, etc. Hope its not a tiring rehash a.k.a OOP requests

1) I think it would be useful if, when you decide to change the name of a variable, procedure, or whatever, the IDE picks up on the fact you changed it and asks you if you would like to refactor your source code to update all occurrences of the old name, to the new name.

This would be very useful if I decided to rename something that is referenced in a dozen different spots, across a dozen project files! It can work equally well whether your use a Single file, or a handful of files in a Project by using file Include statements as a guide for what files to check in addition to the currently open source file.


2) Has anyone ever brought up block comments? I really miss having the ability to write huge blocks of commented text with simple Open/Close symbols like are available in a lot of other languages. I realize not every language allows for block comments but I was wondering if there is any specific reason PB does not offer this. I will probably start a new thread to ask if there are workarounds for this via some IDE plugin/tool or other method. But just thought I would ask about this too.

Re: IDE Suggestions

Posted: Tue Sep 20, 2011 9:08 pm
by Tenaja
Zach wrote:I just thought of a couple more things, I hope other people would find useful if they are implemented..
Hopefully these two would only take minor edits to do, but then again, I don't know what goes into maintaining this stuff! :oops:
Apologies if any of this has been addressed by past questions, etc. Hope its not a tiring rehash a.k.a OOP requests

1) I think it would be useful if, when you decide to change the name of a variable, procedure, or whatever, the IDE picks up on the fact you changed it and asks you if you would like to refactor your source code to update all occurrences of the old name, to the new name.

This would be very useful if I decided to rename something that is referenced in a dozen different spots, across a dozen project files! It can work equally well whether your use a Single file, or a handful of files in a Project by using file Include statements as a guide for what files to check in addition to the currently open source file.


2) Has anyone ever brought up block comments? I really miss having the ability to write huge blocks of commented text with simple Open/Close symbols like are available in a lot of other languages. I realize not every language allows for block comments but I was wondering if there is any specific reason PB does not offer this. I will probably start a new thread to ask if there are workarounds for this via some IDE plugin/tool or other method. But just thought I would ask about this too.
1. Seems like it would be a handy feature.
2. workaround: compilerif 0 insert long comment here endcompilerif (or is it compilerifend?)

The crummy thing about the workaround is the formatting is kept, so all of your text keywords (i.e. if, while, etc) have the case jacked up.

Re: IDE Suggestions

Posted: Wed Nov 09, 2011 9:05 pm
by Zach
It looks like some of the Project suggestions were implemented, I think it even links files together without the need for Xinclude..

Thank you :mrgreen: