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

Bjarne Wichmann Bagge Petersen <>
Fri Jul 7 14:43:52 CEST 2017


Thx

I've been burned hard by that exact scenario - but this time I am pretty
certain that wasn't it (I don't have the `_build` version open in tab).

But I will try the selective exclude and see how it goes. Thx.

Best regards


Bjarne Wichmann Bagge Petersen

Backend Developer, ShopGun


E: 
L: dk.linkedin.com/in/bjarnewp
W: shopgun.com
A: Arne Jacobsens Allé 16, Field's, 3rd floor, DK-2300 København S, Denmark

2017-07-07 14:20 GMT+02:00 Dmytro Lytovchenko <>
:

> '_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 <>
> :
>
>> 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
>>
>>
>> E: 
>> 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
>> 
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
>

-- 
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170707/740a3912/attachment.html>


More information about the erlang-questions mailing list