[erlang-questions] IntelliJ, erlang-plugin and disappearing edits

Dmytro Lytovchenko dmytro.lytovchenko@REDACTED
Fri Jul 7 14:20:00 CEST 2017

'_build' creates links to your source directories, which makes duplicate
search results and some of your files when you jump to files and locations,
may open from that duplicate directory. Then you open it manually from its
original location and voila, now you have two conflicting tabs with same
open file.

Don't mark whole '_build' as excluded, instead mark clones of your OWN
applications inside _build/lib/*/ as excluded. Keep the dependency
libraries included for autocomplete to work.

2017-07-07 14:15 GMT+02:00 Bjarne Wichmann Bagge Petersen <bp@REDACTED>:

> Hi
> I have a really annoying problem - I make edits to files and they
> disappear.
> It doesn't happen often - but it does happen. Usually I just log it under
> "I probably just thought I'd make the edit but never really did - I'm
> getting old".
> Today, though, I was certain and looked into the history of the file I
> edited (IntelliJ have a local history). It *did* show that I made the
> edits... and then 4 minutes later the file have been reverted to its
> previous state (no indication of edits).
> I suspect `_build` and how IntelliJ handles it. Ie. contents from _build
> is being written back to the sources.
> I can mark `_build` as `excluded`, but that kills autocomplete. I don't
> want that.
> I really don't know where the problem lies (me, IntelliJ or erlang-plugin)
> - any tips from IntelliJ users would be welcome.
> Best regards
> Bjarne Wichmann Bagge Petersen
> Backend Developer, ShopGun
> L: dk.linkedin.com/in/bjarnewp
> W: shopgun.com
> A: Arne Jacobsens Allé 16, Field's, 3rd floor, DK-2300 København S, Denmark
> ShopGun is people's shopping planner app
> <https://shopgun.com/app/download/> that lets them pull the trigger on
> local deals, saving people money & making their everyday lives easier.
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170707/fe199bec/attachment.htm>

More information about the erlang-questions mailing list