nelsam / vidar

vidar is a highly experimental Go editor, written in Go, using gxui
The Unlicense
50 stars 7 forks source link

ProjectTree became runs in expand form #146

Closed Kvaz1r closed 5 years ago

Kvaz1r commented 5 years ago

Description

After recently updates ProjectTree became runs in expand form, is that by design?

Steps to reproduce

  1. open any file

Expected behavior

expected

Actual behavior

actual

nelsam commented 5 years ago

I meant to dig in to this at some point - honestly, I don't have a preference either way. I suppose it doesn't make sense to expand the navigator until you open a project. I don't really remember what changed to make it default to being open ... maybe it's the code that expands the navigator to the currently open file?

Kvaz1r commented 5 years ago

Maybe. I was trying to figure why it happened, but it not so obvious. It's not really important but distracted when opening single file without project.