Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Show a list of lint errors on bottom of sublime-text

I just got sublime text 3 and I'm installing sublinter and eslint. So the errors get shown on the actual line the errors at. How can I get it to show a list of all the errors of the current document on the bottom?

Here's what I mean. (This is an image from atom.)

enter image description here

like image 331
Horay Avatar asked Jan 11 '16 19:01

Horay


People also ask

How do I show errors in Sublime Text?

At the bottom of the Sublime Text Tools menu, you will see a SublimeLinter submenu. Select SublimeLinter > Next Error , SublimeLinter > Previous Error , or SublimeLinter > Show All Errors .

How do I run lint in Sublime Text?

Bring up the Command Palette and type lint . Among the commands you should see SublimeLinter: Lint This View . If that command is not highlighted, use the keyboard or mouse to select it. At the bottom of the Sublime Text Tools menu, you will see a SublimeLinter submenu.

What is Linting in sublime text editor?

Linting is the process of flagging suspicious constructs and likely to be bugs in any programming language. Sublime Linter is the package of Sublime Text that helps you to perform linting in Sublime. It helps in creating files in different modes for the manipulation of code base.


1 Answers

I personally tried to use SublimeLinter with SublimeLinter-contrib-tslint but it didn't navigate to the errors - it kept saying there are no lint errors even though I could see them on the screen in the individual files..

The closest I could get to what Atom provides (which I decided to move away because of the lagging scroll navigation) is this:

1) Choosing for example: Tools > Build System > TypeScript

2) Show Console (Ctrl+)

3) Tools > Build (Ctrl+B)

enter image description here

like image 133
Michail Michailidis Avatar answered Oct 08 '22 05:10

Michail Michailidis