1

Is there way to have sublime text to build/compile real time as I type code so it can show my code errors if there's any? xcode has this feature.

for example, if i'm writing in a ruby file and in the first line i type:

print(hello)

and as i enter to the second line, sublime will tell me there's an undeclared variable "hello" in the first line?

  • 2
    You can try using [**SublimeLinter**](https://packagecontrol.io/packages/SublimeLinter) along with a [**Ruby Plugin**](https://packagecontrol.io/search/SublimeLinter%20Ruby). – Enteleform Apr 08 '16 at 10:59

1 Answers1

0

This feature is not specific to the build/compilation process. What you're really looking for is linting.

You can use SublimeLinter coupled with SublimeLinter-ruby for ruby linting. There are also many more packages available for linting other languages at packagecontrol.io.

Community
  • 1
  • 1
Darrick Herwehe
  • 3,553
  • 1
  • 21
  • 30