Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not updating on change when in multiple rows / columns #130

Closed
stephan-nordnes-eriksen opened this issue Jan 3, 2014 · 8 comments
Closed

Comments

@stephan-nordnes-eriksen
Copy link

When using GitGutter and having sublime set up to using multiple rows or columns only the first row or column updates on change. The other ones only update on focus.

@jisaacks
Copy link
Owner

jisaacks commented Jan 3, 2014

Do you mean when you have multiple views into the same file?

@stephan-nordnes-eriksen
Copy link
Author

When you use multiple rows with more than one file. "Layout > Rows: 2" or "Layout > Columns: 2" etc.

Rows mac hotkeys: cmd + alt + 1/2/3
Columns mac hotkeys: cmd + alt + shift + 1/2/3

@jisaacks
Copy link
Owner

jisaacks commented Jan 3, 2014

@stephan-nordnes-eriksen I know what you mean by multiple rows/columns. But when you say with more than one file are you referring to having different files in each column/row (to me that does not make sense, why would gitgutter update a different file?) or do you mean the same file with different views in each column/row?

@stephan-nordnes-eriksen
Copy link
Author

Maybe I wasn't clear enough. When you have, say 2, rows with a different file in each. When you update your file in the second row, you have to un-select that file and then select it again for git gutter to update the diff-view on the side of that file.

It is quite easy to test. Fire up sublime on a folder with git. Then use two rows, and open a file in the second row. Do an update to that file. Now you will see that gitgutter isn't updating. For instace, when you press enter / newline you won't get your usual green pluss sign on the side.

@jisaacks
Copy link
Owner

@stephan-nordnes-eriksen I want to try to reproduce this. Following your instructions, I open sublime on a directory that uses git. Set a 2 column layout. Open a file in the second column. I have that file in the second column active. Now you say to Do an update to the file. What do you mean by that?

@timhabermaas
Copy link

Now you say to Do an update to the file. What do you mean by that?

Edit it, I guess. I have this issue as well occasionally, but can't reproduce it. Restarting Sublime always fixes it.

@stephan-nordnes-eriksen
Copy link
Author

Now you say to Do an update to the file. What do you mean by that?

Yeah, make a change in the file.

Restarting Sublime always fixes it.

I have noticed this as well, but for me the problem comes back quite soon after restart. I suspect maybe a conflict in some of the packages, but I don't know. I have the following installed:

  • ActionScript
  • Alignment
  • AppleScript
  • ASP
  • AutoSlim
  • Batch File
  • BracketHighlighter
  • C#
  • C++
  • Clipboard History
  • Clojure
  • CoffeeScript
  • Color Highlighter
  • Color Scheme - Default
  • ColorPicker
  • CSS
  • D
  • Default
  • Diff
  • eco
  • Emmet
  • Erlang
  • Git
  • GitGutter
  • Go
  • Google Spell Check
  • Graphviz
  • Groovy
  • Haskell
  • HTML
  • HTML2Jade
  • Jade
  • Java
  • JavaScript
  • Jinja2
  • JsFormat
  • JsMinifier
  • Language - English
  • LaTeX
  • LaTeXTools
  • LESS
  • Lisp
  • Lua
  • Makefile
  • Markdown
  • Matlab
  • Nodejs
  • Objective-C
  • OCaml
  • Package Control
  • Perl
  • PHP
  • Python
  • PyV8
  • R
  • Rails
  • Regular Expressions
  • RestructuredText
  • Ruby
  • Ruby Markers
  • Ruby Slim
  • RubyFormat
  • RubyTest
  • Sass
  • Scala
  • SCSS
  • ShellScript
  • SideBarEnhancements
  • SQL
  • SublimeCodeIntel
  • Table Editor
  • Tag
  • TCL
  • Terminal
  • Text
  • Textile
  • Theme - Default
  • Theme - Nil
  • TomDoc+
  • User
  • Vintage
  • WordCount
  • XML
  • YAML

@rchl
Copy link
Collaborator

rchl commented Nov 16, 2016

Please file this bug again if it still reproduces after all the changes that were done in the meantime. For now closing.

@rchl rchl closed this as completed Nov 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants