# How to compare files in ST4?

**URL:** <https://forum.sublimetext.com/t/how-to-compare-files-in-st4/59564>\
**Category:** Technical Support\
**Created:** [July 9, 2021, 9:23pm UTC](https://forum.sublimetext.com/t/how-to-compare-files-in-st4/59564 "2021-07-09T21:23:09Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![bitsper2nd](https://forum.sublimetext.com/user_avatar/forum.sublimetext.com/bitsper2nd/32/75710_2.png) [@bitsper2nd](https://forum.sublimetext.com/u/bitsper2nd)\
**Post date:** [July 10, 2021, 2:54pm UTC](https://forum.sublimetext.com/t/how-to-compare-files-in-st4/59564/4 "2021-07-10T14:54:03Z")

</div>

> [@rogeriodec](#):
>
> What I have to do?

Open `Compare Side-By-Side.sublime-package` with 7zip or WinRAR. Drag and drop the `sbs_compare.py` in Sublime Text. Add the following lines to file:

```
		# move view 1 to group 1

		new_window.set_view_index( new_window.active_view(), 0, 0 )

```

Remember this must be exactly in line 572 and line 573 of the file and with the right spaces. For a visual example, please see the [Pull request on Bitbucket](https://bitbucket.org/dougty/sublime-compare-side-by-side/pull-requests/1). After that, save changes and restart ST4.

---

_[View the full topic](https://forum.sublimetext.com/t/how-to-compare-files-in-st4/59564)._
