Community
Participate
Working Groups
When processing HTML files, JSDT updates project's include path to contain all JavaScript files referenced from that HTML. That's fine, but JSDT should not add elements that were explicitly excluded from Include Path. Steps to reproduce: 1. Create javascript project 2. create a.js 2. in project include path configuration add exclusion rule, e.g. "**/a.js" 3. create index.html which contains following script tag: <script type="text/javascript" src="a.js"></script> 4. Try to use Content-Assist in index.html Notice that types from a.js are found, altough they shouldn't, because they were excluded.
Created attachment 174137 [details] patch When adding new files to include path, first make sure that they were not intentionally excluded. The isExcluded() method is inspired by org.eclipse.wst.jsdt.internal.core.JavaProject.isOnIncludepath(IResource) I was trying to use those in Util class, but with no success.
I don't think this is a problem in 3.2.1. Will try it out and probably close.
Works correctly in 3.2.1. BUG318252