Commit 9cf7d5b
Add refinery
[WIP] Add Skeleton for Tactic Plugin
Local bindings
[WIP] Add more to the code action provider
more cases for bindings
is it a hole?
Beginning of tactics machinery
tactics machinery
split out tactics machinery; finish porting tactics
Haddock for tactics machinery
Use a map for hypothesis
Better types on LocalBindings
render the result of running a tactic
Hypothesis from bindings
Sort types
mostSpecificSpan
Render
Actually add the tactic plugin :)
[WIP] Do stuff
slightly better span
better sorting for specific spans
Fix size
[WIP] It does the thing!!
Multiple tactic actions
Parenthesize if necessary
[WIP] Home on the 'Range'
destruct and homo
fix naming and parens
Cleanup Plugin Tactic
context dependent destruct and homo
Generalized interface
More composable
Remove TacticVariety
Haddock
Describe spooky monoidal behavior
Only look at actual holes
Auto if possible
debugging
Maybe grafting works now
Transformation works; tree doesnt
Remove debugging
Proper indentation and parenthesizing
Less fancy parenthesizing
Don't crash if we can't lookup things
Holes must start with an underscore
Haddock pass
Module restructuring
Fix the cabal file
Intros, and disable some of the unpolished tactics
Disable autoIfPossible
Fix stack.yaml
Respond to simple PR comments.
Get a proper dflags
WIP on a better bindings interface
Simplify dflags lookup and expose titles
Tactic tests
Add a few more tests
Cleanup imports
Haddock the tests
Rebase on ghcide HEAD (haskell#378)
* Rebase on top of ghcide HEAD
* use Development.IDE to trim imports
* Fix Eval plugin to use GhcSessionDeps
Use stale data in explicit imports lens (haskell#383)
This prevents the lenses from disappearing while editing, which causes lots of
unpleasant jumping
Create hls-plugin-api and move plugins to exe
Keep current version
Add hls-plugin-api component to cradle
Move exe modules to main library
Format .cabal files with `cabal-fmt --ident 2`
Restore ghcide ref
Fix cradles
Move tactic plugin
Almost there!
Get the tests running again
Empty commit for CI
Add refinery to stack
more stack woes
Duplicate
NoExt and less dependency on ghc
Cradle is necessary
bump ghcide submodule (haskell#396)
* Bump ghcide submodule
* Update stack descriptors
Co-authored-by: Pepe Iborra <[email protected]>
Update ghcide
Compute an interval map of what's in scope
Fix 'binding'1 parent 34eff96 commit 9cf7d5b
File tree
21 files changed
+1146
-15
lines changed- exe
- plugins/default/src/Ide
- Plugin
- Tactic
- test
- functional
- testdata/tactic
21 files changed
+1146
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
48 | 52 | | |
49 | 53 | | |
50 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
| |||
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
126 | 136 | | |
127 | 137 | | |
128 | 138 | | |
129 | 139 | | |
| 140 | + | |
| 141 | + | |
130 | 142 | | |
131 | 143 | | |
132 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
0 commit comments