Skip to content

Unify critical session running in hls #4256

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 38 commits into from
Jun 8, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
15f9892
add thread to do shake restart
soulomoon May 26, 2024
3ba47f6
fix
soulomoon May 26, 2024
5d66041
run session loader in thread
soulomoon May 26, 2024
d7946a0
fix 9.2
soulomoon May 26, 2024
da56bfb
rename
soulomoon May 27, 2024
fb0a370
use evalContT
soulomoon May 27, 2024
d1775e6
add doc
soulomoon May 27, 2024
39bdf6a
fix doc
soulomoon May 27, 2024
b06186b
fix import
soulomoon May 27, 2024
1a9374b
export explicit
soulomoon May 27, 2024
c9bdc87
add comment
soulomoon May 27, 2024
cb131e3
cleanup
soulomoon May 27, 2024
96d6d07
cleanup
soulomoon May 27, 2024
b552c80
fix note
soulomoon May 27, 2024
aef173a
add `blockRunInThread`
soulomoon May 27, 2024
f231648
Merge branch 'master' into soulomoon/add-threads
soulomoon May 27, 2024
d08f175
fix
soulomoon May 27, 2024
60839b0
fix 9.2 import
soulomoon May 27, 2024
aba6a88
Merge branch 'master' into soulomoon/add-threads
soulomoon May 28, 2024
981724e
Merge branch 'master' into soulomoon/add-threads
soulomoon May 29, 2024
8f9ef7a
Merge branch 'master' into soulomoon/add-threads
soulomoon May 29, 2024
0e3a6e8
Merge branch 'master' into soulomoon/add-threads
soulomoon Jun 3, 2024
a1b0a69
Merge branch 'master' into soulomoon/add-threads
soulomoon Jun 4, 2024
78e9fc1
Merge branch 'master' into soulomoon/add-threads
soulomoon Jun 6, 2024
b2be89f
Update ghcide/src/Development/IDE/Core/Thread.hs
soulomoon Jun 8, 2024
8aea82e
refactor to withWorkerQueue
soulomoon Jun 8, 2024
8c3773f
typo
soulomoon Jun 8, 2024
5f27fad
ident
soulomoon Jun 8, 2024
e800cac
Improve Note
soulomoon Jun 8, 2024
86d7fb9
add comment
soulomoon Jun 8, 2024
027e5be
format
soulomoon Jun 8, 2024
99322fa
Update WorkerThread.hs
soulomoon Jun 8, 2024
c1b3e7d
Update WorkerThread.hs
soulomoon Jun 8, 2024
a16d04a
rename to await
soulomoon Jun 8, 2024
c832da3
use block comment
soulomoon Jun 8, 2024
6bdba37
merge
soulomoon Jun 8, 2024
442e776
Remove duplicated comment
soulomoon Jun 8, 2024
5d657b6
add file header comment
soulomoon Jun 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
format
  • Loading branch information
soulomoon committed Jun 8, 2024
commit 027e5befc5b9cda96deeee8102f497c6b262148a
1 change: 0 additions & 1 deletion ghcide/src/Development/IDE/Core/Service.hs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import Ide.Plugin.Config
import qualified Language.LSP.Protocol.Types as LSP
import qualified Language.LSP.Server as LSP

import Control.Concurrent.STM (TQueue)
import Control.Monad
import qualified Development.IDE.Core.FileExists as FileExists
import qualified Development.IDE.Core.OfInterest as OfInterest
Expand Down
3 changes: 1 addition & 2 deletions ghcide/src/Development/IDE/LSP/LanguageServer.hs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
-- Copyright (c) 2019 The DAML Authors. All rights reserved.
-- Copyright (c) 2019 The DAML Authors. All rights reserved.
-- SPDX-License-Identifier: Apache-2.0

{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE NumericUnderscores #-}
-- WARNING: A copy of DA.Daml.LanguageServer, try to keep them in sync
-- This version removes the daml: handling
module Development.IDE.LSP.LanguageServer
Expand Down