diff --git a/vsintegration/src/FSharp.VS.FSI/fsiSessionToolWindow.fs b/vsintegration/src/FSharp.VS.FSI/fsiSessionToolWindow.fs index 53432cd843c..7160e0608d6 100644 --- a/vsintegration/src/FSharp.VS.FSI/fsiSessionToolWindow.fs +++ b/vsintegration/src/FSharp.VS.FSI/fsiSessionToolWindow.fs @@ -551,11 +551,13 @@ type internal FsiToolWindow() as this = { hide()} #silentCd @"{dir}";; {if dbgBreak then "#dbgbreak" else ""} -#{topLine} @"{filename}" +# {topLine} @"{filename}" {text.ToString()} -#1 "stdin" +;; +# 1 "stdin" { show()};; """ + executeTextNoHistory filename interaction let sendSelectionToFSI action =