Skip to content

Commit

Permalink
feat: Automatically enable Capella UI freeze monitoring
Browse files Browse the repository at this point in the history
Enable Capella's built-in UI freeze monitoring with default settings. I've been unable to trigger a
situation where UI freezes are actually logged, so this needs more testing before being merged.

Closes #318
  • Loading branch information
zusorio authored and MoritzWeber0 committed Nov 5, 2024
1 parent d8c600e commit a97a71d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions capella/setup/setup_workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,11 @@ def _set_git_merge_mode() -> None:
"false",
)

# Enable UI freeze monitoring
_replace_config(
ECLIPSE_SETTINGS_BASE_PATH / "org.eclipse.ui.monitoring.prefs",
"monitoring_enabled",
"true",
)

_set_git_merge_mode()

0 comments on commit a97a71d

Please sign in to comment.