Hello,
My first post here…
I recently switched to MAC from PC (using PCs for 20+ years, developing since 7). I’ve been evaluating text editors for about a week. I’ve stumbled on ST and purchased it in less than 3 hours. It had everything I need. All other text editors missed something.
I love everything about it besides one thing - splitting a single file in two.
Now I know this can be achieved here with layouts but it’s a quite cumbersome to do and also not working quite as expected.
Here’s my use case - I work mainly with huge files (10-20k+ lines), containing both client and server code (usually javascript, php). When I code some new functionality I usually work on both client and server simultaneously. Being in a single file I need to work on very different positions. The split view here is a real life saver. But most of the time I don’t need it, because it takes precious vertical space. I also usually keep a lot of open files and only some of them are like this.
The current implementation in BBEdit is exactly what I need. It’s done via simple divider above the scrollbar which you just drag to whatever position you need and then when you finish you just discard it by dragging the divider all the way to the top. It is also aware of the current file, so file A is split, but file B isn’t. On Windows I have used EditPlus for years and it had the same implementation. The selection highlighting is also very important to work in spilt view - when I select text in the top pane it should be highlighted in the bottom one and vice versa. This is again a life saver when you code client/server functions and you are reusing variable names.
Is there something similar planned for the future? Can this be achieved via plugin?
I really love ST and this is the only thing that’s making me a lot less productive than before.