forked from qt-creator/qt-creator
Doc: Update info about code pasting
- Pastecode.xyz has been replaced with DPaste.com - The process has changed Task-number: QTCREATORBUG-30209 Change-Id: I1c52923ada597bd741787a8c7ad66425ed5168f9 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
BIN
doc/qtcreator/images/qtcreator-send-to-codepaster.webp
Normal file
BIN
doc/qtcreator/images/qtcreator-send-to-codepaster.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.8 KiB |
@@ -9,13 +9,12 @@
|
|||||||
|
|
||||||
\title Paste and fetch code snippets
|
\title Paste and fetch code snippets
|
||||||
|
|
||||||
To paste snippets of code to a server or fetch snippets of code from the
|
To paste snippets of code or whole files to a server or fetch them from the
|
||||||
server, use one of the following code pasting services:
|
server, use one of the following code pasting services:
|
||||||
|
|
||||||
\list
|
\list
|
||||||
\li \uicontrol {Pastebin.Com}
|
\li DPaste.com
|
||||||
\li \uicontrol {Pastecode.Xyz}
|
\li Pastebin.com
|
||||||
\li \uicontrol {Shared network drives}
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
For example, you might ask colleagues to review a change that you plan to
|
For example, you might ask colleagues to review a change that you plan to
|
||||||
@@ -33,16 +32,26 @@
|
|||||||
|
|
||||||
\section1 Paste snippets
|
\section1 Paste snippets
|
||||||
|
|
||||||
To paste a snippet of code onto the server, go to \uicontrol Tools >
|
To paste a snippet of code onto the server:
|
||||||
\uicontrol {Code Pasting} > \uicontrol {Paste Snippet} or press
|
|
||||||
\key {Alt+C,Alt+P}. By default, \QC copies the URL of the snippet to the
|
\list 1
|
||||||
|
\li Go to \uicontrol Tools > \uicontrol {Code Pasting} >
|
||||||
|
\uicontrol {Paste Snippet} or press \key {Alt+C,Alt+P}.
|
||||||
|
\image qtcreator-send-to-codepaster.webp {Send to Codepaster dialog}
|
||||||
|
\li In \uicontrol Protocol, select the code pasting service to use.
|
||||||
|
\li In \uicontrol {Expires after}, specify the time to keep
|
||||||
|
the pasted snippet on the server.
|
||||||
|
\li In \uicontrol Username and \uicontrol Description, enter your
|
||||||
|
username and add information about the pasted content.
|
||||||
|
\li Check and edit the content to paste.
|
||||||
|
\li Select \uicontrol Paste.
|
||||||
|
\endlist
|
||||||
|
|
||||||
|
By default, \QC copies the URL of the snippet to the
|
||||||
clipboard and displays the URL in \uicontrol {General Messages}.
|
clipboard and displays the URL in \uicontrol {General Messages}.
|
||||||
|
|
||||||
To paste any content that you copied to the clipboard, go to
|
To paste a \l{Compare files}{diff}, right-click a chunk and select
|
||||||
\uicontrol Tools > \uicontrol {Code Pasting} > \uicontrol {Paste Snippet}.
|
\uicontrol {Send Chunk to CodePaster} in the context menu.
|
||||||
|
|
||||||
To paste content from the \l{Compare files}{diff editor}, right-click a
|
|
||||||
chunk and select \uicontrol {Send Chunk to CodePaster} in the context menu.
|
|
||||||
|
|
||||||
\section1 Fetch snippets
|
\section1 Fetch snippets
|
||||||
|
|
||||||
@@ -85,5 +94,5 @@
|
|||||||
The code snippets are copied to the drive as simple files. You have to
|
The code snippets are copied to the drive as simple files. You have to
|
||||||
delete obsolete files from the drive manually.
|
delete obsolete files from the drive manually.
|
||||||
|
|
||||||
\sa {Git}
|
\sa {Compare files}, {Git}
|
||||||
*/
|
*/
|
||||||
|
@@ -133,4 +133,6 @@
|
|||||||
indicates added characters.
|
indicates added characters.
|
||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
|
\sa {Paste and fetch code snippets}
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user