This question is locked. New answers and comments are not allowed.
It would be nice to have a way for JustCode to automatically translate a type into a typeof();
if you are calling a method with a type for a parameter.
ie
public void RegisterType(Type type){...}
then in your code you type
...
RegisterType(string);
...
Justcode could automatically change that to
RegisterType(typeof(string));
provided it also checks for variable names that are not the same name as the type. If So offer a refactoring to change it to typeof...
What do you think?
if you are calling a method with a type for a parameter.
ie
public void RegisterType(Type type){...}
then in your code you type
...
RegisterType(string);
...
Justcode could automatically change that to
RegisterType(typeof(string));
provided it also checks for variable names that are not the same name as the type. If So offer a refactoring to change it to typeof...
What do you think?