[GHC] #11483: Ghci integration with readline

i }}}
im }}}
import q }}}
#11483: Ghci integration with readline -------------------------------------+------------------------------------- Reporter: Ivan | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.3 Keywords: readline | Operating System: Unknown/Multiple complete | Architecture: x86_64 | Type of failure: None/Unknown (amd64) | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- When running ghci, the word "import" is not in the list generated by readline completion. Namely, if to type {{{#!hs the suggestions that appear after pressing <TAB> are {{{#!hs id isDenormalized isNegativeZero init isIEEE iterate interact isInfinite ioError isNaN }}} If to type {{{#!hs then pressing <TAB> gives beep. Also, if we have at prompt {{{#!hs pressing <TAB> does not produce any completion. I would expect to get {{{#!hs
import qualified }}}
-- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11483 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11483: Ghci integration with readline -------------------------------------+------------------------------------- Reporter: Ivan | Owner: Geraldus Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.3 Resolution: | Keywords: readline | complete Operating System: Unknown/Multiple | Architecture: x86_64 | (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #10576 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * owner: => Geraldus * related: => #10576 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11483#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11483: Ghci integration with readline -------------------------------------+------------------------------------- Reporter: Ivan | Owner: Geraldus Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.3 Resolution: | Keywords: readline | complete Operating System: Unknown/Multiple | Architecture: x86_64 | (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #10576 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Lemming): I assume that GHCi completes identifiers, not language keywords. Thus I think that the current behavior is not a bug, but your ticket could be considered a feature request. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11483#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11483: Ghci integration with readline -------------------------------------+------------------------------------- Reporter: Ivan | Owner: Geraldus Type: feature request | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.3 Resolution: | Keywords: readline | complete Operating System: Unknown/Multiple | Architecture: x86_64 | (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #10576 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * type: bug => feature request Comment: I agree that this is a feature request (although a very reasonable one!) Geraldus, you've done work in this area in the past, perhaps you'd be interested in looking at this? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11483#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11483: Ghci integration with readline -------------------------------------+------------------------------------- Reporter: Ivan | Owner: Geraldus Type: feature request | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.3 Resolution: | Keywords: readline | complete Operating System: Unknown/Multiple | Architecture: x86_64 | (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #10576 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Geraldus): Surely, Thomie have assigned me to this ticket already. This will be very helpful for all kind of editors which provide autocompletions! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11483#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11483: Ghci should TAB-complete keywords, not only identifiers -------------------------------------+------------------------------------- Reporter: Ivan | Owner: Geraldus Type: feature request | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.3 Resolution: | Keywords: readline | complete Operating System: Unknown/Multiple | Architecture: x86_64 | (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #10576 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11483#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC