Commit a05d1c6
Skip parsing without haddock for above GHC9.0 (#2338)
* Skip parsing without haddock for above GHC9.0
* Use runtime ghc version check
* Need parse twice in getParsedModuleRule
* Include sortText in completions and improve suggestions (#2332)
* sort completions
* add an example
* Include fuzzy scores in completions sort text
* hlints
* Extend completion documentation to inform whether an identifier is alreaady imported
* Ditch alphabetical ordering - it's incompatible with qualified completions
* Fix bugs in completion help text
This fixes the ugly "Imported from 'Just B'" and other inconsistencies
* added tests for qualified completions
* Fix redundant import
* Inline Fuzzy.match to apply [1] and to be case-sensitive on first match
[1] - joom/fuzzy#4
* fixup! Fix bugs in completion help text
* Sort qualified completions first
* Filter out global suggestions that overlap with local
For example, don't suggest GHC.Exts.fromList when Data.Map.fromList is in scope alraedy
* Sort completions alphabetically
* Show provenance in detail text
* Sort local/in-scope completions first
* Fix build with GHC 9
* Ignore func symbol tests
Co-authored-by: Alex Naspo <alex.naspo@protonmail.com>
Co-authored-by: Javier Neira <atreyu.bbb@gmail.com>
* Give unique names to post-jobs (#2337)
* Restore comment
* Parse only with Haddock above GHC90
* Remove obsolete comment
Co-authored-by: Pepe Iborra <pepeiborra@gmail.com>
Co-authored-by: Alex Naspo <alex.naspo@protonmail.com>
Co-authored-by: Javier Neira <atreyu.bbb@gmail.com>1 parent 2de4bed commit a05d1c6
1 file changed
+38
-33
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | 216 | | |
220 | 217 | | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
248 | 251 | | |
249 | 252 | | |
250 | 253 | | |
| |||
896 | 899 | | |
897 | 900 | | |
898 | 901 | | |
899 | | - | |
900 | | - | |
901 | | - | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
902 | 907 | | |
903 | 908 | | |
904 | 909 | | |
| |||
0 commit comments