Question: When I enter 'data' in the Python code, this haunts after I push 'return' key. What should I do/disable?

[![When I enter 'data' in the Python code, this haunts after I push 'return' key.](https://i.stack.imgur.com/g1Oue.png)](https://i.stack.imgur.com/g1Oue.png)

Answer: 
To complet @Minhaz, you can also disable `acceptSelectedSuggestionOnEnter`, selections will only be accepted with TAB (but you can edit it with the Keyboard Shorcuts `acceptSelectedSuggestion`).

To do that, go into :

> 
> File -> Preferences -> Keyboard Shorcuts
> 
> 
> 

find `acceptSelectedSuggestionOnEnter`, right-click on, then click `Remove Keybinding`.
In settings, search `snippet`, choose `inline` for `Snippet Suggestions` instead of `top`. This will prevent these snippets occupying top lines. 

[![enter image description here](https://i.stack.imgur.com/8829k.png)](https://i.stack.imgur.com/8829k.png)