edubkendo / atom-racer

Intelligent code completion for Rust in the Atom Editor. Requires Racer.
MIT License
115 stars 24 forks source link

The newest version will appear some tmp file when edit files. #31

Closed armink closed 9 years ago

armink commented 9 years ago

image

I think it is not a good user experience. Blink files will move our attention. But the old version don't has this problem.

alkama commented 9 years ago

Hello,

Note: We now put the required temporary files in the project directory to help racer spot the projects "Cargo.toml" file so that it can help you complete even with your dependencies. (We soon will even put those temp files in the same directory where your current edited file is). That's to explain why we had to quit putting those files in the usual system temp folder.

Now about your problem: Firstly, it's strange you have multiple temp files, they should disappear once the call to racer is completed.

Secondly, we shaped them as ".XXXXX" because the ".*" is ignored by default by Atom. Check your Atom Settings:

You can control what is ignored in the main Atom settings top panel.

That, at least, should remove the flickers due to those temp files being hastily created and destroyed as racer is called.

armink commented 9 years ago

Thx. It isn't appear temp file When I check the box called Hide Ignored Names. :smile: I think should write this tips to readme file. Perhaps you can add this check box to atom-racer.

alkama commented 9 years ago

I'll certainly add that to the readme soon. And about adding a settings to toggle ignore on tree-view, I'm kinda reluctant to change a settings owned by another package. Glad it fixed your problem anyway :)

Fedcomp commented 8 years ago

Any chance you will allow to set tmp directory via configuration? or even avoid tmp files in the future? sounds like it's pointless hdd/ssd rewrite operations

melroy89 commented 7 years ago

You could.. also store this temp files in some user ~/.blbla hidden directory. So the Atom project will not flicker anymore since the default installation of both racer + atom gives unwanted behaviour (Hide Ignore Names is not checked by default). Something that every user needs to fix over and over again.