New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URLs in the output window are improperly converted to hyperlinks #164

Closed
swpalmer opened this Issue Nov 2, 2014 · 4 comments

Comments

Projects
None yet
3 participants
@swpalmer

swpalmer commented Nov 2, 2014

When a line of output has a URL, the entire line is made into a link instead of just the URL portion.
This makes the output more difficult to read in some cases.

e.g. try this:

public static void main(String[] args) {
    System.out.println("This line has a URL http://netbeans.org/");
}

I had submitted this as a NetBeans issue, not realizing it depended on the project type.
https://netbeans.org/bugzilla/show_bug.cgi?id=247652

@kelemen kelemen added the enhancement label Nov 3, 2014

@kelemen

This comment has been minimized.

Owner

kelemen commented Nov 3, 2014

The API I currently use for the output window only has method to print a whole line as an URL only. I will have to look at how it is done in other project types (altough it might not be trivial to change the API I use because I share the output window handling in a public API).

@jhavlin

This comment has been minimized.

jhavlin commented Nov 28, 2014

The API I currently use for the output window only has method to print a whole line as an URL only.

See IOColorPrint:
http://bits.netbeans.org/dev/javadoc/org-openide-io/org/openide/windows/IOColorPrint.html

@kelemen

This comment has been minimized.

Owner

kelemen commented Nov 28, 2014

Thanks, I'll try this out.

@kelemen kelemen closed this in 4180b66 Nov 30, 2014

@jhavlin

This comment has been minimized.

jhavlin commented Dec 1, 2014

Thank you for quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment