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.
-
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.