Top | ![]() |
![]() |
![]() |
![]() |
IdeDiagnosticsManager *
ide_diagnostics_manager_from_context (IdeContext *context
);
Gets the diagnostics manager for the context.
Since: 3.32
gboolean
ide_diagnostics_manager_get_busy (IdeDiagnosticsManager *self
);
Gets if the diagnostics manager is currently executing a diagnosis.
Since: 3.32
IdeDiagnostics * ide_diagnostics_manager_get_diagnostics_for_file (IdeDiagnosticsManager *self
,GFile *file
);
This function collects all of the diagnostics that have been collected
for file
and returns them as a new IdeDiagnostics to the caller.
The IdeDiagnostics structure will contain zero items if there are
no diagnostics discovered. Therefore, this function will never return
a NULL
value.
Since: 3.32
guint ide_diagnostics_manager_get_sequence_for_file (IdeDiagnosticsManager *self
,GFile *file
);
void ide_diagnostics_manager_rediagnose (IdeDiagnosticsManager *self
,IdeBuffer *buffer
);
Requests that the diagnostics be reloaded for buffer
.
You may want to call this if you changed something that a buffer depends on, and want to seamlessly update its diagnostics with that updated information.
Since: 3.32
#define IDE_TYPE_DIAGNOSTICS_MANAGER (ide_diagnostics_manager_get_type())
“changed”
signalvoid user_function (IdeDiagnosticsManager *self, gpointer user_data)
This signal is emitted when the diagnostics have changed for any file managed by the IdeDiagnosticsManager.
Flags: Run Last
Since: 3.32