I cannot get used to it. Is there any option? When I select file I want only this filename to be highlighted and not wide line. You introduced this in PyCharm and now in Leda :(
project = PlatformDataKeys::PROJECT.get_data(DataManager.instance.data_context) projectView = com.intellij.ide.projectView.ProjectView.getInstance(project) pane = projectView.getCurrentProjectViewPane() if pane.nil? puts 'Project View is not yet loaded' return end
ui = pane.getTree().getUI()
begin
if (ui.java_kind_of?(com.intellij.util.ui.tree.WideSelectionTreeUI))
f = ui.getClass().getDeclaredField("myWideSelection")
f.setAccessible(true)
f.set(ui, false)
puts 'Tree wide selection fixed!'
end
rescue NameError => e
print 'Tree wide selection not fixed cause: ', e, "\n"
+1
I've downloaded source of IDEA.
There is no option to turn this off.
So I wrote the code to fix this in runtime.
Here is code in jruby (idea plugin PMIP). It's quite simple, one's can reuse it for any other script-lang idea plugin.