Reputation: 6732
I found a plugin (sublimelinter) for this task but it is for specific languages.
Do you know a way to highlight/detect unique word in Sublime Text for all programming languages ?
To be clear I'm looking for a way to detect unused variable via a plugin wich detect unique word in a code since a unique word is generally also unused (It is not totally true but still it is not a problem if it wrongly detects few words such as "static","serial" and so on for c++. Ideally I should be able to list words to exclude).
Important : I do not want a solution in which I have to compile my code.
Upvotes: 2
Views: 261
Reputation: 1458
There is plugin SublimeClang
. It provides auto complete suggestions and error / warning reporting.
Upvotes: 2