Skip to content
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

Fix documentation on hover and don't report invalid locations #22

Closed
wants to merge 43 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
8ada6ef
Add version bound on ghc-check
mpickering Apr 27, 2020
71f380f
GHC 8.10.1 support
mpickering Apr 24, 2020
bdf42da
Implement Goto Type Definition
mpickering Apr 22, 2020
6aa4ae8
Multi component support
mpickering Mar 18, 2020
0cae776
Attempt to fix logic to only allow one cradle to be running at once.
mpickering Apr 23, 2020
e58265a
Support PackageImports with multi components
mpickering Apr 30, 2020
8023892
Use stale information for hover and completions
mpickering Apr 23, 2020
3b584a4
TypeCheck files when they are opened or modified
mpickering Apr 25, 2020
d1a8a6b
Fix/cleanup timing logic in shakeRun
mpickering Apr 30, 2020
c7c9e95
Add new command to GetModuleGraph for a session and propate changes to
mpickering Apr 30, 2020
84af56a
Enable code actions
mpickering Apr 28, 2020
c1f7957
Always collect SpanInfo when reloading
mpickering Apr 28, 2020
c9735e2
Rats: Fix space leak in withProgress
mpickering Apr 29, 2020
b2c6c3d
Rats: Share computation of position mapping
mpickering Apr 29, 2020
09eedb7
Rats: Eta-expand modification function
mpickering Apr 29, 2020
efb7501
Only propagate changes to parent modules when saving
mpickering Apr 30, 2020
5b1cb35
Rewrite getHomeHieFile - not sure this is right
mpickering Apr 30, 2020
ee198ae
Bump par number
mpickering Apr 30, 2020
373acee
Slim down cabal.project
mpickering Apr 30, 2020
0a38a41
Changes to exe/Main.hs
mpickering Apr 30, 2020
b47e822
Add script file which I use for profiling
mpickering Apr 30, 2020
40a9c56
fix build for 8.10 (#3)
wz1000 Apr 30, 2020
31ad2bd
Remove project stuff
mpickering May 1, 2020
393c9e4
ShakeQueue: Stop duplicate actions ending up in the queue
mpickering May 1, 2020
cff9ca5
Add opentelemetry support
mpickering May 1, 2020
b4c3619
Clean up warnings
mpickering May 1, 2020
1fcadc5
Remove exe/Util.hs, it is not used
alanz May 2, 2020
d2a58c5
Upgrade to haskell-lsp-0.22
lukel97 May 4, 2020
8a61c43
Shake: Use Zubin's scheduler branch
mpickering May 4, 2020
7056e6d
Add COMPLETE pragma to DelayedAction and DelayedActionInternal
mpickering May 4, 2020
ff9092d
Remove unused import
wz1000 May 4, 2020
379571f
Add useWithStaleFast'
wz1000 May 4, 2020
194ff37
Use global NameCache for reading HIE files
wz1000 May 4, 2020
2e202ce
Backport HIE files support to 8.6
wz1000 May 4, 2020
2ab5888
Add GetDocMap, GetRefMap and GetHieFile rules
wz1000 May 4, 2020
9e57520
Reimplement Hover/GotoDefn in terms of Hie Files
wz1000 May 4, 2020
1188435
Implement Document Hightlight LSP request
wz1000 May 4, 2020
35c3503
Generate HIE file when opening a file
wz1000 May 4, 2020
3029552
Fix build on 8.6
wz1000 May 5, 2020
d06b76e
Distinguish between a Delta and a Mapping in PositionMapping
mpickering May 1, 2020
42bdeb3
Don't report invalid positions, introduce safe versions of srcSpanToR…
wz1000 May 6, 2020
4479ff1
Show documenation on hover for symbols defined in the same module
wz1000 May 6, 2020
e08ebca
Add warning about hlint integration to getParsedModuleRule
wz1000 May 7, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .azure/linux-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ jobs:
vmImage: 'ubuntu-latest'
strategy:
matrix:
stack_810:
STACK_YAML: "stack810.yaml"
stack_88:
STACK_YAML: "stack88.yaml"
stack_86:
Expand Down
2 changes: 2 additions & 0 deletions .azure/windows-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ jobs:
vmImage: 'windows-2019'
strategy:
matrix:
stack_810:
STACK_YAML: "stack810.yaml"
stack_88:
STACK_YAML: "stack88.yaml"
stack_86:
Expand Down
25 changes: 0 additions & 25 deletions .ghci

This file was deleted.

9 changes: 9 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
packages: .

allow-newer: ghc, base


source-repository-package
type: git
location: https://github.com/wz1000/shake.git
tag: fb3859dca2e54d1bbb2c873e68ed225fa179fbef
2 changes: 2 additions & 0 deletions exe/Arguments.hs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ data Arguments = Arguments
,argsShakeProfiling :: Maybe FilePath
,argsTesting :: Bool
,argsThreads :: Int
,argsVerbose :: Bool
}

getArguments :: IO Arguments
Expand All @@ -33,3 +34,4 @@ arguments = Arguments
<*> optional (strOption $ long "shake-profiling" <> metavar "DIR" <> help "Dump profiling reports to this directory")
<*> switch (long "test" <> help "Enable additional lsp messages used by the testsuite")
<*> option auto (short 'j' <> help "Number of threads (0: automatic)" <> metavar "NUM" <> value 0 <> showDefault)
<*> switch (long "verbose" <> help "Include internal events in logging output")