HNCode² is the successor to HNCode, an extension no longer being developed. The idea behind HNCode was to provide a custom webview inside VSCode to browse Hacker News, eventually adding a code style view. However, due to the extreme simplicity of Hacker News itself, it made sense to instead provide it as a Tree View, for more discreet browsing in VSCode. This is HNCode².
Browse Top, New, Ask and Show HN in a tree view.
Go straight to external URLs or self posts from the tree view.
Expand the items to reveal amount of comments.
Click on expanded items to go straight to the comments in Hacker News.
This extension requires Visual Studio Code 1.38.0 or later to work properly.
This extension contributes the following settings:
hncode2.limitation: Set the amount of items to be loaded on the front page.
hncode2.defaultView: Set the Default View of the tree view. Possible items are: 'top', 'new', 'ask' and 'show'.
hncode2.requestTimeout: Set the timeout for requests in milliseconds (ms).
Sometimes, requests may time out without an appropriate error being displayed.