Documentation + source code search tips #2302
-
I'm curious if folks have strategies + tips for searching documentation or source code related to the Cue API. Example tip: I'm just playing around with Cue on the side but I've found that if I'm searching for something that's in a Cue Go package then I can use Go documentation tools. E.g. browsing the list package. Example stuck: I would like to find documentation (or if that's not available source code) for the Cue I know there's a documentation overhaul effort underway, but looking for advice on what people do today. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
As already mentioned, Go Doc is useful. For navigating source code, I use Sourcegraph. Sourcegraph have been indexing public repos for some time now, but it doesn't seem to be very well known. GitHub code search has improved a lot with the new code search (currently in beta). However, I still find Sourcegraph to be a superior experience. Sourcegraph is also obviously useful if you want to find how other people are using something (CUE example, Go example). |
Beta Was this translation helpful? Give feedback.
-
Thanks to @slewiskelly for chipping in here. Also to flag that the Language Guide we are working on for the new version of cuelang.org will become the canonical place for learning language features. That will of course be complemented by lots of other sources of information, but we want the language guide to be a referencing learning point for those who want to learn in that way. |
Beta Was this translation helpful? Give feedback.
As already mentioned, Go Doc is useful.
For navigating source code, I use Sourcegraph. Sourcegraph have been indexing public repos for some time now, but it doesn't seem to be very well known.
GitHub code search has improved a lot with the new code search (currently in beta). However, I still find Sourcegraph to be a superior experience.
Sourcegraph is also obviously useful if you want to find how other people are using something (CUE example, Go example).