Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Codeline – run meta commands from your source-code comments (github.com/synek)
3 points by rorytbyrne on March 22, 2021 | hide | past | favorite | 3 comments


Hi folks, I'm the creator. Codeline aims to combine the context-aware power of IDE extensions with the expressiveness of command-line tools.

To that end, Codeline will give commands read & write access to the source-code context, and will make it possible to pipe commands together like in unix.

Right now I'm looking for people to try out v0.1.0 of the SDK for building commands, help me design v0.2.0 of the SDK, and maybe contribute to the core functionality as well (once it settles down a bit)

Thanks for checking this out!


This should be a Show HN post.

The "commit hunk to repository" feature is especially interesting to me, since it's a declarative approach.


Oops, good point. I totally forgot about Show HN (I'm not on here very often). It's still in development for now, so when the first "release" version is ready I'll post it as a Show HN.

I agree about the declarative approach, I like the idea of simply annotating your source code and then having Codeline process that for you. For example you could annotate several hunks as being part of the same commit, and then when you run Codeline it would reconcile and make the commit for you.

It may be possible to support both declarative and procedural (i.e. unix pipes) paradigms together, but they may have to be two distinct parts of the SDK to avoid confusion.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: