c9 / core

Cloud9 Core - Part of the Cloud9 SDK for Plugin Development https://c9.github.io/core/ https://c9.io
Other
2.56k stars 922 forks source link

File tree jumps when selecting open files #167

Open cadorn opened 9 years ago

cadorn commented 9 years ago

I have the option set to select the file in the tree when selected in the editor.

Many times when I click on a file in the tree, it opens and then the tree jumps to a different/file position.

There seems to be two scenarios:

  1. When clicking on a file in tree and it opens; the tree should IGNORE the leaf selection for tree event so it does not jump around
  2. When a split pane is used for multiple sets of tabs, the file may open in one tab set and the file in the tree for another tab set get selected (so tree jumps to wrong file).
  3. Again, tree leaf selection event should be ignored and
  4. The file should open in last pane (tab-set) and not in the last in the internal list (see: https://github.com/c9/core/issues/166 which seems to be related)

This issue is MOST ANNOYING and a read deal breaker for productive navigation.

cadorn commented 9 years ago

Also, when a file is closed by closing the tab, the tree should not auto-select the next visible file until the next file in the tab-set gets focused by the user. Its very annoying when the tree jumps when closing files.

cadorn commented 9 years ago

$feature https://github.com/devcomp/0.devcomp-for-cloud9/issues/1