Go to various manuals with one click (opens in browser).
VSCode Marketplace: https://marketplace.visualstudio.com/items?itemName=rhasan.gotomanual
Github Repo: https://github.com/Rah1x/gotoManual
1] Supporting various Gotos:
- PHP manual for functions only (via PHP.net),
- CSS manual (via developer.mozilla.org)
- Golang search (via golang.org)
- Several other programming languages (see the list below)
- Stachoverflow search via google
- and the good ol google search
This is what it looks like once installed and when you right-click on a piece of code:
2] Editor's active language specific menu only = show only relevant menu. This means if you are working on a PHP file it will show various options related to PHP, but if you are working on a css file it will only show goTo: CSS
option. Meanwhile goTo: Google Search
is always available.
I will update this later as we go and add more options, but if you have anything in mind (for example if you want another manual, or another file type for one of these languages) just create an issue with the label enhancement
at the github repo and I will add it as well:
https://github.com/Rah1x/gotoManual
3] Goto:Google search and Goto:stackoverflow search picks up the editor's language and adds it to the searched keyword to make the results more accurate. So if you select and search the keyworld "date" and the editor's language is php the google search will be very specific to php. While if its javascript the search results will be reflecting this language instead.
- CSS:
For pseudo class or elements, please select the starting colons (:) as well. For example
:last-child
with the colons instead of justlast-child
On the first run you would need to add the url base (for example google.com
) to the trusted domains.
So when you select any goTo menu for the first time you will see a popup that looks like the following image. Just click on Configure Trusted Domains
(only if you see a trusted domain btw).
This extension contributes the following settings:
gotomanual.url.Google
: url for Googling the selected textgotomanual.url.GoogleStackOverFlow
: url for Googling the selected text for stackoverflowgotomanual.url.PHP
: url for PHP 'function' search via php.netgotomanual.url.CSS
: url for CSS reference search via developer.mozilla.orggotomanual.url.Python
: url for Python reference search via docs.python.orggotomanual.url.Golang
: url for Golang reference search via golang.orggotomanual.url.CPP
: url for C++ reference search via documentation.helpgotomanual.url.Rust
: url for Rust reference search via doc.rust-lang.orggotomanual.url.Perl
: url for Perl reference search via perldoc.perl.orggotomanual.url.R
: url for R reference search via rdocumentation.orggotomanual.url.Swift
: url for Swift reference search via developer.apple.comgotomanual.url.Julia
: url for Julia reference search via docs.julialang.orggotomanual.url.Matlab
: url for Matlab reference search via mathworks.comgotomanual.url.Mysql
: url for Mysql reference search via mariadb.com
New version based on vscode engine ^1.91.0
Support for more programming languages added
Stackoverflow search (via google) added
C++ reference search added, Extension script code improved
GoLang reference search added
Python reference search added
Language specific activation
CSS manual added
Minor fixes
Initial release