-
Notifications
You must be signed in to change notification settings - Fork 324
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 aren't clickable in API docs when reading source code #804
Comments
This should already work in regular source files. @sethladd can you point me to a link in a framework doc so I can confirm that it works there too? |
Yeah, that's definitely not obvious :) Can we auto-link these? |
cc @alexander-doroshko for any ideas |
I think it was done just like all other references in code. There's no special highlighting for references but you know that you can Cmd+Click or Cmd+B on it to jump to the declaration. The same was done for links in comments. I think special highlighting for links in comments is discussable (not with me :) ). I even noticed that the IDE already has a color setting for it that is simply not used for this case (Settings | Editor | Colors & Fonts | General -> Hyperlinks). Interesting that @sethladd wrote that "jump to definition is really popular" but didn't try it on a link. :) |
From a UX study.
It appears that "jump to definition" is really popular way to learn the system. Sometimes, we include URLs in the API docs (either to the website or the material site). It would be cool if the developer could just click those URLs and open a browser.
Workaround: copy the link out of the editor and paste into a browser window.
The text was updated successfully, but these errors were encountered: