Highlight Unused Variables
Declare @var1 INT, @var2 INT
SELECT @var1 = 1, @var2 = 2
SELECT @var1 [@var1]
-- @var2 should be highlighted in the declaration since its assigned value is never used.
![](https://secure.gravatar.com/avatar/fe59ae2e1d4217f417112e680bd73c10?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Tim commented
SQL Prompt by RedGate has this feature so it would be great to see it added to SQL Complete. It is a very useful feature for cleaning up code.
-
Harsha commented
And would be good to have option to clear or remove them from the code
-
Harsha commented
Great idea and eagerly waiting for Devart to include this feature
-
tsahi commented
or /downlighted/, as in "grayed out", which is what R# does.
-
Anonymous commented
I agree, this would be a fantastic feature
-
Sheldon commented
great idea! This would be great for code cleanup. Maybe it could highlight after triggering parse w/format.