typescript.java icon indicating copy to clipboard operation
typescript.java copied to clipboard

Typescript resources show .js files when excluded in tsconfig.json

Open danielvanmil opened this issue 9 years ago • 1 comments

I have a tsconfig like:

{
	"compilerOptions": {
		"target": "ES5",
		"module": "amd",
		"moduleResolution": "classic",
		"listEmittedFiles": true
	},
	"compileOnSave": true,
	"buildOnSave": true,
	"include": ["**/*.ts"],
	"exclude": ["**/*.js"]
}

So .js should be excluded and are excluded from the Typescript build. Confusing is some .js resources are displayed in the Typescript resources view.

danielvanmil avatar Nov 16 '16 08:11 danielvanmil

It's because issue https://github.com/angelozerr/typescript.java/issues/86 is not implemented. The scope is computed with Java and I have not supported glob pattern.

angelozerr avatar Nov 16 '16 08:11 angelozerr