editing:auto_completion:hint_on_line_end

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
editing:auto_completion:hint_on_line_end [2014/02/09 01:50] – external edit 127.0.0.1editing:auto_completion:hint_on_line_end [2018/04/13 14:35] (current) admin
Line 3: Line 3:
 ===== Problem ===== ===== Problem =====
  
-This is known issue that, when you type text and want to enter new line by hitting Enter on line end, you get auto completed text shown to you in Code Hint (can be something from already typed text, code template etc). +This is known issue that, when you type text and want to enter new line by hitting Enter on line end, you get autocompleted text shown to you in Code Hint (can be something from already typed text, code template etc). 
  
 __Example:__  __Example:__ 
 - you type on empty line "else" (in PHP) - you type on empty line "else" (in PHP)
-- you type rather fast and Hit Enter to add new line +- you type rather fast and Hit Enter to add new line 
-- instead of new line, you get "elseif" typed :-( +- instead of new line, you get "elseif" typed :-( 
  
 __Reason:__ __Reason:__
-You maybe have not noticed, but editor suggested you 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.+You maybe have not noticed, but editor suggested you completion in [[editing:auto_completion:hints|Code Hint]] tooltip, and when you hit Enter, editor recognized this as "Code Hint Agreecommand and inserts completion.
  
 ===== Solution ===== ===== Solution =====
  
-Actually there is no 100% nice solution. +Actuallythere is no 100% nice solution. 
  
 But some workarounds: But some workarounds:
Line 22: Line 22:
   * You can [[options:code-completion:start|disable Code Hints]] at all :-/   * You can [[options:code-completion:start|disable Code Hints]] at all :-/
  
-If you have good idea, how to solve the issue better, send us a proposal ;-)+If you have good idea, how to solve the issue better, send us a proposal ;-)