Community
Participate
Working Groups
MA (19.01.2001 10:46:12) 'Organize Imports' is a feature I am working on, that reevaluates all the needed imports in a compilation unit and replaces the existing imports in a user-defined sorted way. The sorting also contains empty lines between blocks of imports. This feature (empty lines between imports) can't be implemented with the current API for imports. Another shortcoming is that removing and setting of imports has to be done import by import. This will probably lead to flashing when using the feature. My suggestion is to add some API to IImportContainer: delete() to remove all imports setContent(source) (formatted source, including multiple lines of import statements (including empty lines) NOTES: DA (6/21/01 11:35:50 AM) Problem still exist in build 0.125.
PRODUCT VERSION: 0.020
Do you still need this?
No, the current solution directly accesses the underlying buffer. ok to close
Closed.