dlangide icon indicating copy to clipboard operation
dlangide copied to clipboard

integrated console

Open hondogo opened this issue 6 years ago • 3 comments

While executing program new console appeares and closed after end of execution. Is it possible output to integrated to IDE console?

hondogo avatar Aug 07 '17 10:08 hondogo

What is OS? In project settings / Run and Debug, you can try to disable "Run in external console" checkbox. Under Windows, it's turned off - it hanged in case of app wants reading from console. Under Linux, probably it will work.

buggins avatar Aug 07 '17 12:08 buggins

Windows. I tried to turn it off and on. But program run only in new console.

P.S. and there is one small bug in dlangide/workspace/idesettings.d in function autoOpenLastProject line 283 it is null pointer excception when delete workspace and restart IDE should be @property bool autoOpenLastProject() { Setting obj =_setting.objectByPath("common/autoOpenLastProject"); return obj is null ? false : obj.boolean; }

hondogo avatar Aug 08 '17 05:08 hondogo

I've fixed null pointer exception yesterday. Under windows, internal console is partially implemented. If there is no console input in app, it worked fine. But I failed to fix input handling, and therefore disabled internal console on windows. Will try it again.

buggins avatar Aug 08 '17 06:08 buggins