-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open Quickly #119
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
Open Quickly #119
Conversation
… WorkspaceDocument
Conflicts: CodeEdit/AppDelegate.swift
I'm experiencing difficulties optimizing "Open Quickly". The problem is that, because we are using And we cannot add a view to And expanding all the parent directories to the file is not really the way it should be done, because there can be a lot of subdirectories and files which will mess up the whole sidebar content. Especially if we are speaking about searching inside caches and modules directories. Obviously, I cannot use So, what should we do about that? Because it may not allow us to make lookups and other features as well. |
Right now I'm working on a solution for this problem without changing how we implement |
To be honest I'm not quite happy yet with how the sidebar is implemented yet. I would rather have a main window which hosts the editor/placeholder and the sidebar should be embedded as a package. But as of now (using |
Conflicts: CodeEdit/SideBar/SideBarItem.swift
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Does it fix the issues described earlier?
No, I've tried, but I think it would be better for someone to fix them in #123. |
Ok so for now some files will not open if not present in the sidebar. Correct? |
They will open because I've made a small workaround with |
Perfect! |
…anel` (it can be used by any other overlay). Make `OverlayPanel` close on `windowDidResignKey` as Xcode does
|
Fixes #42
OverlayPanel
OverlayPanel
automatically closes when it's out of focus (as "Open Quickly" and other overlays do in Xcode)Video demo
demo_openquickly.mov
Screenshots