Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate circular dependencies #12198

Open
core-ai-bot opened this issue Aug 31, 2021 · 2 comments
Open

Investigate circular dependencies #12198

core-ai-bot opened this issue Aug 31, 2021 · 2 comments

Comments

@core-ai-bot
Copy link
Member

Issue by gruehle
Wednesday Oct 31, 2012 at 00:09 GMT
Originally opened as adobe/brackets#1998


Running madge on the Brackets source shows that we have a number of circular dependencies.

Some of these are known, like DocumentManager<-->EditorManager, and would be very difficult to break. Others should be easy fixes. We should investigate each of these and split the easy fixes into separate bugs.

> madge --circular src/
document/DocumentManager -> editor/EditorManager
editor/EditorManager -> editor/Editor -> command/Menus
editor/EditorManager -> editor/Editor -> command/Menus -> widgets/PopUpManager
editor/EditorManager -> editor/Editor -> editor/CodeHintManager
editor/EditorManager -> editor/Editor
preferences/PreferencesManager -> preferences/PreferenceStorage
document/DocumentManager -> editor/EditorManager -> editor/InlineTextEditor
editor/EditorManager -> editor/InlineTextEditor
editor/EditorManager -> editor/InlineTextEditor -> editor/InlineWidget
editor/EditorManager -> widgets/StatusBar
document/DocumentManager -> project/ProjectManager
project/ProjectManager -> preferences/PreferencesDialogs
document/DocumentManager -> project/ProjectManager -> project/FileViewController
@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Wednesday Oct 31, 2012 at 00:23 GMT


EditorManager -> Statusbar is covered by #1869

Editor -> Menus is only there to close popups on scroll, which might be changed by #1381.

@core-ai-bot
Copy link
Member Author

Comment by pthiess
Tuesday Nov 06, 2012 at 00:17 GMT


Reviewed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant