We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c52971f commit 2b7a0a2Copy full SHA for 2b7a0a2
eclipse/ts.eclipse.ide.core/src/ts/eclipse/ide/core/utils/TypeScriptResourceUtil.java
@@ -206,7 +206,8 @@ public static boolean isEmittedFile(IFile jsOrJsMapFile) {
206
if (StringUtils.isEmpty(tsFilename)) {
207
return false;
208
}
209
- return jsOrJsMapFile.getParent().exists(new Path(tsFilename));
+ return jsOrJsMapFile.getParent().exists(new Path(tsFilename))
210
+ || jsOrJsMapFile.getParent().exists(new Path(tsFilename + "x"));
211
212
213
public static Object[] getEmittedFiles(IFile tsFile) throws CoreException {
@@ -408,7 +409,7 @@ public static IDocument getDocument(IFile file) {
408
409
410
411
-
412
+
413
/**
414
* Returns the file from the given {@link IDocument}.
415
*/
0 commit comments