0

Lately, I'm learning GitHub, in the tutorial videos they used Eclipse for editing the project/repository. In that vid I saw the code changed when he switch to another branch.

I'm currently using Sublime Text 2 and can't get the same behavior, is there anyway to make Sublime Text 2 behave like Eclipse?

Here is my Preferences -> Settings-User:

{
    "font_size": 12
}
Bla...
  • 7,228
  • 7
  • 27
  • 46
  • It's unclear what the editor has to do with this. Are you wanting Sublime Text to detect that the file has changed on disk and update what it shows in its editor window? Or is the file not changing on disk? – ChrisGPT was on strike Jun 25 '14 at 15:59
  • Strange, this should Just Work. Does it not update the code when you click on the editor? See also http://stackoverflow.com/questions/18342382/file-content-in-sublime-does-not-change-on-git-branch-change – jcm Jun 26 '14 at 00:51
  • @Chris : I don't know if git / editor do that, but as I watched the tut vid the code in the editor change when I switched branch and open/click on the editor.. – Bla... Jun 26 '14 at 03:10
  • @jcm : No, it doesn't. I have seen that post, thanks. – Bla... Jun 26 '14 at 03:14
  • Maybe you should search the Sublime issue tracker or post one yourself. – jcm Jun 26 '14 at 03:53
  • 1
    This is working just fine for me using [ST3](http://sublimetext.com/3) on Win8. Can you [edit] your question with the contents of your user preferences (**`Preferences -> Settings-User`**)? – MattDMo Jun 26 '14 at 19:51

0 Answers0