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
0xWDG
left a comment
There was a problem hiding this comment.
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.
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
tom-ludwig
left a comment
There was a problem hiding this comment.
LGTM
We should definitely take a look at how we can make better use of SwiftLint.
|
@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