mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-66333 Quick documentation lookup on mouse hover
Open quick doc control from the tooltip hyperlink
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2009 JetBrains s.r.o.
|
||||
* Copyright 2000-2012 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -78,7 +78,7 @@ public class JavaDocExternalFilter extends AbstractExternalFilter {
|
||||
|
||||
return
|
||||
(JavaPsiFacade.getInstance(myProject).findClass(classRef, GlobalSearchScope.allScope(myProject)) != null)
|
||||
? PSI_ELEMENT_PROTOCOL + elementRef
|
||||
? DocumentationManager.PSI_ELEMENT_PROTOCOL + elementRef
|
||||
: DOC_ELEMENT_PROTOCOL + doAnnihilate(nakedRoot + href);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user