question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Atom’s linter-eslint project holds a list of plugin and plugin rules documentation location pair (see https://github.com/AtomLinter/linter-eslint/blob/master/lib/helpers.js#L72-L104). Basically: "For eslint plugin X, the documentation for every rule is in https://github.com/Gillespie59/eslint-plugin-X/blob/master/docs/' + ruleName + '.md'.

What do use it for, is at the location where errors are shown, to have a clickable link that opens the browser with the documentation page of that link, which allows you to easily read more about the rule and/or the problem it points out. (in the following screenshot, no-undef is clickable) image

A while ago, I thought about moving this project to its own repo (that I discussed in one of the points here), and the creators thought it could be a good idea.

I now thought that this could be pretty useful here. Behind an option, there could be new list formatted like this:

accessor-pairs http://eslint.org/docs/rules/accessor-pairs
array-bracket-spacing http://eslint.org/docs/rules/array-bracket-spacing
array-callback-return http://eslint.org/docs/rules/array-callback-return

import/order https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/order.md

which would be clickable in the terminal (hopefully in most terminals, otherwise it’s copy-pastable, which is still nice), and allow you to quickly find out about a rule.

Right now, I’m wondering whether you’d be interested by this functionality. And if so, I’ll be more interested in working on the new repository the plugins (and maybe even integrate it here) 😃 What do you think?

FYI: Currently, as that “list” works, every link for an unknown plugin will redirect to a page to help register it.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
sarbbottamcommented, Jul 31, 2016

looks good 👍

1reaction
jfmengelscommented, Jul 29, 2016

Yes, it’s too verbose to be there by default.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Defining an Output Link - IBM
Defining an Output Link ... When you read data from a data source, a Complex Flat File stage has an output link. Define...
Read more >
Output Link to File - Visual Studio Marketplace
Creates links to files in the output window. ... Launch VS Code Quick Open ( Ctrl+P ), paste the following command, and press...
Read more >
OutputLinks - Home
For Tradeshow Managers & Sales Managers · Employee and Company Development Information-Whose Time Has Arrived · Do You Know Your Printers' Limit? ·...
Read more >
LINK Output | Microsoft Learn
The default output file from LINK is an .exe file. If the /DLL option is specified, LINK builds a .dll file. You can...
Read more >
Embedding links in Output Window? - Runtime - pyRevit Forums
I was reading on the developer docs page about Effective Output, and I love the idea of clickable element links.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found