My list D2007 annoyances/todo's I would like to see resolved in D2008



Hello,

Now that D2008 is in work in progress and I have used 2007-version for a awhile I have short list of things that are annoying or todo/feature request(s). If someone of these is just product of using the IDE wrongly I hope someone will point me into right direction, and sorry of my bad English...

I will not list Obvious, "Faster this, Bigger that" - things. I (Would) think that this is already taken care of by Code Gear it self (hopefully) (And by FastCode and/or .basm dudes). (Would love to see that more efficient containers and some speed ups in object creation and destruction, because these would speed up very many programs "for free")

1. IDE can't find same set of files (Ctrl+Enter) than compiler
(complained this some time back in some .Ide group, but all I
got that "it should find..." answers, but clearly it will
not...)
A: Most of the time that I need to open file that is not
already Open I try to open it with Ctrl+Enter
from uses clause IDE just can't find it.
B: This I could live with, but when I go to dir'
where the file is I click Open,
it still can't find it.
Then I have to manually tell that I want to
open .pas file with that name (by writing .pas
after file name)
2. Containers (TList, TObjectList, TStrings...) should
have way to sort with compare function definer as
Object method (defined as of objcet).
Lack of This leads to extremely
weird code. I Can make public (enough) var which
is visible to compare function, and the object
who knows how the particular list should be
sorted is exposed to compare code, and I can
go around this (one solution I came up with
yesterday). But this is far from beigh thread
safe (if sorter is thread it could do this with
out any locks etc.)
3. Code Completion-Todo, When you have
object/component which you are not too
familiar with what you do is that you write
C. and hit Ctrl+Space and you browse the
list provided, when you find something that is
interesting you hit enter. Then maybe go
into code/help to see what it actually does.
if it was not what you expected, you want to
browse the list again. Would be cool that
when you would do Ctrl+Space again, and
while moving tha cursor to the C.|SomeProperty
that SomeProperty would stay selected, maybe
by (going left with crtl+Left Arrow etc)
so you could continue the adventures of that
mysterious class from where you where.
4. Generics, this is requested a very much,
and lack of generics makes some code
with (for example) TObjectList, with tons
of typecasts and is/as operators etc. to
make that list safe, or you must
make wrapper around that list to make
sure that only objects you expect will
go into that list, but this adds,
in some cases, very much of basically
unneeded code
5. Class Completion-enhancement. I would love
to give hints how Ctrl+Shift+C should
Complete class.
by writing
property Prop1: Integer; // default I think
property Prop2: Integer read F write Set;
property prop3: Integer read F write F;
property Prop4: Integer read Get;
and It would use private member with name
F+PropertyName, Get / Set gettera and setters
would be automatically created if I specify it
now I can make both but can't limit
(as far as I know) it at this level I would
like.)
6. D2007 will mess up my project files uses
clause. (D6 did know how to handle
this much better)
I have .inc file which tells what to compile
into the project. for example I have
{$IFDEF USE_FASTMM}FastMM4,{$ENDIF}
in the project files. When I add unit to the
project all the ifdef-stuff disappears from uses
clause. And have to manually fix it again.


OO, these I came up with too much thinking, ones I feel are important/annoying, which I need to face almost every day in my work... Hope to get feedback, and even better that most of these are User errors and there already is all/most of this available, I just don't know it :D

-Tommi Prami-
.



Relevant Pages

  • Re: Tool to detect unused units
    ... This is the case with the uses clause in the project file. ... entries from the unit and forms list of the IDE ... To assure that all class definitions needed for the streaming support ... of the interface part of a unit containing a form or data module ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: VB debug problem
    ... same with run to cursor. ... different folders or is employing utilities to manage files outside the IDE ... The "cure" is to shutdown VB and cleanout the project folders (VSS is very ... Make sure all project files are read/write. ...
    (microsoft.public.vb.general.discussion)
  • Re: How standard and interchangeable are XML config files?
    ... Bot Eclipse and NetBeans support ant build files. ... Project files contain very specific information about directory locations, selected options, libraries and the like. ... Move a project even to a different hard drive on the same computer, much less to another machine, much, much less to a different IDE, and things break. ...
    (comp.lang.java.programmer)
  • Re: Dont use the "use" clause
    ... The use clause is barred by coding standards for a good reason, ... don't think it's necessarily name collisions that drive this rule. ... And if you need to see the declaration, ... > IDE should have "go to declaration" button. ...
    (comp.lang.ada)
  • Re: Please please please fix the IDE
    ... but I think that the OPTION STRICT setting in the IDE ... and that the compiler was getting its reference from one place ... > class and the OPTION clause is not generated. ...
    (microsoft.public.dotnet.general)