Bert (Better Error Resolution in Terminals) is a program that will monitor your terminal output and send you helpful tips on how to solve errors.
This is still a work in progress. Currently Bert can identify basic errors and will send you a notification with a link to the StackOverflow search results. We have plans to extend this functionality to deliver helpful answers and identify a large range of tests.
Currently the project is not available on npm yet, as its still in
development and we'd like to wait until it can handle a greater
spectrum of errors. See the development section below for how
to install manually.
Run in your terminal:
bertThis will then start your bert session and any errors that appear
in your terminal will trigger bert to send you notifications which
allow you to quickly find a solution.
Currently only tested on MacOS. It should run fine on Linux. Unfortunately we
are using script to watch terminal output and I don't believe this is
included in Windows, we plan to add support in the future.
Install:
npm iBuild the package (currently used for Flow):
npm run buildLink the package so that you don't have to re-install each time:
npm linkTest:
npm testRun:
bert- Add better search functionality so that Bert can give real recommendations
- Windows compatibility
- More error identifiers. Consider looking at VSCode problem matchers
- To implement:
- Java:
^(.+\\.java):(\\d):(?:\\s+(error)):(?:\\s+(.*))$, position 4 - Make:
^([^:]+):(\d+):(\d+): error: (.+)$, position 4 - C:
?[\\/0-9a-zA-Z\\._]+):(?\\d+):(?\\d+):\\s+(?.+), position 4 - More here
- Java:
- To implement:
