Top | ![]() |
![]() |
![]() |
![]() |
gboolean | ide_diagnostics_manager_get_busy () |
IdeDiagnostics * | ide_diagnostics_manager_get_diagnostics_for_file () |
guint | ide_diagnostics_manager_get_sequence_for_file () |
void | ide_diagnostics_manager_update_group_by_file () |
void | ide_diagnostics_manager_rediagnose () |
gboolean
ide_diagnostics_manager_get_busy (IdeDiagnosticsManager *self
);
Gets if the diagnostics manager is currently executing a diagnosis.
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.
guint ide_diagnostics_manager_get_sequence_for_file (IdeDiagnosticsManager *self
,GFile *file
);
void ide_diagnostics_manager_update_group_by_file (IdeDiagnosticsManager *self
,IdeBuffer *buffer
,GFile *new_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.
Internally, this is the same as buffer
emitting the “changed”
signal.
Since: 3.28
#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