Closed iT-Boyer closed 1 year ago
Does this branch work? https://github.com/swift-emacs/swift-mode/tree/swift-repl-5.7
If it works, I will merge it to the master
.
on Mac ,it's OK When it's set to swift repl
:
(setq swift-mode:repl-executable "swift repl")
comint-continue-subjob: Buffer Swift REPL [xcrun swift] has no process
For example
test.swift
send to buffer REPL
*Swift REPL [xcrun swift]*
bufferSubcommands:
swift build Build Swift packages swift package Create and work on packages swift run Run a program from a package swift test Run package tests swift repl Experiment with Swift code interactively
Use
swift --help
for descriptions of available options and flags.Use
swift help <subcommand>
for more information about a subcommand.Process xcrun swift finished