'm building a custom ProjectPane, but I am having ...
# intellij-plugins
f
'm building a custom ProjectPane, but I am having trouble getting the
Select Opened File
(target looking icon) to work. I am overriding
selectIn
, with something that ends up calling
select(virtualFile, virtualFile, requestFocus = true)
, but its not working. something to note is that the Panel is not showing a 1:1 mapping to the file structure, since it adds grouping nodes, but that shouldn't be too different from what the Android view does with its kotlin+java node or the res/strings node (which don't match exactly with the disk file system) Is there any gotchas or examples on getting this to work?