Nicholas Ruunu
Nicholas Ruunu
@YurkoHoshko PR has been merged but still not working for me, using Elixir v1.2.3
Ok, got it working, first install the deps: ``` cd "~/Library/Application Support/Sublime Text 3/Packages/ElixirSublime/sublime_completion" mix deps.get ``` 1. Choose Y to install. 2. Add this repository (master) to Package Control....
What about the `StreamInterface` requires an already opened stream? This is how I did it: https://github.com/PuristPHP/http-message/blob/c196b4c4859a19208d577291d7b89a26aaff6c03/src/Stream/LazyStream.php#L8
Still seem strange to me, there's nothing to stop you from doing this right now. Yes, you can't manually just `open()` but I don't really see the point with that.
Sorry, I don't understand why you need to do this. Changing the resource for a stream basically just means constructing a new Stream. Why would you need a Stream with...
Yeah, so do what I did in LazyStream?
Why do you need to extend Stream? It's using Stream everywhere.
Then don't use final, I still don't see why a new interface is needed. My classes are fully extensible via composition, but you can do it any way you want.
Honestly I feel like this would pollute the `StreamInterface` and still haven't gotten any reason for it to exist either as a new interface or merged with the old.
Ah, that's a shame, really liked this plugin. You think there's a way to get around it @seedzero?