Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
14b1ce3e
Commit
14b1ce3e
authored
Apr 18, 2007
by
Simon Marlow
Browse files
improve completion for debugger commands
parent
23db9fc0
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/ghci/InteractiveUI.hs
View file @
14b1ce3e
...
...
@@ -109,14 +109,14 @@ builtin_commands = [
-- Hugs users are accustomed to :e, so make sure it doesn't overlap
(
"?"
,
keepGoing
help
,
False
,
completeNone
),
(
"add"
,
keepGoingPaths
addModule
,
False
,
completeFilename
),
(
"break"
,
breakCmd
,
False
,
complete
None
),
(
"break"
,
breakCmd
,
False
,
complete
Identifier
),
(
"browse"
,
keepGoing
browseCmd
,
False
,
completeModule
),
(
"cd"
,
keepGoing
changeDirectory
,
False
,
completeFilename
),
(
"check"
,
keepGoing
checkModule
,
False
,
completeHomeModule
),
(
"continue"
,
continueCmd
,
False
,
completeNone
),
(
"continue"
,
continueCmd
,
False
,
completeNone
),
(
"ctags"
,
keepGoing
createCTagsFileCmd
,
False
,
completeFilename
),
(
"def"
,
keepGoing
defineMacro
,
False
,
completeIdentifier
),
(
"delete"
,
deleteCmd
,
False
,
completeNone
),
(
"delete"
,
deleteCmd
,
False
,
completeNone
),
(
"e"
,
keepGoing
editFile
,
False
,
completeFilename
),
(
"edit"
,
keepGoing
editFile
,
False
,
completeFilename
),
(
"etags"
,
keepGoing
createETagsFileCmd
,
False
,
completeFilename
),
...
...
@@ -124,7 +124,7 @@ builtin_commands = [
(
"help"
,
keepGoing
help
,
False
,
completeNone
),
(
"info"
,
keepGoing
info
,
False
,
completeIdentifier
),
(
"kind"
,
keepGoing
kindOfType
,
False
,
completeIdentifier
),
(
"load"
,
keepGoingPaths
loadModule_
,
False
,
completeHomeModuleOrFile
),
(
"load"
,
keepGoingPaths
loadModule_
,
False
,
completeHomeModuleOrFile
),
(
"module"
,
keepGoing
setContext
,
False
,
completeModule
),
(
"main"
,
keepGoing
runMain
,
False
,
completeIdentifier
),
(
"print"
,
keepGoing
(
pprintClosureCommand
True
False
),
False
,
completeIdentifier
),
...
...
@@ -133,7 +133,7 @@ builtin_commands = [
(
"set"
,
keepGoing
setCmd
,
True
,
completeSetOptions
),
(
"show"
,
keepGoing
showCmd
,
False
,
completeNone
),
(
"sprint"
,
keepGoing
(
pprintClosureCommand
False
False
),
False
,
completeIdentifier
),
(
"step"
,
stepCmd
,
False
,
complete
None
),
(
"step"
,
stepCmd
,
False
,
complete
Identifier
),
(
"type"
,
keepGoing
typeOfExpr
,
False
,
completeIdentifier
),
(
"undef"
,
keepGoing
undefineMacro
,
False
,
completeMacro
),
(
"unset"
,
keepGoing
unsetOptions
,
True
,
completeSetOptions
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment