Delphi Berlin slow after migrating from a Delphi Seattle project

Asked

Viewed 1,376 times

4

I migrated a project made in Delphi Seattle to Delphi Berlin and it became impossible to work on it because the autocomplete started to take about 20 seconds to show some suggestion.

How to solve this?

2 answers

5


To resolve this issue I deleted the file dproj and opened the project on Berlin using the file dpr. The Berlin created a new dproj and everything became normal again.

  • I don’t think that’s a solution, creating the dproj is normal in several versions of Delphi. Now about the autocomplete slow down, this you arrange by configuring correctly the CodeInsight (by default comes all messed up)

  • It is @Júniormoreira. You can believe :-) The settings for Code Insight are identical between the two versions of Delphi and my project is much smaller than yours. When I did that I described everything went back to normal.

  • To complement your answer, you could put the diff between the 2 dproj, right ?

  • @Victortadashi Who knows another day. The diff It got too big and I don’t have time to filter it and put what’s relevant here because I have a project to deliver by Friday. My intention here was to help someone with the same problem to solve quickly.

2

The Auto Complete must be configured in the Code Insight. The pattern configured in the installation in medium projects with some extra components causes slowness.

Tools>Options>Editor Options>Code Insight

In the current project I work (13 extra components) more than 600 Units... It gets very slow, exactly as you mentioned, 20 seconds or more if you score:

Auto invoke
Auto parenthesis
History

The Delay can cause slowness too

Browser other questions tagged

You are not signed in. Login or sign up in order to post.