Software ideas.

hum... Visual Basic.... hum.... I don't think VB compiler will treat that a s a warning, try with C#
 
iebidan said:
hum... Visual Basic.... hum.... I don't think VB compiler will treat that a s a warning, try with C#

lol..... as I was saying... I have a new software idea... well maybe not much of an idea as such, more an extension.

In visual studio whenever you try to use a variable that isn't declared it adds an error to your tasklist (unless you're a retard and you've turned off option explicit). I want to create an addin to Visual Studio that adds a warning to my tasklist whenever I create a variable (or function for that matter), but then don't call or use it...
 
It shows the warning in the output window, and also underlines the variable name in blue.

------ Rebuild All started: Project: Pheonix Test, Configuration: Debug .NET ------

Preparing resources...
Updating references...
Performing main compilation...
c:\documents and settings\administrator\my documents\visual studio projects\pheonix test\game.cs(19,15): warning CS0169: The private field 'Pheonix_Test.Game.a' is never used

Build complete -- 0 errors, 1 warnings
Building satellite assemblies...



---------------------- Done ----------------------

Rebuild All: 1 succeeded, 0 failed, 0 skipped
 
Back
Top