texteditor.qbs 7.94 KB
Newer Older
1
import qbs 1.0
Joerg Bornemann's avatar
Joerg Bornemann committed
2
3
4
5

QtcPlugin {
    name: "TextEditor"

Yuchen Deng's avatar
Yuchen Deng committed
6
    Depends { name: "Qt"; submodules: ["widgets", "xml", "network", "script", "printsupport"] }
7
8
9
    Depends { name: "Aggregation" }
    Depends { name: "Utils" }

Orgad Shaneh's avatar
Orgad Shaneh committed
10
    Depends { name: "Core" }
Joerg Bornemann's avatar
Joerg Bornemann committed
11

12
13
    cpp.includePaths: base.concat([path]) // Needed for the highlighterengine autotest.

Joerg Bornemann's avatar
Joerg Bornemann committed
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
    files: [
        "autocompleter.cpp",
        "autocompleter.h",
        "basefilefind.cpp",
        "basefilefind.h",
        "basehoverhandler.cpp",
        "basehoverhandler.h",
        "behaviorsettings.cpp",
        "behaviorsettings.h",
        "behaviorsettingspage.cpp",
        "behaviorsettingspage.h",
        "behaviorsettingspage.ui",
        "behaviorsettingswidget.cpp",
        "behaviorsettingswidget.h",
        "behaviorsettingswidget.ui",
29
        "blockrange.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
30
        "circularclipboard.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
31
        "circularclipboard.h",
32
33
        "circularclipboardassist.cpp",
        "circularclipboardassist.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
34
35
36
        "codecselector.cpp",
        "codecselector.h",
        "codestyleeditor.cpp",
Orgad Shaneh's avatar
Orgad Shaneh committed
37
        "codestyleeditor.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
38
39
40
41
42
        "codestylepool.cpp",
        "codestylepool.h",
        "codestyleselectorwidget.cpp",
        "codestyleselectorwidget.h",
        "codestyleselectorwidget.ui",
43
44
        "colorpreviewhoverhandler.cpp",
        "colorpreviewhoverhandler.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
45
        "colorscheme.cpp",
Orgad Shaneh's avatar
Orgad Shaneh committed
46
        "colorscheme.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
47
48
        "colorschemeedit.cpp",
        "colorschemeedit.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
49
        "colorschemeedit.ui",
Joerg Bornemann's avatar
Joerg Bornemann committed
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
        "completionsettings.cpp",
        "completionsettings.h",
        "convenience.cpp",
        "convenience.h",
        "displaysettings.cpp",
        "displaysettings.h",
        "displaysettingspage.cpp",
        "displaysettingspage.h",
        "displaysettingspage.ui",
        "extraencodingsettings.cpp",
        "extraencodingsettings.h",
        "findincurrentfile.cpp",
        "findincurrentfile.h",
        "findinfiles.cpp",
        "findinfiles.h",
        "findinopenfiles.cpp",
        "findinopenfiles.h",
        "fontsettings.cpp",
        "fontsettings.h",
        "fontsettingspage.cpp",
        "fontsettingspage.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
71
        "fontsettingspage.ui",
Joerg Bornemann's avatar
Joerg Bornemann committed
72
73
        "helpitem.cpp",
        "helpitem.h",
74
75
        "highlighterutils.cpp",
        "highlighterutils.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
76
        "icodestylepreferences.cpp",
Orgad Shaneh's avatar
Orgad Shaneh committed
77
        "icodestylepreferences.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
78
79
80
81
82
83
84
        "icodestylepreferencesfactory.cpp",
        "icodestylepreferencesfactory.h",
        "indenter.cpp",
        "indenter.h",
        "ioutlinewidget.h",
        "linenumberfilter.cpp",
        "linenumberfilter.h",
85
86
        "marginsettings.cpp",
        "marginsettings.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
        "normalindenter.cpp",
        "normalindenter.h",
        "outlinefactory.cpp",
        "outlinefactory.h",
        "plaintexteditorfactory.cpp",
        "plaintexteditorfactory.h",
        "quickfix.cpp",
        "quickfix.h",
        "refactoringchanges.cpp",
        "refactoringchanges.h",
        "refactoroverlay.cpp",
        "refactoroverlay.h",
        "semantichighlighter.cpp",
        "semantichighlighter.h",
        "simplecodestylepreferences.cpp",
        "simplecodestylepreferences.h",
        "simplecodestylepreferenceswidget.cpp",
Orgad Shaneh's avatar
Orgad Shaneh committed
104
        "simplecodestylepreferenceswidget.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
105
106
107
108
109
110
111
112
113
        "storagesettings.cpp",
        "storagesettings.h",
        "syntaxhighlighter.cpp",
        "syntaxhighlighter.h",
        "tabsettings.cpp",
        "tabsettings.h",
        "tabsettingswidget.cpp",
        "tabsettingswidget.h",
        "tabsettingswidget.ui",
114
115
116
117
118
119
        "textdocument.cpp",
        "textdocument.h",
        "textdocumentlayout.cpp",
        "textdocumentlayout.h",
        "texteditor.cpp",
        "texteditor.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
120
121
        "texteditor.qrc",
        "texteditor_global.h",
122
        "texteditor_p.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
123
124
        "texteditoractionhandler.cpp",
        "texteditoractionhandler.h",
125
        "texteditorconstants.cpp",
Joerg Bornemann's avatar
Joerg Bornemann committed
126
127
128
129
130
131
132
133
134
        "texteditorconstants.h",
        "texteditoroptionspage.cpp",
        "texteditoroptionspage.h",
        "texteditoroverlay.cpp",
        "texteditoroverlay.h",
        "texteditorplugin.cpp",
        "texteditorplugin.h",
        "texteditorsettings.cpp",
        "texteditorsettings.h",
hjk's avatar
hjk committed
135
136
137
        "textmark.cpp",
        "textmark.h",
        "textmarkregistry.h",
Joerg Bornemann's avatar
Joerg Bornemann committed
138
139
140
        "typingsettings.cpp",
        "typingsettings.h",
    ]
Orgad Shaneh's avatar
Orgad Shaneh committed
141
142

    Group {
143
        name: "CodeAssist"
Orgad Shaneh's avatar
Orgad Shaneh committed
144
145
146
        prefix: "codeassist/"
        files: [
            "assistenums.h",
147
148
149
150
            "assistinterface.cpp",
            "assistinterface.h",
            "assistproposalitem.cpp",
            "assistproposalitem.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
151
152
153
154
155
156
157
158
159
160
            "codeassistant.cpp",
            "codeassistant.h",
            "completionassistprovider.cpp",
            "completionassistprovider.h",
            "functionhintproposal.cpp",
            "functionhintproposal.h",
            "functionhintproposalwidget.cpp",
            "functionhintproposalwidget.h",
            "genericproposal.cpp",
            "genericproposal.h",
161
162
            "genericproposalmodel.cpp",
            "genericproposalmodel.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
163
164
165
166
167
168
169
170
171
172
173
174
175
176
            "genericproposalwidget.cpp",
            "genericproposalwidget.h",
            "iassistprocessor.cpp",
            "iassistprocessor.h",
            "iassistproposal.cpp",
            "iassistproposal.h",
            "iassistproposalmodel.cpp",
            "iassistproposalmodel.h",
            "iassistproposalwidget.cpp",
            "iassistproposalwidget.h",
            "iassistprovider.cpp",
            "iassistprovider.h",
            "ifunctionhintproposalmodel.cpp",
            "ifunctionhintproposalmodel.h",
177
178
            "keywordscompletionassist.cpp",
            "keywordscompletionassist.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
179
180
181
182
183
184
185
186
187
188
            "quickfixassistprocessor.cpp",
            "quickfixassistprocessor.h",
            "quickfixassistprovider.cpp",
            "quickfixassistprovider.h",
            "runner.cpp",
            "runner.h",
        ]
    }

    Group {
189
        name: "GenericHighlighter"
Orgad Shaneh's avatar
Orgad Shaneh committed
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
        prefix: "generichighlighter/"
        files: [
            "context.cpp",
            "context.h",
            "definitiondownloader.cpp",
            "definitiondownloader.h",
            "dynamicrule.cpp",
            "dynamicrule.h",
            "highlightdefinition.cpp",
            "highlightdefinition.h",
            "highlightdefinitionhandler.cpp",
            "highlightdefinitionhandler.h",
            "highlightdefinitionmetadata.h",
            "highlighter.cpp",
            "highlighter.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
205
            "highlighterexception.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
            "highlightersettings.cpp",
            "highlightersettings.h",
            "highlightersettingspage.cpp",
            "highlightersettingspage.h",
            "highlightersettingspage.ui",
            "includerulesinstruction.cpp",
            "includerulesinstruction.h",
            "itemdata.cpp",
            "itemdata.h",
            "keywordlist.cpp",
            "keywordlist.h",
            "managedefinitionsdialog.cpp",
            "managedefinitionsdialog.h",
            "managedefinitionsdialog.ui",
            "manager.cpp",
            "manager.h",
            "progressdata.cpp",
            "progressdata.h",
            "reuse.h",
            "rule.cpp",
            "rule.h",
            "specificrules.cpp",
            "specificrules.h",
        ]
    }

    Group {
233
        name: "Snippets"
Orgad Shaneh's avatar
Orgad Shaneh committed
234
235
236
237
238
239
240
        prefix: "snippets/"
        files: [
            "isnippetprovider.cpp",
            "isnippetprovider.h",
            "plaintextsnippetprovider.cpp",
            "plaintextsnippetprovider.h",
            "reuse.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
241
242
            "snippet.cpp",
            "snippet.h",
Orgad Shaneh's avatar
Orgad Shaneh committed
243
244
245
246
247
248
249
250
251
252
253
254
255
            "snippetassistcollector.cpp",
            "snippetassistcollector.h",
            "snippeteditor.cpp",
            "snippeteditor.h",
            "snippetscollection.cpp",
            "snippetscollection.h",
            "snippetssettings.cpp",
            "snippetssettings.h",
            "snippetssettingspage.cpp",
            "snippetssettingspage.h",
            "snippetssettingspage.ui",
        ]
    }
256
257
258
259
260

    Group {
        name: "Tests"
        condition: project.testsEnabled
        files: [
261
            "texteditor_test.cpp",
262
263
        ]
    }
Joerg Bornemann's avatar
Joerg Bornemann committed
264
}