News for hackers. Stuff that matters.
Re:Show HN: Codelines – Create Coding Articles from Visual S... by mlejva on Sunday August 04, 2019 @06:09PM (#20609531)
Hi, OP here.

My friend and I created this because we think the current state of how we share programming knowledge on the internet is broken and mostly neglected. We just got frustrated by reading another Medium article with code in it.

We think the best place to read something with code has already been invented - IDE. We started with an extension for Visual Studio Code.

The core idea is that you can keep your codebase separated from the text and at the same time, you can create bindings between smaller parts of code and parts of the text. This way you can have growing codebase and reveal the story behind it.

The extension is kinda buggy but usable and shows the core idea. Feel free to ask any questions.

Re:Show HN: Codelines – Create Coding Articles from Visual S... by billconan on Sunday August 04, 2019 @08:27PM (#20610115)
You might be interested in this https://ourcodestories.com/
Re:Show HN: Codelines – Create Coding Articles from Visual S... by sansnomme on Monday August 05, 2019 @01:52AM (#20611600)
Any plans to add importers for common code annotation formats?
Re:Show HN: Codelines – Create Coding Articles from Visual S... by mlejva on Monday August 05, 2019 @02:01AM (#20611634)
By importers do you mean importing code into the text?

We want to add more rich text functionality. We just didn’t want to spend more days building this without any feedback.

Re:Show HN: Codelines – Create Coding Articles from Visual S... by sansnomme on Monday August 05, 2019 @09:35AM (#20614041)
Like being able to convert off the shelf code annotations into your format: https://news.ycombinator.com/item?id=20382841
Re:Show HN: Codelines – Create Coding Articles from Visual S... by andand on Sunday August 04, 2019 @06:43PM (#20609715)
How do you share the text with bindings?
Re:Show HN: Codelines – Create Coding Articles from Visual S... by mlejva on Sunday August 04, 2019 @06:45PM (#20609727)
Currently, you can only share the whole project. Codelines creates .codelines folder when first activated. So by sending someone the whole project, they can start the extension and read what you wrote.

Obviously, this isn't ideal but we didn't want to spend another week building sharing capabilites.

Re:Show HN: Codelines – Create Coding Articles from Visual S... by codingdave on Monday August 05, 2019 @08:41AM (#20613651)
This feels like a great solution to a different problem - documentation of a codebase for internal team usage.
Re:Show HN: Codelines – Create Coding Articles from Visual S... by mlejva on Monday August 05, 2019 @08:49AM (#20613724)
We have been thinking about that for the whole time we have been working on this MVP, haha.

We feel like both problems maybe aren't that different after all. It's about effectively sharing programming knowledge.

The reason we focused on articles is that it was a problem we had ourselves.

Re:Show HN: Codelines – Create Coding Articles from Visual S... by hiaux0 on Monday August 05, 2019 @05:59AM (#20612736)
Will this project stay closed source?

(because I couldn't find any reference to a repo on the website and on your github, assuming that's you: https://github.com/mlejva?tab=repositories)

Re:Show HN: Codelines – Create Coding Articles from Visual S... by mlejva on Monday August 05, 2019 @06:07AM (#20612780)
Currently, we don't mind open-sourcing it in the future. It'll probably stay closed source for a while. At least until we clean up the project a little bit. :)
Re:Show HN: Codelines – Create Coding Articles from Visual S... by hiaux0 on Monday August 05, 2019 @06:09AM (#20612787)
Makes sense!

Love this project. And thanks for trying to solve something that I also struggled with.

Re:Show HN: Codelines – Create Coding Articles from Visual S... by mlejva on Monday August 05, 2019 @06:17AM (#20612826)
Thank you!

As the next step, we want to launch on VSCode Marketplace like a proper extension.

Would you mind sharing an email (or Twitter handle, or anything else) so I could let you know once we are on the marketplace?

Re:Show HN: Codelines – Create Coding Articles from Visual S... by s_y_n_t_a_x on Monday August 05, 2019 @11:46AM (#20615060)
I might be missing something, but why not just use line comments. It will help you and the person you share it with. You can then show the comments in the separate view if needed.
Re:Show HN: Codelines – Create Coding Articles from Visual S... by erklik on Wednesday August 07, 2019 @03:45AM (#20632710)
I'll suggest decreasing the speed of gifs, it becomes rather difficult to understand what exactly is going on.
Re:Show HN: Codelines – Create Coding Articles from Visual S... by mlejva on Wednesday August 07, 2019 @06:47AM (#20633507)
Great insight. Thank you, fixed.
Re:Show HN: Codelines – Create Coding Articles from Visual S... by trumbitta2 on Tuesday August 06, 2019 @06:51AM (#20624011)
I'd like to see an example of an article and how to share it
Re:Show HN: Codelines – Create Coding Articles from Visual S... by jtokoph on Monday August 05, 2019 @04:38AM (#20612381)
Looks interesting. Noticed a typo: “bindigs”
Re:Show HN: Codelines – Create Coding Articles from Visual S... by mlejva on Monday August 05, 2019 @04:42AM (#20612398)
Just fixed it. Thank you!
Re:Show HN: Codelines – Create Coding Articles from Visual S... by oavu on Monday August 05, 2019 @03:39AM (#20612076)
ERR_CONNECTION_REFUSED :(
Re:Show HN: Codelines – Create Coding Articles from Visual S... by mlejva on Monday August 05, 2019 @03:45AM (#20612107)
Should be working now?

I was pushing some changes so maybe it was that.