Live data from Hacker News

Show HN: Gitcasso – Syntax Highlighting and Draft Recovery for GitHub Comments

github.com

11–15 of 15 posts

Re: Show HN: Gitcasso – Syntax Highlighting and Draft Recovery for GitHub Comments

#12

refined-github > Highlights > Adding comments, Conversations: https://github.com/refined-github/refined-github#writing-com...

yeah, refined-github is definitely the legend here, GitHub has incorporated so many of their ideas. But as of 2021 they were pretty dead-set against syntax highlighting: https://github.com/refined-github/refined-github/issues/5075

> We are not going to mess around with the comment box with syntax highlighting, which numerous people tried and failed due to GitHub updates or edge cases that are not so edgy.

Re: Show HN: Gitcasso – Syntax Highlighting and Draft Recovery for GitHub Comments

#13
post #10

Thanks for sharing. Seeing related issues and PRs seems like a useful feature. Though it would be better if the extension could somehow determine and show the related issues and PRs to the current issue/PR, instead of listing all open tabs. But I find the other two features to be less useful, personally. I tend to do all writing in my favorite text editor (where I'm writing this now), which is already configured with…

> I tend to do all writing in my favorite text editor

Have you tried https://ghosttext.fregante.com/

> typing in textareas is a cumbersome and risky experience

Exactly! Forget syntax highlighting, that's the real problem to be solved! (gitcasso is very far from achieving that rn)

> any developer familiar with the codebase ... fix the issue in a fraction of that time

Fair point. I published an example which was easy to follow rather than an example which showed off the tooling at its "max strength". I recorded a different take where I added support for issues being opened within a GitHub Project. The scraping there is a lot more complex, fixing one case tends to break another, and the AI can solve it in pretty much the same time, but the video felt too confusing to bundle with the launch.

> any developer familiar with the codebase

Refined GitHub (a popular github browser extension) has long rejected syntax highlighting for being too hard to maintain. So part of the goal here is to automate that maintenance - hopefully there won't even be a developer who is currently familiar with the codebase pretty soon. The slowest part by far is capturing the snapshots in the first place, which could/ought be automated.

> you have a very nice shed

Thanks imiric! And thanks for sharing your thoughts :)

Re: Show HN: Gitcasso – Syntax Highlighting and Draft Recovery for GitHub Comments

#14
post #9

Nice extension! 1. It'd save a lot of time if one could just click a Markdown PR description and start editing it, without entering edit mode first. 2. Thanks to the following prompt, I barely write PR descriptions these days. > Run `gh pr view` then `gh pr edit` to fill out the PR description. Use my words verbatim as much as possible. Be brief. Use tasteful markdown formatting.

> I barely write PR descriptions

As someone who has to read a coworker's AI-generated slop PR descriptions every day, what a bummer

Post reply on HN