Saving/opening files is blocked while code generation [message #1827505] |
Sat, 16 May 2020 05:35 |
Nagaraj Kandoor Messages: 56 Registered: May 2020 |
Member |
|
|
Hello,
I have a DSL in that when users try to open files with our {.DSL extension} the user is blocked until the code generation completed. It's annoying to users. I want to improve usability.
Currently, we extend class ParallelBuilderParticipant for {DSL to header file generation} where we call super.doBuild(deltas, outputConfigurations, generatorMarkers, context, access, progressMonitor).
For DSL file compilation we extend XtextBuilder where we call super.doBuild(toBeBuilt, monitor, type);
Analysis so far:
Currently, DSL files compilation and header generation is on a single thread.
Read and Write can't happen at the same time if modify the generation with multi-threaded, so in that case, users are allowed to open a file? not to save.
So any inputs and suggestions will be appreciated.
Thanks
Nagaraj
-
Attachment: block.JPG
(Size: 18.24KB, Downloaded 43 times)
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03307 seconds