@@ -87,6 +87,7 @@ libraryFields =
87
87
(" visibility:" , constantCompleter [" private" , " public" ]),
88
88
(" reexported-modules:" , noopCompleter),
89
89
(" signatures:" , noopCompleter),
90
+ (" autogen-modules:" , modulesCompleter sourceDirsExtractionLibrary),
90
91
(" other-modules:" , modulesCompleter sourceDirsExtractionLibrary)
91
92
]
92
93
@@ -95,13 +96,15 @@ executableFields =
95
96
Map. fromList
96
97
[ (" main-is:" , mainIsCompleter sourceDirsExtractionExecutable),
97
98
(" scope:" , constantCompleter [" public" , " private" ]),
99
+ (" autogen-modules:" , modulesCompleter sourceDirsExtractionExecutable),
98
100
(" other-modules:" , modulesCompleter sourceDirsExtractionExecutable)
99
101
]
100
102
101
103
testSuiteFields :: Map KeyWordName Completer
102
104
testSuiteFields =
103
105
Map. fromList
104
106
[ (" type:" , constantCompleter [" exitcode-stdio-1.0" , " detailed-0.9" ]),
107
+ (" autogen-modules:" , modulesCompleter sourceDirsExtractionTestSuite),
105
108
(" main-is:" , mainIsCompleter sourceDirsExtractionTestSuite),
106
109
(" other-modules:" , modulesCompleter sourceDirsExtractionTestSuite)
107
110
]
@@ -110,6 +113,7 @@ benchmarkFields :: Map KeyWordName Completer
110
113
benchmarkFields =
111
114
Map. fromList
112
115
[ (" type:" , noopCompleter),
116
+ (" autogen-modules:" , modulesCompleter sourceDirsExtractionBenchmark),
113
117
(" main-is:" , mainIsCompleter sourceDirsExtractionBenchmark),
114
118
(" other-modules:" , modulesCompleter sourceDirsExtractionBenchmark)
115
119
]
@@ -177,6 +181,7 @@ libExecTestBenchCommons =
177
181
(" ghcjs-prof-options:" , constantCompleter ghcOptions),
178
182
(" ghcjs-shared-options:" , constantCompleter ghcOptions),
179
183
(" includes:" , filePathCompleter),
184
+ (" autogen-includes:" , filePathCompleter),
180
185
(" install-includes:" , filePathCompleter),
181
186
(" include-dirs:" , directoryCompleter),
182
187
(" c-sources:" , filePathCompleter),
0 commit comments