Images 💾

Last commit ⭐

commit a268dcb1e25541a571c43e27c2ed3de1bdcd7189
Author:     iyush <aayushsharma889@gmail.com>
AuthorDate: Fri Apr 14 22:12:54 2023 +0200
Commit:     Andreas Kling <kling@serenityos.org>
CommitDate: Sun Apr 30 06:08:22 2023 +0200

    HackStudio: Move around execution order and prevent crashing
    
    Previously hackstudio tried to synchronize the language server before
    executing the command inside the editor.  If sync-command for the server
    (for example the CommentLineCommand) is not implemented inside the
    function responsible for syncing the language server, the IDE would
    crash.
    
    This patch makes it such that the synchronization happens only after IDE
    executes the command locally.  If such command is not implemented (as
    was the case earlier), it would simply reupdate the content inside the
    language server. Even though the reupdate might be expensive, it is
    better than crashing hackstudio altogether.
    
    Because of reordering, the relevant function names have been changed to
    better reflect the code flow.