File tree 15 files changed +66
-25
lines changed
ts.eclipse.ide.angular2.cli
ts.eclipse.ide.angular2.core
src/ts/eclipse/ide/angular2/core/html
ts.eclipse.ide.angular2.core.tests
ts.eclipse.ide.angular2.ui
src/ts/eclipse/ide/angular2/internal/ui/contentassist 15 files changed +66
-25
lines changed Original file line number Diff line number Diff line change 72
72
</environments >
73
73
</configuration >
74
74
</plugin >
75
+ <plugin >
76
+ <groupId >org.apache.maven.plugins</groupId >
77
+ <artifactId >maven-surefire-plugin</artifactId >
78
+ <version >2.12.4</version >
79
+ <executions >
80
+ <execution >
81
+ <id >test</id >
82
+ <phase >test</phase >
83
+ <configuration >
84
+ <includes >
85
+ <include >**/*Tests.java</include >
86
+ </includes >
87
+ </configuration >
88
+ <goals >
89
+ <goal >test</goal >
90
+ </goals >
91
+ </execution >
92
+ </executions >
93
+ </plugin >
94
+ <plugin >
95
+ <groupId >org.apache.maven.plugins</groupId >
96
+ <artifactId >maven-compiler-plugin</artifactId >
97
+ <version >2.5.1</version >
98
+ <configuration >
99
+ <source >1.8</source >
100
+ <target >1.8</target >
101
+ </configuration >
102
+ <executions >
103
+ <execution >
104
+ <id >compiletests</id >
105
+ <phase >test-compile</phase >
106
+ <goals >
107
+ <goal >testCompile</goal >
108
+ </goals >
109
+ </execution >
110
+ </executions >
111
+ </plugin >
75
112
<plugin >
76
113
<groupId >org.eclipse.tycho.extras</groupId >
77
114
<artifactId >tycho-source-feature-plugin</artifactId >
113
150
</execution >
114
151
</executions >
115
152
</plugin >
153
+ <plugin >
154
+ <groupId >org.eclipse.tycho</groupId >
155
+ <artifactId >tycho-packaging-plugin</artifactId >
156
+ <version >${tycho-version} </version >
157
+ </plugin >
116
158
<plugin >
117
159
<groupId >com.mycila.maven-license-plugin</groupId >
118
160
<artifactId >maven-license-plugin</artifactId >
129
171
<artifactId >maven-release-plugin</artifactId >
130
172
<configuration >
131
173
<autoVersionSubmodules >true</autoVersionSubmodules >
174
+ <releaseProfiles >lax</releaseProfiles >
132
175
</configuration >
133
176
</plugin >
134
177
<plugin >
135
178
<groupId >org.eclipse.tycho</groupId >
136
179
<artifactId >tycho-compiler-plugin</artifactId >
137
180
<version >${tycho-version} </version >
138
181
<configuration >
139
- <source >1.7 </source >
140
- <target >1.7 </target >
182
+ <source >1.8 </source >
183
+ <target >1.8 </target >
141
184
</configuration >
142
185
</plugin >
143
186
<plugin >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<classpath >
3
- <classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7 " />
3
+ <classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8 " />
4
4
<classpathentry kind =" con" path =" org.eclipse.pde.core.requiredPlugins" />
5
5
<classpathentry kind =" src" path =" src/" />
6
6
<classpathentry kind =" output" path =" target/classes" />
Original file line number Diff line number Diff line change 1
1
eclipse.preferences.version =1
2
2
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode =enabled
3
- org.eclipse.jdt.core.compiler.codegen.targetPlatform =1.7
4
- org.eclipse.jdt.core.compiler.compliance =1.7
3
+ org.eclipse.jdt.core.compiler.codegen.targetPlatform =1.8
4
+ org.eclipse.jdt.core.compiler.compliance =1.8
5
5
org.eclipse.jdt.core.compiler.problem.assertIdentifier =error
6
6
org.eclipse.jdt.core.compiler.problem.enumIdentifier =error
7
- org.eclipse.jdt.core.compiler.source =1.7
7
+ org.eclipse.jdt.core.compiler.source =1.8
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Bundle-Vendor: %providerName
5
5
Bundle-Localization : plugin
6
6
Bundle-SymbolicName : ts.eclipse.ide.angular2.cli;singleton:=true
7
7
Bundle-Version : 1.2.0.qualifier
8
- Bundle-RequiredExecutionEnvironment : JavaSE-1.7
8
+ Bundle-RequiredExecutionEnvironment : JavaSE-1.8
9
9
Require-Bundle : org.eclipse.core.runtime,
10
10
org.eclipse.core.resources,
11
11
org.eclipse.ui.ide,
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<classpath >
3
- <classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6 " />
3
+ <classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8 " />
4
4
<classpathentry kind =" con" path =" org.eclipse.pde.core.requiredPlugins" />
5
5
<classpathentry kind =" src" path =" src/" />
6
6
<classpathentry kind =" output" path =" target/classes" />
Original file line number Diff line number Diff line change 1
1
eclipse.preferences.version =1
2
2
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode =enabled
3
- org.eclipse.jdt.core.compiler.codegen.targetPlatform =1.6
4
- org.eclipse.jdt.core.compiler.compliance =1.6
3
+ org.eclipse.jdt.core.compiler.codegen.targetPlatform =1.8
4
+ org.eclipse.jdt.core.compiler.compliance =1.8
5
5
org.eclipse.jdt.core.compiler.problem.assertIdentifier =error
6
6
org.eclipse.jdt.core.compiler.problem.enumIdentifier =error
7
- org.eclipse.jdt.core.compiler.source =1.6
7
+ org.eclipse.jdt.core.compiler.source =1.8
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Bundle-Vendor: %providerName
5
5
Bundle-Localization : plugin
6
6
Bundle-SymbolicName : ts.eclipse.ide.angular2.core.tests;singleton:=true
7
7
Bundle-Version : 1.2.0.qualifier
8
- Bundle-RequiredExecutionEnvironment : JavaSE-1.6
8
+ Bundle-RequiredExecutionEnvironment : JavaSE-1.8
9
9
Require-Bundle : org.junit;bundle-version="4.11.0",
10
10
org.eclipse.wst.xml.core;bundle-version="1.1.1000",
11
11
org.eclipse.wst.sse.core;bundle-version="1.1.1000",
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<classpath >
3
- <classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6 " />
3
+ <classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8 " />
4
4
<classpathentry kind =" con" path =" org.eclipse.pde.core.requiredPlugins" />
5
5
<classpathentry kind =" src" path =" src/" />
6
6
<classpathentry kind =" output" path =" target/classes" />
Original file line number Diff line number Diff line change 1
1
eclipse.preferences.version =1
2
2
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode =enabled
3
- org.eclipse.jdt.core.compiler.codegen.targetPlatform =1.6
4
- org.eclipse.jdt.core.compiler.compliance =1.6
3
+ org.eclipse.jdt.core.compiler.codegen.targetPlatform =1.8
4
+ org.eclipse.jdt.core.compiler.compliance =1.8
5
5
org.eclipse.jdt.core.compiler.problem.assertIdentifier =error
6
6
org.eclipse.jdt.core.compiler.problem.enumIdentifier =error
7
- org.eclipse.jdt.core.compiler.source =1.6
7
+ org.eclipse.jdt.core.compiler.source =1.8
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Bundle-Vendor: %providerName
5
5
Bundle-Localization : plugin
6
6
Bundle-SymbolicName : ts.eclipse.ide.angular2.core;singleton:=true
7
7
Bundle-Version : 1.2.0.qualifier
8
- Bundle-RequiredExecutionEnvironment : JavaSE-1.6
8
+ Bundle-RequiredExecutionEnvironment : JavaSE-1.8
9
9
Require-Bundle : org.eclipse.core.runtime,
10
10
org.eclipse.core.resources,
11
11
ts.repository,
Original file line number Diff line number Diff line change 4
4
import org .eclipse .wst .sse .core .internal .validate .ValidationMessage ;
5
5
import org .eclipse .wst .xml .core .internal .provisional .document .IDOMElement ;
6
6
7
- import ts .client .completions .ICompletionEntry ;
8
-
9
7
public interface INgBindingType {
10
8
11
9
String formatAttr (String name );
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<classpath >
3
- <classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6 " />
3
+ <classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8 " />
4
4
<classpathentry kind =" con" path =" org.eclipse.pde.core.requiredPlugins" />
5
5
<classpathentry kind =" src" path =" src/" />
6
6
<classpathentry kind =" output" path =" target/classes" />
Original file line number Diff line number Diff line change 1
1
eclipse.preferences.version =1
2
2
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode =enabled
3
- org.eclipse.jdt.core.compiler.codegen.targetPlatform =1.6
4
- org.eclipse.jdt.core.compiler.compliance =1.6
3
+ org.eclipse.jdt.core.compiler.codegen.targetPlatform =1.8
4
+ org.eclipse.jdt.core.compiler.compliance =1.8
5
5
org.eclipse.jdt.core.compiler.problem.assertIdentifier =error
6
6
org.eclipse.jdt.core.compiler.problem.enumIdentifier =error
7
- org.eclipse.jdt.core.compiler.source =1.6
7
+ org.eclipse.jdt.core.compiler.source =1.8
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Bundle-Vendor: %providerName
5
5
Bundle-Localization : plugin
6
6
Bundle-SymbolicName : ts.eclipse.ide.angular2.ui;singleton:=true
7
7
Bundle-Version : 1.2.0.qualifier
8
- Bundle-RequiredExecutionEnvironment : JavaSE-1.6
8
+ Bundle-RequiredExecutionEnvironment : JavaSE-1.8
9
9
Require-Bundle : org.eclipse.ui,
10
10
org.eclipse.core.runtime,
11
11
org.eclipse.core.resources,
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public TypeScriptAngular2TemplateCompletionProposalComputer() {
28
28
protected TemplateEngine computeCompletionEngine (TypeScriptContentAssistInvocationContext context ) {
29
29
try {
30
30
IResource resource = context .getResource ();
31
- if (!Angular2Project .isAngular2Project (resource .getProject ())) {
31
+ if (resource == null || !Angular2Project .isAngular2Project (resource .getProject ())) {
32
32
return null ;
33
33
}
34
34
String partition = TextUtilities .getContentType (context .getDocument (),
You can’t perform that action at this time.
0 commit comments