[
https://issues.apache.org/jira/browse/NETBEANS-2294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
TLX updated NETBEANS-2294:
--------------------------
Affects Version/s: 10.0
> Ctrl+<Click> doesn't enter into JSP <%@include file="[file]"%> anymore
> ----------------------------------------------------------------------
>
> Key: NETBEANS-2294
> URL: https://issues.apache.org/jira/browse/NETBEANS-2294
> Project: NetBeans
> Issue Type: Bug
> Affects Versions: 10.0
> Reporter: TLX
> Priority: Major
> Attachments: image-2019-03-21-23-18-38-400.png,
> image-2019-03-21-23-26-03-612.png, image-2019-03-21-23-27-25-748.png,
> image-2019-03-21-23-36-52-890.png
>
>
> This (subjectively important) feature works on NetBeans 8.2. I skipped
> NetBeans 9 (can't say anything about whether it works there), and on NetBeans
> 10 it's broken now.
> *The Problem:* With a typical and frequent construct like {{<%@include
> file="[file]"%>}} in a JSP file, if you clicked {{[file]}} with the Ctrl key
> pressed, in previous versions of NetBeans it would open the referenced file
> (similarly to Ctrl+<click>ing an identifier in a Java file). This was
> particularly useful with relative paths into a different directory which is
> hard or time-consuming to navigate to in the project tree.
> *Current behavior on NetBeans 10:* The feature only marks part of the
> reference. Like this:
> !image-2019-03-21-23-18-38-400.png!
> More importantly: If you click, nothing happens. The file does not get opened.
> *Expected behavior:* It should behave like NetBeans 8.2 where pressing Ctrl
> and hovering over the reference would mark everything between the quotes
> (e.g. "header.jsp") and the click would directly navigate there/open the
> file/bring it to foreground.
> *Workaround:* I found a temporary workaround that is a little tedious if
> needed all the time, but at least you can still follow includes somehow: If
> you prepend the path with "./" and click the dot, it works.
> Example:
> !image-2019-03-21-23-27-25-748.png!
> doesn't work.
> However,
> !image-2019-03-21-23-26-03-612.png!
> does work: It marks the whole reference upon hovering on it, and when you
> click, it navigates there.
> I stress that you have to click the dot. Everywhere else still doesn't work:
> !image-2019-03-21-23-36-52-890.png!
>
> ---------------------
> My "About" box in NetBeans:
> *Product Version:* Apache NetBeans IDE 10.0 (Build
> incubator-netbeans-release-380-on-20181217)
> *Updates:* NetBeans IDE is updated to version [NetBeans 8.2 Patch 2
> |http://wiki.netbeans.org/NetBeans8.2PatchesInfo]*Java:* 1.8.0_172; Java
> HotSpot(TM) 64-Bit Server VM 25.172-b11
> *Runtime:* Java(TM) SE Runtime Environment 1.8.0_172-b11
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists