-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Workspace settings #1670
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
Workspace settings #1670
Conversation
@armartinez Looks good from what I can tell. Please resolve swift lint errors though. |
CodeEdit.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
Outdated
Show resolved
Hide resolved
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.
The changes for the packages do not work with the tests, can you revert those so the tests can be run. Thanks!
CodeEdit.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
Outdated
Show resolved
Hide resolved
CodeEdit.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
Outdated
Show resolved
Hide resolved
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.
🎉🚀
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.
Thanks for your amazing changes!
Some other issues I found while trying out the settings:
- If a user has the workspace settings open, he would still be able to click into the editor without the window disappearing. I think this would be fixed by using a sheet instead of a custom window.
- The “Tasks” toggle is not descriptive enough. Does the toggle indicate whether the task should be executed? Maybe a tooltip would help
- Environment variables should be deleted when pressing backspace;
- It seems there is an issue with the Environment Variable View, not sure if this is fixable:

CodeEdit/Features/CEWorkspace/Extensions/CEWorkspaceSettingsData+ProjectSettings.swift
Outdated
Show resolved
Hide resolved
CodeEdit/Features/CEWorkspace/Extensions/CEWorkspaceSettingsData+ProjectSettings.swift
Outdated
Show resolved
Hide resolved
CodeEdit/Features/CEWorkspace/Extensions/CEWorkspaceSettingsData+TasksSettings.swift
Outdated
Show resolved
Hide resolved
CodeEdit/Features/CEWorkspace/Views/EnvironmentVariableListItem.swift
Outdated
Show resolved
Hide resolved
CodeEdit/Features/CEWorkspace/Views/Pages/TasksCEWorkspaceSettingsView.swift
Outdated
Show resolved
Hide resolved
CodeEdit/Features/CEWorkspace/Views/Pages/TasksCEWorkspaceSettingsView.swift
Show resolved
Hide resolved
@armartinez, it kinda looks off, doesn't it? I think it's the blue highlighting. No need to worry about this small design thing now; we can fix it later. I can be a bit to picky sometimes 😁 |
CodeEdit/Features/CEWorkspace/Models/CEWorkspaceSettingsSearchResult.swift
Outdated
Show resolved
Hide resolved
CodeEdit/Features/CEWorkspace/Models/CEWorkspaceSettingsSearchResult.swift
Outdated
Show resolved
Hide resolved
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.
LGTM
We should definitely take a look at how we can make better use of SwiftLint.
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.
LGTM
@allcontributors add @armartinez for code |
I've put up a pull request to add @armartinez! 🎉 |
Description
This PR adds the base implementation for the workspace settings, which are created on the
./codeedit/
hidden folder inside the base path of the workspace once one of the settings is changed. Currently it just shows the general and tasks settings into a single sheet and the stored settings are not being used elsewhere.Related Issues
Checklist
Screenshots