I am recently editing a file which is fairly complex and it contains both JS, HTML and CSS all embedded into single file. Well no one will actually advise me to use it this way because there should be probably in their own files. But for the sake of simplicity and quick editing. I decided to keep them all into a single file.
Now while editing when the code becomes longer and you want to find the Variable names and copy code from the same file it becomes difficult to scroll and find the content and then scroll back to there you want to paste it.
Here is where I find sublimes Open “New View into file” so very useful. You can open the same file in multiple tabs. As many times as you want and then scroll independently to any section. Copy from one View to another and all views are updated automatically.
For me it has like saved so much effort. I am pretty much sure that all the editors must have a similar feature. Find and use it when you want to edit long files.
![](https://iamshishir.com/wp-content/uploads/2018/12/image-5.png)
You can find this inside “Files” menu.
Leave a Reply
You must be logged in to post a comment.