If you wrote a note or blog while reading the code, please share it with me, thank you.
在 2020年5月6日星期三 UTC+8下午5:50:42,Dexter Lagan写道: > > Couple years ago I developed an IDE for NewLISP called NewIDE using a > commercial tool called Xojo. It was supposed to become NewLISP's official > IDE. I had to put the project on pause because of work and family, and at > the same time I switched to Racket, hence my interest. It had replicated > most of DrRacket's basic functions apart from the debugger and profiler, > but was much faster (native controls + LLVM). I have plenty of time on my > hands lately, and I'll take a couple hours each day to analyze DrRacket and > see where I can reduce delays and improve responsiveness. Who knows, it > might pay off. > > After a quick first pass over each module, what DrRacket's source needs is > : > 1) a detailed description of what each module does; > 2) a description of what each function/class does, methods and properties > etc. I don't see a lot of comments at the moment. > > I'll gladly volunteer to write those. I'll annotate the code as I go > through it, and I'll push it to a new github when I have enough of it > documented. If the DrRacket's authors are happy with the result, we'll > merge? > > As for the delay, I'm sure there's a callback somewhere which launches > the context-sensitive help, or loads the docs in the background like you > said. There's gotta be a way to move this loading time somewhere more > appropriate, like say during the init splash, or at the very least display > a loading dialog box to inform the user. > > Let me know what you think, > > Dex > > On Tue, May 5, 2020 at 6:17 PM Robby Findler <[email protected] > <javascript:>> wrote: > >> >> >> On Tue, May 5, 2020 at 10:36 AM Gustavo Massaccesi <[email protected] >> <javascript:>> wrote: >> >>> I try to encourage people to participate, but be careful because this >>> task is probably too big for a first contribution. GUI is difficult, >>> DrRacket has a lot of moving parts, and opening DrRacket inside DrRacket is >>> possible but weird. >>> >>> >> +1 >> >> >>> I think the guess of Matthew is correct, it´s a problem with the blue >>> arrow with the docs. There is no pause while you type numbers but when you >>> type a letter or +-*/... there is a pause of 1 or 2 seconds. >>> >>> I didn't see the code but my guess is that the docs are loaded lazily in >>> a thread and when DrRackets see something like an identifier it waits until >>> the thread is ready. It would be nice if the blue arrow is disabled until >>> the docs are completely loaded lazily. I think Robby can tell if I'm >>> correct and how hard is to fix this. >>> >>> >> Definitely sounds like an extremely actionable hypothesis to investigate >> and, if it turns out to be correct, I guess it should be a simple matter of >> programming to do what you're suggesting. >> >> Robby >> >> -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/3fdb0e8b-00d4-481c-bf7d-21ff9a1ea725o%40googlegroups.com.

