Daniel Grunwald
ce3de78aba
Introduce SDTestFixtureBase to initialize/tear down the static service container.
13 years ago
Daniel Grunwald
fcb7e48993
Move some addin tree paths.
13 years ago
Daniel Grunwald
09cbdfcf7a
Add missing manifest to MachineSpecifications and HelpViewer addins.
...
The addins could not be disabled due to the missing <Identity>.
13 years ago
Daniel Grunwald
1f43c620d2
Add IWinFormsService interface to wrap ICSharpCode.Core.WinForms.
13 years ago
Daniel Grunwald
a3f61c855f
Move workbench-related classes into new 'Workbench' namespace.
13 years ago
Daniel Grunwald
ca975b65aa
Add ITreeNodeFactory to create tree nodes from a model.
...
Remove the mandatory file name from the document constructors.
13 years ago
Siegfried Pammer
ef7f6bae62
make fileName in IDocument mandatory to avoid crashes
13 years ago
Matt Ward
a8f92d9e3e
Set CustomTool for files added by NuGet.
...
Files added (e.g. T4MVC.tt) when installing a NuGet package were not getting a default CustomTool configured.
Now the CustomToolsService.GetCompatibleCustomToolNames() is used to find the first matching custom tool name for a file.
13 years ago
Siegfried Pammer
6247fcb190
implement customizable multi highlighter
13 years ago
Daniel Grunwald
9193b83219
Make IHasPropertyContainer a [ViewContentService].
13 years ago
Daniel Grunwald
05904c8407
Replace ITextEditorProvider with GetService<ITextEditor>().
13 years ago
Matt Ward
db2f9dbb06
T4 template can now add virtual keyword to public methods.
...
The EnvDTE.CodeFunction.CanOverride property setter can be used to add a virtual keyword to the method definition.
The T4MVC template makes all controller methods virtual so it can override them in another generated class.
13 years ago
Matt Ward
d7b7ee5247
T4 template can now add partial keyword to class.
...
The EnvDTE.CodeClass2.ClassKind property setter can be used to add a partial keyword to the class definition.
The T4MVC template makes all controller classes partial so it can add extend the original class with an associated partial controller class that it generates.
13 years ago
Matt Ward
12fe1bbc73
Fix T4MVC template not generating method parameters.
...
Now using CodeParameter2 instead of CodeParameter when returning parameters from CodeFunction.Parameters
13 years ago
Matt Ward
debe1eae99
Fix incorrect namespace returned for EnvDTE.CodeType.
...
The last part of the namespace was being returned by CodeNamespace.Name for a CodeType instead of the fully qualified name.
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
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
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