Adding Libraries to External Libraries View.

已回答

I have some code that is programmatically adding a folder as a library, this works as expected (in so far as I can then index over files in that folder). However I would also like for the Library to show up under the Project View > External Libraries , shown here:

 

 

I'm not sure where to begin.

0

Steve,

External Libraries node in the Project View tree is managed by the ExternalLibrariesNode. All of the entries are collected from the modules and registered AdditionalLibraryRootsProvider extension points:

<additionalLibraryRootsProvider implementation="MyLibraryRootProvider" />
0

请先登录再写评论。