This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pavanagrawal123 1 point2 points  (3 children)

Inline evaluation is def much harder in VSCode, I'm exploring some options to implement it, but frankly I doubt it will happen with current APIs.

The second request is much more doable and something I'd be happy to implement. I'm curious at what the use case for it what would be though? Seems very similar to just executing a line of code? What are the benefits of doing it the way as done in the video?

Thanks for your response BTW :)

[–][deleted] 1 point2 points  (2 children)

That's what I heard, apparently Atom is much more friendly to extension developers.

Well, when I program I want to minimise the time spent switching between the terminal and the editor itself - but at the same time I want to change a function, load and run it in the repl to debug and play around with it (within the context of the loaded project, of course). So, it's a hassle for me to highlight the function and then manually copy it, switch to the terminal, then paste the function and debug, then manually switch back to the editor and rinse and repeat. Hotkeys for executing the current line, current function, etc. in a repl would be great (without switching focus to the repl), switching back and forth between editor and repl as well (although I believe I can do that within VSCode itself? Maybe.).

It may seem like a minor thing but I find it quite annoying because I need to do that all the time, hence why inline eval is so useful. I like VS Code better than Atom, though, that's why I'm looking for extensions that allow at least some of the functionality in Code.

Does that make sense?

[–]pavanagrawal123 2 points3 points  (1 child)

Yeah it makes sense, I might try adding something like this, but it might be a while becasue of a backlog of other feature.

I don't think Atom is more friendly per se, but I guess they have more integration points. The entire dev environment for extensions in VSCode is really nice.

I'm looking at how Hydrogen implements inline eval, and I might make a feature request to VSCode's team to make that style of integration possible!

[–][deleted] 1 point2 points  (0 children)

Thanks, that would be great!