Use Predictive Code Completion Flashcards

(16 cards)

1
Q

How is predictive code completion visually displayed in the ABAP source code editor?

A

As ghost text in grey, appearing automatically during the coding process.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How can you toggle predictive code completion on or off?

A

By selecting Toggle Automatic Triggering of Predictive Code Completion in the toolbar or via
Window > Preferences > Source Code Editors > Code Completion and adjusting Trigger predictive code completion.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When does the toolbar toggle for predictive code completion appear?

A

Only when a supported object type is opened and in focus in the source code editor.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What key do you press to accept the entire ghost text?

A

Press Tab or click the ghost text.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

hat are the shortcuts to accept parts of the ghost text?

A

Ctrl + Down → Accept next line

Ctrl + Right → Accept next word

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do you discard the ghost text?

A

Press Esc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How can you manually trigger predictive code completion?

A

Use Alt + J on Windows or Option + J on Mac, even if predictive code completion is disabled.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Where can you change the manual trigger shortcut for predictive code completion?

A

In Window > Preferences > Keys, search for Trigger Predictive Code Completion.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the key bindings toolbar and how can you disable it?

A

It shows the shortcuts above ghost text and can be disabled via
Window > Preferences > Source Code Editors > Code Completion by unchecking Show key bindings when ghost text is visible.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What happens if both code completion and predictive code completion are enabled?

A

Predictive code completion takes precedence, and regular code completion won’t trigger while typing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which characters always trigger code completion regardless of predictive settings?

A

-, ~, ->, =>, \

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Where can you check and configure predictive and regular code completion settings?

A

In Window > Preferences > Source Code Editors > Code Completion.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What accessibility option exists for predictive code completion in Eclipse?

A

You can enable Show proposals in a dialog box for better screenreader support.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Where do you enable predictive code completion proposals as a dialog?

A

In Window > Preferences > ABAP Development > Accessibility > Predictive Code Completion.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the side effect of enabling the accessibility dialog mode for predictive code completion?

A

Automatic predictive code completion is disabled, but you can still trigger it manually.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How can you quickly toggle predictive code completion using the search?

A

Press Ctrl + 3, then type Toggle Automatic Triggering of Predictive Code Completion.