atom-racer icon indicating copy to clipboard operation
atom-racer copied to clipboard

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

Open mindsbackyard opened this issue 8 years ago • 3 comments

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.

mindsbackyard avatar Oct 05 '16 21:10 mindsbackyard

Love this. Hope it can be merged.

bronson avatar Nov 01 '16 06:11 bronson

why isn't this merged yet?

dszakallas avatar Apr 27 '17 17:04 dszakallas

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

Xaeroxe avatar Aug 16 '17 15:08 Xaeroxe