Community
Participate
Working Groups
Build Identifier: 0.7.0.v201109212102 Create a library in default package, then 'use' this library in a program. the library can NOT be resolved and use EGL Source->Organize Imports can NOT import the default package Reproducible: Always Steps to Reproduce: 1.Create a library 'comlib' with wizard in default package 2.Create a program, type 'use com' then Content Assist will completed it to "use comlib" 3.There will be an error for "use comlib" 4.Use context menu EGL Source->Organize Imports but it can not import the default package
Is your program defined in the default package? If a part is not defined in the default package then it cannot reference anything in the default package (just like with Java). There is no way to import the default package, therefore Organize Imports doesn't do anything. I tried a basic program and basic library both in the default package and it compiled without errors. The only defect I see here is that content assist should not be providing the library as a choice when it's in the default package and the active part is not in the default package.
No,my program is NOT in the default package. I involved XiaoBin to see this Content Assist issue
Created attachment 205593 [details] patch for this defect
fixed.
verified in 201110262101