Mansheng Yang
0270ce48b0
[CodeActions] CreateOverloadWithoutParameterAction: fixed missing ref/out in generated call
13 years ago
Mansheng Yang
84126bbddc
[CodeActions] ConvertAsToCastAction: fixed some parentheses issues
13 years ago
Mansheng Yang
e23568fc51
[CodeActions] ConvertCastToAsAction: insert parentheses when necessary
13 years ago
Mansheng Yang
d9f68d3e67
[CodeIssues] ExpressionIsAlwaysOfProvidedTypeIssue: use Conversions instead of TypeCompatibilityHelper
13 years ago
Mike Krüger
aad32a0e66
[CodeAction] Fixed some 'cast expression of incompatible type' issue
...
bugs.
13 years ago
Mike Krüger
1b41ee02ca
[CodeAction] Convert lambda to delegate action no longer puts a
...
redundant () in the anonymous delegate.
13 years ago
Mike Krüger
24c0222e20
[CodeAction] Fixed bug in splet declaration and assignment action.
13 years ago
Mike Krüger
1a80006cac
[CodeIssues] Fixed an issue with try/catch statement in redundant
...
assignment issue.
13 years ago
Mike Krüger
d69edd3670
[CodeIssues] ')edundant field initializer' issue no longer greys out
...
the field name.
13 years ago
Mike Krüger
3451f5cb38
[Analysis] Handle null reference in control flow graph builder.
...
btw. assumes that if true statement is null the if is incomplete.
13 years ago
Matt Ward
a2a0f04240
Add new dependent files to project browser.
...
Update the project browser with any dependent files added to the project by the T4MVC template when it is run.
13 years ago
Matt Ward
3b15af69c1
Set DependentUpon for file added to EnvDTE file project item.
...
The T4MVC template uses EnvDTE.ProjectItems.AddFromFile() to add its generated files as dependent files.
If the project items belong to a file then the DependentUpon property is set in the MSBuild project.
13 years ago
Konrad M. Kruczynski
be34221618
[CodeIssues] Do not report unused parameter if it is out or ref.
13 years ago
Mike Krüger
6c62b5b2c3
[Ast] Fixed end location of multi line strings.
13 years ago
Mike Krüger
e639b4bcbb
[Analysis] Handled null conditions in do while & while statements.
13 years ago
Matt Ward
31560dd552
Add dependent files as child EnvDTE.ProjectItems.
...
Fixes the T4MVC template from adding duplicate files to the project since it failed to find the dependent files under T4MVC.tt.
13 years ago
Matt Ward
51f2ab9e20
Fix find in files exception when search matches file without highlighting.
...
When find in files matches text in a .txt file then EditorControlService.Instance.CreateHighlighter() returns null since .txt files have no syntax highlighting.
13 years ago
Matt Ward
7b0d8e92c9
Fix different EnvDTE behaviour between SharpDevelop and Visual Studio.
...
Throw exception when unknown item requested from EnvDTE.ProjectItems.Item() instead of returning null.
The T4MVC template relies on this behaviour when looking for folders that do not exist.
13 years ago
Matt Ward
14d0d235df
Fix cross appdomain serialisation exception for EnvDTE project items.
...
Convert project items generated by yield return to a list before allowing them to be used in a different app domain. The class generated by using the yield keyword is not serialisable.
13 years ago
Matt Ward
d9ed0169a4
Make EnvDTE classes serialisable.
13 years ago
Matt Ward
61cccdf063
Implement EnvDTE.ProjectItem.Open()
...
The T4MVC template opens itself into the IDE if it is not already open.
13 years ago
Matt Ward
69ccf0af45
Implement EnvDTE.Document.Saved
...
When T4MVC is configured to always keep its template unsaved then it uses Document.Saved to false each time it is run.
13 years ago
Matt Ward
d67c82e1f1
Implement EnvDTE.ProjectItem.Document
...
The T4MVC template checks the ProjectItem.Document property to see if it has been opened.
13 years ago
Matt Ward
358fbf071b
Implement EnvDTE.CodeParameter.Attributes
...
The T4MVC template looks for the MVC BindAttribute on method parameters in order to get the prefix.
13 years ago
Matt Ward
b80bfb80b6
Implement EnvDTE.CodeParameter2.ParameterKind
...
The T4MVC template checks whether a parameter is optional so it can determine which controller action methods can be called without any parameters.
13 years ago
Matt Ward
8bab34c5fb
Implemented EnvDTE.CodeFunction2.IsGeneric
...
The T4MVC template ignores controller methods that are generic.
13 years ago
Matt Ward
1e6d363c41
Fix CodeFunction.CanOverride returning false for overridden methods.
13 years ago
Matt Ward
32d5d39e8b
Implement EnvDTE.CodeFunction2.OverrideKind
...
The T4MVC template checks that a method is an overridden method.
13 years ago
Matt Ward
a315a11f4d
Return EnvDTE.CodeFunction2 instances from EnvDTE.CodeClass2.Members.
...
The T4MVC assumes the class methods are instances of the CodeFunction2 type.
13 years ago
Matt Ward
b17aa07a6d
Implement EnvDTE.CodeFunction.Attributes
...
The T4MVC template checks method attributes.
13 years ago
Matt Ward
02bd3e331d
Implement EnvDTE.CodeFunction.CanOverride
13 years ago
Matt Ward
b1e90b14ef
Implement EnvDTE.CodeFunction.MustImplement
...
Returns true if the method is abstract.
13 years ago
Matt Ward
81671a907d
Implement EnvDTE.CodeFunction.IsShared
...
Returns true if the method is static.
13 years ago
Matt Ward
5e0d6c3475
Implement EnvDTE.CodeFunction.FunctionKind
...
CodeFunction.FunctionKind currently only detects if the method is a constructor or a normal method.
13 years ago
Matt Ward
f8a9a0cff6
Implement EnvDTE.CodeType.IsDerivedFrom()
...
The T4MVC template checks that controller action methods return a class derived from System.Web.Mvc.ActionResult.
13 years ago
Simon Lindgren
f664df98bc
[CodeIssues] Check method names before concluding there is a problem.
13 years ago
Matt Ward
085dd5f0f5
Implement EnvDTE.CodeTypeRef.TypeKind.
...
The T4MVC template ignores methods that return something other than a reference type.
13 years ago
Matt Ward
9963d62468
Implement EnvDTE.CodeClass2.IsGeneric
...
The T4MVC template checks for generic controller classes and does not process them.
13 years ago
Matt Ward
8dab965c7d
Refactor EnvDTE.ProjectItems.
...
Remove code duplication in ProjectItems classes.
13 years ago
Simon Lindgren
23fdd83224
[CodeActions] Adjust the behaviour of AddCatchTypeAction.
13 years ago
Matt Ward
b6aa67a6e2
Fix EnvDTE.ProjectItems.Item not returning correct items for child directories.
13 years ago
Simon Lindgren
d01a360f32
[CodeIssues] Don't suggest demoting parameters of program entry points.
13 years ago
Simon Lindgren
93fce4f8a6
[CodeIssues] Don't suggest demotion to a non-array type for params parameters.
13 years ago
Simon Lindgren
a46f5e9874
[CodeIssues] Don't warn about static fields in generic types if the field declaration uses all type parameters.
13 years ago
Simon Lindgren
9c634c73fc
[CodeIssues] VariableDeclaredInWideScope: Handle moves into SwitchSections.
13 years ago
Simon Lindgren
9c8556c61f
[CodeIssues] Don't warn about missing usage of 'value' in accessors that throws immediately.
13 years ago
Simon Lindgren
06ebfd247d
[CodeIssues] VariableDeclaredInWideScopeIssue: Better dependency checking.
13 years ago
Matt Ward
3626c4c43e
Update OpenCover to version 4.0.724
13 years ago
Siegfried Pammer
34b40e896a
add missing documentation
13 years ago
Siegfried Pammer
3a1256bb4d
correction of bounding box calculation in IME support
13 years ago