Jump to content
PeterPanettone

Bug in Delphi CODE INSIGHT?

Recommended Posts

Posted (edited)

When I create a new VCL Application from scratch in the Delphi 10.3.1 IDE with File -> New -> Windows VCL Application then everything including CODE INSIGHT works well. :classic_smile:

 

This newly created VCL Application project has the "Use MSBuild externally to compile" project option set to FALSE as default:

 

image.thumb.png.cd3bec94a689fec0856a30155ca2c8a4.png

 

But when I set the "Use MSBuild externally to compile" project option manually to TRUE: 

 

image.thumb.png.4cc93da90b4247b126460937a199ba58.png

 

...(and then rebuild the project) then CODE INSIGHT does not work anymore: This affects the Code Insight popup menu which normally is invoked after typing a DOT:

 

image.thumb.png.68145ea3efe60155167684e570bf5116.png

 

...and so the Code Insight popup menu does not show up anymore!

 

Question: Is this a BUG in the IDE?

 

Edited by PeterPanettone

Share this post


Link to post
12 minutes ago, Stefan Glienke said:

Maybe with the reworked tooling based on LSP in 10.4 it will work.

That would be like Christmas, Easter and birthday together.

  • Haha 1

Share this post


Link to post
1 minute ago, PeterPanettone said:

That would be like Christmas, Easter and birthday together.

Experience has told me to not get too excited yet 😉 

  • Haha 1

Share this post


Link to post
4 minutes ago, PeterPanettone said:

That would be like Christmas, Easter and birthday together.

But all on the same day........

Share this post


Link to post
16 minutes ago, Stefan Glienke said:

Experience has told me to not get too excited yet 😉

I also always try to avoid Πρόωρη εκσπερμάτωση. :classic_wink:

  • Haha 3

Share this post


Link to post
Quote

"Use MSBuild externally to compile"

Do you really need that feature still to avoid out-of-memory ?
In recent versions of the IDE this was much improved, and I haven't used it anymore since the last versions.

Share this post


Link to post
3 minutes ago, Rollo62 said:

In recent versions of the IDE this was much improved, and I haven't used it anymore since the last versions.

The memory consumption of the compiler highly depends on the code you are dealing with - heavy usage of otherwise harmless generics can quickly explode (I know this because I heavily worked on that subject as much as I could for spring4d 2.0)

Share this post


Link to post
19 minutes ago, Rollo62 said:

Do you really need that feature still to avoid out-of-memory ?

No, I often get projects where this option is set to True.

Share this post


Link to post

I suffered from "Out of Memory" quite some in different version of Delphi.

The latest sizeable project in Tokyo was a pain when trying to "Compile from here" some 4-5 projects.

I updated my DevEx library and the problem went away for Tokyo.

So - yes, these thing are dependent on multiple factors.

IMHO it is not an overly quaint demand to have a single Delphi user start the IDE as admin and debug.

So many 3rd party stuff (and some of Embas stuff is very 4th party...).

IMHO it's something akin to Windows itself. The new laptop works so beautifully until you install 100+ of apps, devices, drivers and whatnot.

Of course, i can be nostalgic and think of the CP/M MD-DOS times. We controlled everything but with that environ you cannot compete today. 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×