File tree Expand file tree Collapse file tree 6 files changed +7
-12
lines changed Expand file tree Collapse file tree 6 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ AcnEditorFactory::AcnEditorFactory()
62
62
setIndenterCreator ([]() { return new Indenter; });
63
63
setAutoCompleterCreator ([]() { return new Completion::AutoCompleter; });
64
64
65
- addHoverHandler (new TextEditor::BaseHoverHandler); // TODO maybe better tips?
65
+ addHoverHandler (new TextEditor::BaseHoverHandler);
66
66
67
67
setCodeFoldingSupported (true );
68
68
setMarksVisible (true );
@@ -77,5 +77,5 @@ AcnEditorFactory::AcnEditorFactory()
77
77
78
78
void AcnEditorWidget::findUsages ()
79
79
{
80
- // TODO acn
80
+ // TODO #166
81
81
}
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ void Asn1SccServiceProvider::start()
94
94
m_stayAliveTimer.start ();
95
95
m_asn1sccService->start ();
96
96
97
- if (!m_asn1sccService->waitForStarted ()) // TODO handle error?
97
+ if (!m_asn1sccService->waitForStarted ())
98
98
Messages::messageProcessError (m_asn1sccService);
99
99
}
100
100
@@ -107,7 +107,7 @@ void Asn1SccServiceProvider::stop()
107
107
m_stayAliveTimer.stop ();
108
108
m_asn1sccService->terminate ();
109
109
110
- if (!m_asn1sccService->waitForFinished ()) // TODO handle error?
110
+ if (!m_asn1sccService->waitForFinished ())
111
111
Messages::messageProcessError (m_asn1sccService);
112
112
}
113
113
@@ -170,7 +170,7 @@ QJsonDocument Asn1SccServiceProvider::buildAstRequestData(
170
170
input[" AcnFiles" ] = acnFilesArray;
171
171
172
172
/* TODO: since AST parser is not ready to work with fields introduced through ACN files,
173
- * it is harmful to include them in daemon call*/
173
+ * it is harmful to include them in daemon call (#169) */
174
174
input[" AcnFiles" ] = QJsonArray ();
175
175
176
176
input[" Options" ] = buildAstGenerationOptions ();
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ AsnEditorFactory::AsnEditorFactory()
67
67
setAutoCompleterCreator ([]() { return new Completion::AutoCompleter; });
68
68
setIndenterCreator ([]() { return new Indenter; });
69
69
70
- addHoverHandler (new TextEditor::BaseHoverHandler); // TODO maybe better hover tips?
70
+ addHoverHandler (new TextEditor::BaseHoverHandler);
71
71
72
72
setCodeFoldingSupported (true );
73
73
setMarksVisible (true );
Original file line number Diff line number Diff line change @@ -45,8 +45,6 @@ bool AutoCompleter::isInComment(const QTextCursor &cursor) const
45
45
46
46
bool AutoCompleter::isInString (const QTextCursor &cursor) const
47
47
{
48
- // TODO: multiline strings in ASN?
49
- // TODO: escaping string?
50
48
QTextCursor moved = cursor;
51
49
moved.movePosition (QTextCursor::StartOfLine);
52
50
const int positionInLine = cursor.position () - moved.position ();
Original file line number Diff line number Diff line change @@ -93,8 +93,6 @@ void EditorWidget::contextMenuEvent(QContextMenuEvent *e)
93
93
94
94
void EditorWidget::finalizeInitialization ()
95
95
{
96
- // TODO ? setLanguageSettingsId(Constants::SettingsId);
97
-
98
96
auto document = qobject_cast<Document *>(textDocument ());
99
97
connect (document,
100
98
&Document::extraSelectionsUpdated,
Original file line number Diff line number Diff line change @@ -87,13 +87,12 @@ void ProjectContentHandler::handleFileContentChanged(const Utils::FileName &path
87
87
{
88
88
QStringList projects = m_storage->getProjectsForFile (path);
89
89
90
- // TODO: Is this conditions still needed?
91
90
if (projects.empty ()) {
92
91
allProcessingFinished ();
93
92
return ;
94
93
}
95
94
96
- for (const QString projectName : projects) {
95
+ for (const QString & projectName : projects) {
97
96
const auto paths = m_storage->getFilesPathsFromProject (projectName);
98
97
processFiles (projectName, paths);
99
98
}
You can’t perform that action at this time.
0 commit comments