Comments (16)
+1 !
from synx.
+1
from synx.
I had mentioned this with @marklarr on twitter, but it would be great to get an option to not alphabetize with synx (or have alphabetizing as a flag to enable).
Having this will just be a little difficult with a team and longstanding project. Running it will reorganize a lot of the project file, which may cause issues and not everyone on my team is going to run synx (and surely won't alphabetize the files).
Synx works really well for me because I can organize my Xcode group however I want, and it will organize the file system which I never really wanted to manually touch. But forcing alphabetization doesn't follow this same pattern. For example: Maybe I have a "Views" group, and inside I have all .xib files, some of them are cells, some of them are view controllers, and I want to group them together like that instead of alphabetizing. (sure I could make a cells folder but is that formatting decision the job of synx)
from synx.
Please make sorting optional and switched off by default! Folder structure is one thing, but logical project organization is sacred for many of us.
P.S. Ideally you should have different options for groups and files.
from synx.
I asked around to the team at work, because I wanted to verify that it was a safe assumption that users of Synx would be a fan of Xcode mirroring the file system as closely as possible, but apparently we all assumed incorrectly 😆. Sorry to anyone that this has gotten in the way of -- the good news is, you can lock-in to synx v0.0.61
until I can rollout a flag for this. Honestly, unless the community as a whole feels strongly otherwise, I'd like to keep the flag on by default.
from synx.
You mean v0.0.61, right?
As for the flag... For me synx is a great tool that takes my project's logical structure and tries to mimic it on the disk as closely as possible. I don't expect it to alter the project itself. Another consideration is backward compatibility. You are adding a feature that changes default behaviour and that's not a good thing for existing users. So my vote is: "It's good to have this feature, but it should be off by default." But of course the tool is in 0.1.x stage, so for the long term vision "default on" might make more sense.
from synx.
Yes sorry, v 0.0.61
, thanks for catching that. Edited.
Synx already alters the project itself -- you'll notice that, after running Synx on a disorganized project, the .pbxproj
will have a lot of diff.
For me synx is a great tool that takes my project's logical structure and tries to mimic it on the disk as closely as possible
Wouldn't also alphabetizing groups/files help us get even closer to the disk?
As for backwards compatibility, people can just shut the flag off 😄
from synx.
I don't want to be closer to the disk, I want the disk to be closer to me (logical structure of the project). But anyways it's a great tool and I can live with "default on".
from synx.
Yeah I agree with @FiRiN59 , but I won't complain as it's a great tool that you've made for free :P I appreciate you considering adding a flag to not alphabetize
from synx.
I agree with @ScottRobbins & @FiRiN59, having a flag that turns off Alphabetizing would be awesome. Having my project order restructured is not fun
from synx.
@AndrewSB @FiRiN59 @marklarr @eytanbiala @foobra Done :)
from synx.
@rafalwojcik Great job, thank you! I've been silently waiting for this feature for so long.
from synx.
@rafalwojcik Made my morning 😊
from synx.
@rafalwojcik Amazing, thx!
from synx.
This is a tad nitpicky, but the sort order is different from what XCode does when "Sort By Name".
I believe the sort order is case insensitive in XCode, space/symbol before alphanumeric; Synx will order groups/folders first then add files, XCode will sort everything in one bucket. Just a couple inconsistencies that I have noticed.
from synx.
Very late, but @rafalwojcik You're a wonderful person.
from synx.
Related Issues (20)
- Crash report: Errno::EEXIST
- Have the synx work in oposite direction as well? HOT 1
- Swift Scripting HOT 2
- Synx can irreversibly remove all your files HOT 1
- *.xcassets files was removed HOT 2
- Not work HOT 1
- Trunk whole path in filename
- Feature request: exclude files HOT 1
- Xcode 8 name
- synx error happens HOT 1
- running synx with --no-color fails and deletes all the files
- Is it possible to separate convert logic into a couple of steps?
- Synx removes empty folder HOT 1
- Sorting isn't localized (ZZ sorts before aa)
- GUI Wrapper App
- Removing bridging header file from project HOT 2
- Since using Synx Xcode Assistant no longer works
- support Mojave in different configurations
- [SPM] The problem with incorrect interaction with Swift Package Manager HOT 3
- Please add me as a contributor to the project HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from synx.