Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Added support for specifying packages to import in library.properties (updated version of PR #2178) #3010
(The following is taken from the original PR, #2172:)
Added support for specifying packages to import in library.properties. Searches for 'imports' as a key in library.properties.
If found, these imports are added when the user selects 'Import Library'.
If this line doesn't exist, falls back to current behavior and adds imports for all packages in the library's base jar.
This involved one substantive change: passing the name of the library to JavaEditor.handleImportLibrary(String) rather than the jar path. Once the library is found (by name), then its jar path is available via Library.getJarPath().