cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ADT Code Completion is Slow

2,032

Hello all,

I just started working with Eclipse + ADT and noticed that the code completion is really quite slow. It takes ~ 300ms for the next keyword to show up.

Coming from SE38 this is a HUGE step down, performance-wise and also with regards to the user experience, since in SE38 the next keyword was suggested instantly.

With Eclipse I program twice as slow now, compared to SE38 simply because of the massive wait times I have to endure and because I have gotten used to the snappy-ness of SE38 causing me to press tab before the code-completion pop up had a chance to show up.

Since I can only barely type 'field-symbol' in the time it would otherwise take for the suggestion to pop up, I wonder, is there a quick fix (pun intended) for this, to reduce the pop up times?

I realize, Eclipse does provide this funtionallity, but only for languages such as C++ or Java.

Accepted Solutions (0)

Answers (1)

Answers (1)

RaquelSouza96
Explorer

Good Nigth
My Name is Raquel Souza
I'm from Brazil

Yes, this is a common issue in Eclipse with ADT (ABAP Development Tools). SE38 is much faster because it is a native SAP GUI tool, while Eclipse processes more information and depends on specific settings.

Here are some solutions to improve code completion performance in Eclipse with ADT: ### 1.
Adjust Auto Complete Display Time Eclipse allows you to configure the code completion activation time.
To adjust this:
1. Go to Window > Preferences.
2. Navigate to Abap Development > Editors > Source Code Editors > Code Completion.
3. Adjust the Completion Delay to a lower value, such as 50 ms.
4. Uncheck unnecessary options that may be hogging the resource.
### 2. Increase Eclipse Memory If Eclipse is running low on memory,
it may affect performance.
To increase memory:
1. Open the `eclipse.ini` file in the Eclipse installation folder.
2. Modify or add these lines: ``` -Xms512m -Xmx2048m ``` This will increase the memory allocation and may improve performance.

Good luck !

I hope I

GenAI was used to help generate this content.

0 Likes
AI slop.