This exception is thrown from line 127 in HistoryExpansion.java
On bash,
(1) enter a '!' on the command line followed by a 'TAB' changes user's input from '!' to '\!',
(2) enter a '!' on the command line followed by an 'Enter' generates a "bash: syntax error near unexpected token `newline'" error.
Auto-completion probably invokes HistoryExpansion indirectly and ran into scenario (2) above.
On bash,
(1) enter a '!' on the command line followed by a 'TAB' changes user's input from '!' to '\!',
(2) enter a '!' on the command line followed by an 'Enter' generates a "bash: syntax error near unexpected token `newline'" error.
Auto-completion probably invokes HistoryExpansion indirectly and ran into scenario (2) above.
Issue #7221 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build 12.0.0-beta-27 |
No time estimate |
1 issue link |
depends upon #7526
Issue #7526Evaluate how to handle shell command lines that parser fails to recognize for autocompletion |
This exception is thrown from line 127 in HistoryExpansion.java