Sublime Forum

Debuggin with ST3

#1

Hi guys

i’ve seen in a video how Netbeans warn you with a small simbol on the left when you have an error while you are coding like to miss ; or ().
is there anything similar for ST? this can save a lot of time.

thanks

0 Likes

#2

If your build system is correctly parsing error output you can show errors in the source by setting the following in your preferences:

"show_errors_inline": true,

Not exactly what you want but still very useful, possible even better.

0 Likes

#3

Hi Nutjob2
thanks for your reply
i can see that i have “show_errors_inline”: true,

what i pretend to do is for example… you write this

<?php echo "hello world" ?>

this gonna trigger an error when you display this in a browers as i am missing ;
i wonder if there is a plugin in ST that warn you about the error like Netbeans does

0 Likes

#4

You will need a package or a build system that checks the code and generates the errors, but I’m not familiar with them for PHP. Try looking around at https://packagecontrol.io/

0 Likes

#5

You may also check https://packagecontrol.io/packages/SublimeLinter and https://packagecontrol.io/packages/SublimeLinter-php

1 Like

#6

thanks r-stein
it seems to be what im looking for.
i will try

thanks you both

0 Likes