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
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
Matt Ward
b6aa67a6e2
Fix EnvDTE.ProjectItems.Item not returning correct items for child directories.
13 years ago
Matt Ward
f81c495eac
Add classes to EnvDTE.FileCodeModel2.CodeElements
13 years ago
Matt Ward
24955c6960
Implement EnvDTE.CodeClass2.ClassKind getter.
13 years ago
Matt Ward
102658b33f
Implement EnvDTE.CodeType2.IsAbstract
13 years ago
Matt Ward
239d24cf10
Implement EnvDTE.Projects.Count
13 years ago
Matt Ward
89bce2c9b3
Implement EnvDTE.Projects.Item()
13 years ago
Matt Ward
d5c579c0ba
Implement EnvDTE.Solution.FindProjectItem
13 years ago
Matt Ward
8dd6f39aa4
Return SDTE from text template host GetService.
...
T4MVC template requests the SDTE from the text templating host's IServiceProvider implementation and casts it to a DTE.
13 years ago
Matt Ward
8957e14233
Create stubs for EnvDTE API used by T4MVC.
...
Minor changes to T4MVC.tt:
1) Change imported assemblies and namespaces to refer to SharpDevelop's implementation of EnvDTE.
2) Change use of parameterised properties to method calls so no VB.NET classes are required.
13 years ago
Matt Ward
d888ef5555
Request latest package versions from NuGet feed.
...
Use $filter=IsLatestVersion when requesting packages from the online NuGet feed. Reduces the number of requests sent and the results are displayed quicker.
13 years ago
Matt Ward
5b3abf818e
Cache the current open solution in the EnvDTE.DTE class.
...
Maintains any solution variables added between accesses to the $dte.Solution in the Powershell console.
This allows the Unity NuGet package to install without any errors.
13 years ago
Matt Ward
6fddd96e6c
Allow Powershell to use EnvDTE.Globals properties as methods.
...
Added a VB.NET Globals class which implements multiple parameterised properties which are not supported in C#.
This allows Powershell to use properties on the Globals class as though they were methods:
$dte.Solution.Globals.VariableValue("MyValue") = "value"
Write-Host $dte.Solution.Globals.VariableValue("MyValue")
$dte.Solution.Globals.VariablePersists("MyValue") = $true
Write-Host $dte.Solution.Globals.VariablePersists("MyValue")
13 years ago
Matt Ward
f3e28c206d
Fix solution not being saved when extensibility global changed.
...
Save solution when:
1) EnvDTE.Solution.Globals.VariablePersists is set to true.
2) An existing solution item is changed by EnvDTE.Solution.Globals.VariableValue.
13 years ago
Matt Ward
5e15bbae37
Implement EnvDTE.Solution.Globals.VariablePersists
...
Allows ExtensibilityGlobals solution items to be added or removed from the solution. Used by Unity NuGet package.
13 years ago
Matt Ward
ca45dd501d
Implement EnvDTE.Solution.Globals.VariableValue
...
Allows reading/writing of ExtensibilityGlobals solution items. Used by Unity NuGet package.
13 years ago
Matt Ward
776d5d28b0
Add support for EnvDTE.Solution.Globals.VariableExists
...
Checks the ExtensibilityGlobals section of a solution file for a variable. Used by the Unity NuGet package.
13 years ago
Matt Ward
01ed6f6421
Fix errors when uninstalling jQuery 1.8.0 NuGet package.
...
jQuery NuGet package was using an unimplemented part of the Visual Studio API - EnvDTE.ProjectItems.FileNames(index).
13 years ago
Matt Ward
884951dabc
Update NuGet to version 2.0
13 years ago
Matt Ward
837c9c78ce
Sort NuGet packages by most downloaded first.
...
In the manage packages dialog the Available tab now orders the NuGet packages so that the most downloaded packages are at the top.
The other tabs are unchanged and continue to sort by package id
13 years ago
Matt Ward
d3688f4c13
Implement EnvDTE.ProjectItem.Remove()
13 years ago
Matt Ward
fbb332cff0
EnvDTE.ProjectItems AddFromFile now adds a file outside the project folder as a link.
13 years ago
Matt Ward
c453bf698c
Refactor EnvDTE.ProjectItems AddFromFileCopy method.
13 years ago
Matt Ward
2c51101245
Ignore directory name casing in EnvDTE.ProjectItems.
13 years ago
Matt Ward
9bfe7310e0
Fix duplicate file project items returned from EnvDTE.ProjectItems.
13 years ago
Matt Ward
1cdc439a10
Fix duplicate directory project items being returned by EnvDTE.ProjectItems.
13 years ago
Matt Ward
88d645b64e
Fix custom scaffolder unable to file scaffolding powershell file.
13 years ago
Matt Ward
65f408cd4a
Fix custom scaffolder using the wrong custom template filename to generate code.
13 years ago
Matt Ward
631faa9530
Fix EnvDTE.ProjectItems.AddFromFileCopy not adding the file to the project items directory.
13 years ago
Matt Ward
5d0b7ed89d
Fix scaffolding unit tests for controller actions.
13 years ago
Matt Ward
30775a50a0
Implement EnvDTE.CodeFunction.Type.
13 years ago
Matt Ward
368eecc11d
Implement EnvDTE.CodeParameter.Type.
13 years ago
Matt Ward
f04faadae8
Implement EnvDTE.CodeFunction.Parameters.
13 years ago
Matt Ward
543d8e9d59
Fix code indentation when scaffolding controller actions.
13 years ago
Matt Ward
fe401c77f4
Fix scaffolding controller actions.
13 years ago
Matt Ward
0c05940258
Implement EnvDTE FileCodeModel2.AddImport method.
13 years ago
Matt Ward
edad657cb2
Add EnvDTE.FileCodeModel2.
...
Return namespaces (CodeImport) from FileCodeModel2.CodeElements.
13 years ago