Skip to content

markiewb/nb-resource-hyperlink-at-cursor

Repository files navigation


Looking for maintainers, who want to take over the development!


Build Status Donate

nb-resource-hyperlink-at-cursor

Download at http://plugins.netbeans.org/plugin/52349/?show=true

This plugin adds hyperlinks to filenames within String literals of Java sources. If you click the hyperlink, then the file will be opened in the NetBeans editor.

Features:

  • Supports relative paths regarding to the current file
  • Supports relative paths regarding to the current project (source, test and resources roots)
  • Supports absolute paths
  • Support partial matches (relative to current dir and source roots) - can be disabled at Options|Misc
  • Supports paths relative to project directory (since 1.2.0)
  • Supports fully qualified classnames (since 1.3.0)
  • Supports files in the same package but in different source root (since 1.3.0)

Updates in 1.3.2:

  • [Issue 3]: Fixed freeze
  • [Issue 19]: Fixed java.lang.AssertionError: Need to normalize ..., when there is a colon in the string #19

Updates in 1.3.1:

  • [Issue 18]: NPE when pressing CTRL in the diff dialog

Updates in 1.3.0:

  • [Feature 12]: Support fully qualified classnames
  • [Feature 14]: Search for classname in dependencies too (only works for dependencies with sources)
  • [Feature 10]: Find files in same package but different source root
  • [Issue 16]: Make the hyperlinking faster / use less IO

Updates in 1.2.2:

Updates in 1.2.1:

  • [Issue 9]: Fixed: Links to src/test/resources do not work

Updates in 1.2.0:

  • [Feature 8]: Support of paths relative to project directory
  • [Issue 7]: Fixed: NPE at ResourceHyperlinkProvider.findFiles

Updates in 1.1.2:

  • [Issue 6]: Fixed: NPE at ResourceHyperlinkProvider.getMatchingFileInCurrentDirectory

Updates in 1.1.1:

  • [Issue 5]: Fixed: Multiple matches: Selected file in dialog will open wrong file

Updates in 1.1.0:

  • [Feature 1]: Support of partial matching (+ options dialog)
  • [Issue 4]: Fixed: Provide a valid category for the update center

Updates in 1.0.0:

Provide defects, request for enhancements and feedback at https://github.com/markiewb/nb-resource-hyperlink-at-cursor/issues

Compatible to >=NB 7.2.1

Legal disclaimer: Code is licensed under Apache 2.0.