Closed MrLuje closed 1 month ago
Wow yeah, the stack on macOS is much smaller so you can clearly see the crashes there.
Since the script files are all logically independent, the server
could probably be shared across the tests entirely if you want to try that out.
Yep, much better ! Thanks
Thanks for this great fix @MrLuje!
Fix code completion for external namespace being inserted before
namespace
and bring backCompletion.AutoOpen
testsbefore :![fix-open-namespace-before](https://github.com/ionide/FsAutoComplete/assets/632075/d04478bd-053b-4c1a-b34e-695075ccfef9)
after :![fix-open-namespace-after](https://github.com/ionide/FsAutoComplete/assets/632075/cbcb3d3e-548e-4dc7-b4af-605ff455172d)
NB: I changed the position for![fix-open-namespace-nested](https://github.com/ionide/FsAutoComplete/assets/632075/7ec0cab5-01d8-4fff-8b73-aa0e398cebaa)
Namespace.fsx
&NamespaceWithNewLine.fsx
to match the actual behavior, it is correct F# syntax but I would have expected it to be aligned with the code below instead of thenamespace
(at least we get coverage for the inserted line part)NB2: Since I added back
Completion.AutoOpen
tests, I can't get the full test suite to run locally, the test adapter is crashing with OOM. Maybe the dedicatedcreateServer
function missed some "recent" optimisations applied to otherscreateServer
since it was not running until now ?