New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
armink opened this Issue Jun 12, 2015 · 5 comments

Comments

Projects
None yet
4 participants
@armink

armink commented Jun 12, 2015

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

This comment has been minimized.

Show comment
Hide comment
@alkama

alkama Jun 12, 2015

Contributor

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:

  • Open Settings > Packages
  • Search the core package called tree-view, click Settings
  • Check the box called Hide Ignored Names

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.

Contributor

alkama commented Jun 12, 2015

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:

  • Open Settings > Packages
  • Search the core package called tree-view, click Settings
  • Check the box called Hide Ignored Names

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

This comment has been minimized.

Show comment
Hide comment
@armink

armink Jun 12, 2015

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

armink commented Jun 12, 2015

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

@alkama

This comment has been minimized.

Show comment
Hide comment
@alkama

alkama Jun 14, 2015

Contributor

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 :)

Contributor

alkama commented Jun 14, 2015

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

This comment has been minimized.

Show comment
Hide comment
@Fedcomp

Fedcomp Dec 30, 2015

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

Fedcomp commented Dec 30, 2015

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

@danger89

This comment has been minimized.

Show comment
Hide comment
@danger89

danger89 Jun 24, 2017

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.

danger89 commented Jun 24, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment