On 8/2/2012 11:14 AM, Marco Leise wrote:
If I type `` at the top of std.datetime in Mono-D right after "module std.datetime;", I have a 12 (!) seconds wait, till the IDE becomes responsive again. But if I use ' or ", then the editor inserts the second terminator and is done with reparsing in 1-2 seconds.
A good IDE should do its parsing in a separate thread, so the main user input thread remains crisp and responsive.
If the user edits the text while the parsing is in progress, the background parsing thread simply abandons the current parse and starts over.