markiewb / nb-resource-hyperlink-at-cursor

NetBeans Plugin which adds hyperlinks to filenames within String literals of Java sources
http://plugins.netbeans.org/plugin/52349/?show=true
6 stars 2 forks source link

Autocompletion inside paths #21

Open Chris2011 opened 8 years ago

Chris2011 commented 8 years ago

When I type IMAGE = "org..." it would be nice, to have code completion for the path, so I type o and the code completion for paths comes up, i hit enter when the first element is selected and org/ is written. instantly after hitting enter I got the new code completion for the next path like "netbeans", for example.

So here are the steps:

o -> org/ org/n -> netbeans/ org/netbeans/...

Regards

Chris

markiewb commented 8 years ago

@Chris2011: In java code? Which is the target type of IMAGE? I am not sure, that such a feature belongs to this plugin.

Chris2011 commented 8 years ago

It's not about the type, it is always a string but inside this string, it should be possible to identify org as a folder like inside the script tag:

<script src="scripts/foot.js">

etc. Clear what I mean?