clj-commons / clooj

clooj, a lightweight IDE for clojure
Other
421 stars 49 forks source link

0.3.x series loses changes #91

Closed th0ma5w closed 12 years ago

th0ma5w commented 12 years ago

Not sure why or how, but I experience this both in Windows and Linux with the 0.3.x versions (I tried all of the official jars as well as downloaded and built with lein uberjar from the latest commit) I observe the following:

  1. When a file is changed in the editor pane, the file does change in the tree view to be filename.clj like in 0.2.x
  2. When a change is made, clicking on another file and back again loses all changes
  3. Saving the file is hit and miss... sometimes changes are saved, sometimes not

I do notice that if I make a change using the 0.2.x version, that the 0.3.x versions do indeed show the change and even show the unsaved changes as filename.clj however saving the file puts the file in the state described above and changes are non-deterministic.

I tried clearing my java preferences in my home on Linux and this didn't help, and checked file permissions, that doesn't seem to make a difference. Otherwise clooj is incredibly awesome and I don't mind being on 0.2.x because it is all rather awesome.

th0ma5w commented 12 years ago

been trying different versions and such, tried upgrading to java7 which doesn't seem to matter. basically what i've found is the rsyntax branch, if i start the jvm from the project directory, seems to preserve most features and has the better parts of the later commits. the 0.2.* versions tracks changes and such, but don't switch working directory like some commit i had previously tried did. the 0.3.* versions are really great but don't track changes to files. awesome stuff all around, and the swing direction of things seems like it will be rather fun as well. thank you for your hard work.

th0ma5w commented 12 years ago

i think i've isolated this to this commit https://github.com/arthuredelstein/clooj/commit/8e5ab677242f3ebc9fac2ddf0a3b49e40ac4274b the commit right before it i get revisions being stored, and after it i don't

th0ma5w commented 12 years ago

Just wanted to drop a line recent commits have resolved this issue! Thank you!