- Notifications
You must be signed in to change notification settings - Fork1
Plugin for Qt Creator to view cheat sheets from cheat.sh
License
pozemka/cheatsh-qtcreator
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Plugin for QtCreator to view cheat sheets fromcheat.sh
Cheat.sh is a community-driven cheat sheets repository for programming languages, databases, linux tools and commands. It also searches StackOverflow if nothing is found in cheat.sh repository.
This plugin provides integrated access to cheat.sh from Qt Creator.
For example, you want to know how to get random number in a range. Instead of switching to documentaion or to browser you can search with plugin forrandom in range and read cheat sheet right inside Qt Creator.
Search examples:tie,RAII,random in range,measure time,reverse a list.QML/js function,Qt/resources,SQL/select,tar
Right-click on a word or selection and chooseSearch cheat.shfrom popup menu. Or hitAlt +⇧ Shift +c
- HitCtrl +k to focus Locator
- Type
ch <search term>to search in default context orcs /<context>/<search term>to override context for this search
HitAlt +⇧ Shift +v to paste result in text cursor position. Or right-click in text editor and selectPaste result from context menu.Please note that most of the comments will be stripped and only the code will be pasted (Result of ?TQ request to cheat.sh).
You can switch between answers by pressing "Next item" (F6) and "Previous item" (⇧ Shift +F6) buttons on the cheat.sh panel.
Plugin setting allows you to:
- change default search context to your favorite language (default value is C++ language)
- set custom URL to self-hosted cheat.sh instance
- turn on and off displaying comments in results
- disable update checks
To install plugin, please download suitable version fromreleases page.Then extract archive to user plugin directory:
- Windows Vista and newer:
"%LOCALAPPDATA%\QtProject\qtcreator\plugins\x.y.z". For example:c:\Users\Username\AppData\Local\QtProject\QtCreator\plugins\4.10.0\cheatsh.dll - Linux:
"~/.local/share/data/QtProject/qtcreator/plugins/x.y.z"or"$XDG_DATA_HOME/data/QtProject/qtcreator/plugins/x.y.z". For example"/home/user/.local/share/data/QtProject/qtcreator/plugins/4.10.0/cheatsh.so"
Please note:
- for Qt Creatorprior 4.9.0 plugin must be put into subdirectory with exact match to Qt Creator version (For example
…/QtProject/qtcreator/plugins/4.8.2). Startingfrom 4.9.0 you can put plugin into subdirectory with lowest patch version (e.g. 4.9.0 instead of 4.9.2). - Qt Creator4.9.x for Windows has broken SSL support so you shouldinstall OpenSSL manually.
SeeINSTALL for more info about compilation from sources.
About
Plugin for Qt Creator to view cheat sheets from cheat.sh
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.



