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()
6262 setIndenterCreator ([]() { return new Indenter; });
6363 setAutoCompleterCreator ([]() { return new Completion::AutoCompleter; });
6464
65- addHoverHandler (new TextEditor::BaseHoverHandler); // TODO maybe better tips?
65+ addHoverHandler (new TextEditor::BaseHoverHandler);
6666
6767 setCodeFoldingSupported (true );
6868 setMarksVisible (true );
@@ -77,5 +77,5 @@ AcnEditorFactory::AcnEditorFactory()
7777
7878void AcnEditorWidget::findUsages ()
7979{
80- // TODO acn
80+ // TODO #166
8181}
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ void Asn1SccServiceProvider::start()
9494 m_stayAliveTimer.start ();
9595 m_asn1sccService->start ();
9696
97- if (!m_asn1sccService->waitForStarted ()) // TODO handle error?
97+ if (!m_asn1sccService->waitForStarted ())
9898 Messages::messageProcessError (m_asn1sccService);
9999}
100100
@@ -107,7 +107,7 @@ void Asn1SccServiceProvider::stop()
107107 m_stayAliveTimer.stop ();
108108 m_asn1sccService->terminate ();
109109
110- if (!m_asn1sccService->waitForFinished ()) // TODO handle error?
110+ if (!m_asn1sccService->waitForFinished ())
111111 Messages::messageProcessError (m_asn1sccService);
112112}
113113
@@ -170,7 +170,7 @@ QJsonDocument Asn1SccServiceProvider::buildAstRequestData(
170170 input[" AcnFiles" ] = acnFilesArray;
171171
172172 /* 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) */
174174 input[" AcnFiles" ] = QJsonArray ();
175175
176176 input[" Options" ] = buildAstGenerationOptions ();
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ AsnEditorFactory::AsnEditorFactory()
6767 setAutoCompleterCreator ([]() { return new Completion::AutoCompleter; });
6868 setIndenterCreator ([]() { return new Indenter; });
6969
70- addHoverHandler (new TextEditor::BaseHoverHandler); // TODO maybe better hover tips?
70+ addHoverHandler (new TextEditor::BaseHoverHandler);
7171
7272 setCodeFoldingSupported (true );
7373 setMarksVisible (true );
Original file line number Diff line number Diff line change @@ -45,8 +45,6 @@ bool AutoCompleter::isInComment(const QTextCursor &cursor) const
4545
4646bool AutoCompleter::isInString (const QTextCursor &cursor) const
4747{
48- // TODO: multiline strings in ASN?
49- // TODO: escaping string?
5048 QTextCursor moved = cursor;
5149 moved.movePosition (QTextCursor::StartOfLine);
5250 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)
9393
9494void EditorWidget::finalizeInitialization ()
9595{
96- // TODO ? setLanguageSettingsId(Constants::SettingsId);
97-
9896 auto document = qobject_cast<Document *>(textDocument ());
9997 connect (document,
10098 &Document::extraSelectionsUpdated,
Original file line number Diff line number Diff line change @@ -87,13 +87,12 @@ void ProjectContentHandler::handleFileContentChanged(const Utils::FileName &path
8787{
8888 QStringList projects = m_storage->getProjectsForFile (path);
8989
90- // TODO: Is this conditions still needed?
9190 if (projects.empty ()) {
9291 allProcessingFinished ();
9392 return ;
9493 }
9594
96- for (const QString projectName : projects) {
95+ for (const QString & projectName : projects) {
9796 const auto paths = m_storage->getFilesPathsFromProject (projectName);
9897 processFiles (projectName, paths);
9998 }
You can’t perform that action at this time.
0 commit comments