Home Download Buy Blog Forum Support

How to make sublime text highlight errors

How to make sublime text highlight errors

Postby MPQC on Sat Feb 02, 2013 11:00 pm

I see that it can jump to the errors after a build (F4), but how do I make it highlight the line as well?
MPQC
 
Posts: 2
Joined: Sat Feb 02, 2013 9:50 pm

Re: How to make sublime text highlight errors

Postby FichteFoll on Sun Feb 03, 2013 12:04 am

Usually, F4 also selects the relevant part in the output panel which shows where the error "took place". By selecting I mean that it shows in the same color as a selection in the edit view.
FichteFoll
 
Posts: 407
Joined: Fri Mar 16, 2012 11:49 pm
Location: Germany

Re: How to make sublime text highlight errors

Postby MPQC on Sun Feb 03, 2013 3:01 am

Doesn't seem to happen to mine. See here. Does there need to be something specific in the theme for it to appear?
MPQC
 
Posts: 2
Joined: Sat Feb 02, 2013 9:50 pm

Re: How to make sublime text highlight errors

Postby FichteFoll on Sun Feb 03, 2013 1:09 pm

So, you want the error to highlight the whole line in the edit view where the error occures? Not possible to my knowledge because the error search results may contain a line and a column number. Thus, it would place the cursor in the desired line and column. However, I guess it makes sense to select the whole line when no column is specified. This would be a feature request, then.
FichteFoll
 
Posts: 407
Joined: Fri Mar 16, 2012 11:49 pm
Location: Germany

Re: How to make sublime text highlight errors

Postby tomhe on Tue Feb 05, 2013 8:20 pm

See this feature request: http://sublimetext.userecho.com/topic/102678-highlight-lines-reported-by-build-system/

But at 10 votes it is very unlikely to get implemented.
tomhe
 
Posts: 7
Joined: Sun Mar 18, 2012 6:10 pm

Re: How to make sublime text highlight errors

Postby qgates on Wed Feb 06, 2013 4:49 am

Not that this is exactly what you're asking for, but you might want to enable line highlighting to get close to where you want. Add the following to user or filetype prefs:
Code: Select all
"highlight_line": false,


You could make a keyboard shortcut to toggle this via a very simple plugin.
qgates
 
Posts: 230
Joined: Mon Nov 05, 2012 4:33 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 33 guests