Skip to content
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

Fix: atom-racer does not need to create temporary files #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mindsbackyard
Copy link

atom-racer creates temporary files to provide completion even for unsafed content.
This results in a lot of writes to the disk and is unnecessary. The racer command allows to
pass a subsitute file whose content will be used instead of the file completion is invoked for (its location is used nevertheless).
Instead of specifying a real substitute file '-' is passed and the contents are read from stdin.
This also removes the 'temp' dependency.

atom-racer creates temporary files to provide completion even for unsafed content.
This results in a lot of writes to the disk and is unnecessary. The racer command allows to
pass a subsitute file whose content will be used instead of the file completion is invoked for (its location is used nevertheless).
Instead of specifying a real substitute file '-' is passed and the contents are read from stdin.
This also removes the 'temp' dependency.
@bronson
Copy link

bronson commented Nov 1, 2016

Love this. Hope it can be merged.

@dszakallas
Copy link

why isn't this merged yet?

@Xaeroxe
Copy link

Xaeroxe commented Aug 16, 2017

merged into racer-plus package here https://github.com/Xaeroxe/atom-racer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants