-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Full Quick Look Support. #1815
Full Quick Look Support. #1815
Conversation
Great work! A few small things...
|
What about an option in the Settings window? So we can let the user decide. |
I'd rather keep settings as concise as possible. Xcode doesn't include this, I'd like to follow suit if you wouldn't mind. |
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!
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.
@activcoding This seems to be an issue with that way the conditional for showing Source Code works. Should I go ahead and change it to Running in a Playground the the following code for
|
Do we need the Quick Look dropdown? It seems like an unnecessary step. Since it's only 2 options, we can just display those two as "Quick Look in Modal" or "Quick Look in Tab". Thoughts? |
@FastestMolasses, Open In Modal ways removed as suggested by @austincondiff. See Removed Quick Look icon, removed Open In Modal option. My previous comment highlights a current issue, and I’m waiting for a response on that so I can move forward with the edits. |
My personal opinion is this is a text editor so editing text should be prioritized and should be default. I don't think we should allow only a specified set of file types to edit text. There will always be new and/or custom filetypes that we are not aware of that needs to be editable via text. That said I think this option should be available where possible. Now I can see that potentially being problematic when dealing with images and videos where it is not possible to edit them in this way and if this is the case, disabling this option might be a good thing. @CodeEditApp/maintainers thoughts on this? |
9ac49cf
to
a78e586
Compare
Sorry about that. Had some conflicts with my fork but they're now fixed. |
Text editting should be the priority. |
Closing this for now as it no longer works with the current |
Description
This pull request brings full Quick Look support. This means that now, any type of file compatible with Quick Look can be viewed within CodeEdit (such as videos).
Related Issues
Checklist
Screenshots
Menu
Video
Screen.Recording.2024-07-10.at.23.04.25.mov
Update 1
Opened in code editor (left). Opened with Quick Look (right).
Update 2
Open As -> Source Code menu item is now enabled. When having a file opened with Quick Look, clicking this option will opened the file in the default CodeEdit editor.
Screen.Recording.2024-07-10.at.23.50.55.mov