HNHacker News
TopNewBestAskShowJobs

kahole

150 karma · joined February 24, 2020

submissionscomments
kahole··on Tell HN: Edamagit (VSCode) is looking for a new maintainer
Clickable link: https://github.com/kahole/edamagit
kahole··on Magit, the magical Git interface (2017)
You should check out edamagit, magit for vscode! https://github.com/kahole/edamagit
kahole··on VSCode Magit – An Introduction
edamagit for VSCode has evolved quite a bit since initially posting the alpha here over a year ago. It's still in preview, but more magit and forge features are now present.

In an effort to expose people who have never used Emacs to the wonders of magit, I've written a small tutorial covering the basics of operating edamagit here.

kahole··on Show HN: Edamagit – Magit for VSCode
I'm not sure, haven't tried. Onivim2 looks cool! Looks like they support VSCode extensions, so hopefully it'll work without too much hassle. For the VSCodeVim extensions I recommend alternative edamagit keybindings to avoid collisions. These are available in the edamagit README.md
kahole··on Show HN: Edamagit – Magit for VSCode
For now Github is the only supported forge. The repo has to have a github remote defined, and it will try to load issues and pull requests. The forge functionality is very new.
kahole··on Show HN: Edamagit – Magit for VSCode
Yes, after installation you can use the default keyboard shortcut ‘Alt+x g’ to open the edamagit status view. You could also run the command ‘Magit Status’ from the VSCode command pallete. [1]

[1] (https://code.visualstudio.com/docs/getstarted/userinterface#...)

kahole··on Show HN: Edamagit – Magit for VSCode
edamagit for VSCode has evolved quite a bit since initially posting the alpha here. It's still in preview, but more magit and forge features are now present. Would love some more feedback, and pointers to areas to focus on. (Have had some contributions, but mostly it's me working on this)
kahole··on Show HN: Scratch.js – Interactive JavaScript Scratchpad
Fixed, formatting is now removed
kahole··on Show HN: Scratch.js – Interactive JavaScript Scratchpad
fixed
kahole··on Show HN: Scratch.js – Interactive JavaScript Scratchpad
Fixed
kahole··on Show HN: Scratch.js – Interactive JavaScript Scratchpad
Great suggestions!
kahole··on Show HN: Scratch.js – Interactive JavaScript Scratchpad
This should now be fixed!
kahole··on Show HN: Scratch.js – Interactive JavaScript Scratchpad
(Now fixed) Thanks for letting me know, there is indeed a small issue with the clear() function.

I considered supporting only plain-text, but I found the editable visible style tag very interesting. And I like the fact all the power of the browser is available, e.g canvas, 3d rendering, and simple stuff like headers and images. Of course, you can use only plaintext if you'd like.

kahole··on Show HN: Scratch.js – Interactive JavaScript Scratchpad
That would be awesome!
kahole··on Show HN: Scratch.js – Interactive JavaScript Scratchpad
Yes, by selecting the lines. Execution-method looks at selection first.
kahole··on Show HN: Scratch.js – Interactive JavaScript Scratchpad
I find myself opening and using the web console to do simple tasks like string manipulation, maths, sorting often. I wanted a dedicated and persistent way to do this. And also just a place to keep notes, urls and stuff. So I made this "literate programming" notepad.

I'm also former Emacs user, and I like the lisp scratch buffer there, which is similar.

kahole··on Show HN: Scratch.js – Interactive JavaScript Scratchpad
The source is very small and can be used both through the file:// and hosted http protocols. So you can easily make it do whatever you like. I could maybe expose some global variables to make it customizable, but I went for simplicity and smaller source instead.
kahole··on Show HN: Scratch.js – Interactive JavaScript Scratchpad
Yes, I guess. I'm pretty used to ctrl+shift+v-ing to remove any formatting. I'm now considering removing formatting by default. Know a simple way?
kahole··on Show HN: Magit for VSCode (Alpha)
The commands in the pallete can be triggered by a single key-press (indicated to the left of the item). This makes it only visually different from Magit.

Its not perfect, but close your eyes and its the same sequence of keys to triger an action.