Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Auto complete instead of new line on line end ====== ===== Problem ===== This is known issue that, when you type text and want to enter new line by hitting Enter on a line end, you get autocompleted text shown to you in Code Hint (can be something from already typed text, code template etc). __Example:__ - you type on empty line "else" (in PHP) - you type rather fast and Hit Enter to add a new line - instead of a new line, you get "elseif" typed :-( __Reason:__ You maybe have not noticed, but editor suggested you a completion in [[editing:auto_completion:hints|Code Hint]] tooltip, and when you hit Enter, editor recognized this as "Code Hint Agree" command and inserts completion. ===== Solution ===== Actually, there is no 100% nice solution. But some workarounds: * This can be adjusted by [[options:xml:code-hint-delay|delaying timeout when Code Hint is shown]], so you can hit Enter before Code Hint appear. * You can remove Enter from Code Hint Agree keys, so that you can [[options:xml:code-hint-agree-by-return|accept Code Hint only by Tab]]. * You can [[options:code-completion:start|disable Code Hints]] at all :-/ If you have a good idea, how to solve the issue better, send us a proposal ;-)