Completion is completely broken when you have a unsaved new file open.
Demonstration:
The error:
Path cannot be the empty string or all whitespace.
at System.IO.Directory.CreateDirectory(String path)
at PluginCore.Helpers.FileHelper.WriteFile(String file, String text, Encoding encoding, Boolean saveBOM)
at FlashDevelop.Docking.TabbedDocument.Save(String file, String reason)
at HaXeContext.HaxeComplete330.SaveFile()
at HaXeContext.HaxeComplete.StartThread[T](HaxeCompleteResultHandler`1 callback, Func`1 resultFunc)
at HaXeContext.HaxeComplete.GetList(HaxeCompleteResultHandler`1 callback)
at HaXeContext.Context.ResolveDotContext(ScintillaControl sci, ASExpr expression, Boolean autoHide)
at ASCompletion.Completion.ASComplete.HandleDotCompletion(ScintillaControl sci, Boolean autoHide, List`1 list, Comparison`1 comparison)
at ASCompletion.Completion.ASComplete.HandleDotCompletion(ScintillaControl sci, Boolean autoHide)
at ASCompletion.Completion.ASComplete.OnChar(ScintillaControl sci, Int32 value, Boolean autoHide)
Completion is completely broken when you have a unsaved new file open.
Demonstration:
The error:
Version info:
I use a nightly build from this version: https://github.com/fdorg/flashdevelop/commit/7325aacd84