Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qt-creator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Hunger
qt-creator
Commits
f8ee5a54
Commit
f8ee5a54
authored
15 years ago
by
Leena Miettinen
Committed by
Oswald Buddenhagen
15 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add information about using code pasting with git (new commands added by Friedemann).
parent
8e08db05
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/qtcreator.qdoc
+11
-3
11 additions, 3 deletions
doc/qtcreator.qdoc
with
11 additions
and
3 deletions
doc/qtcreator.qdoc
+
11
−
3
View file @
f8ee5a54
...
@@ -767,7 +767,7 @@
...
@@ -767,7 +767,7 @@
\section1 Pasting and Fetching Code Snippets
\section1 Pasting and Fetching Code Snippets
In Qt Creator, you can paste snippets of code
on
to
the
server or fetch
In Qt Creator, you can paste snippets of code to
a
server or fetch
snippets of code from the server. To paste and fetch snippets of code,
snippets of code from the server. To paste and fetch snippets of code,
Qt Creator uses the following:
Qt Creator uses the following:
\list
\list
...
@@ -776,7 +776,7 @@
...
@@ -776,7 +776,7 @@
\o \gui{Pastebin.Ca}
\o \gui{Pastebin.Ca}
\endlist
\endlist
You can
configure the server
from
\gui{Tools} > \gui{Options...} >
To
configure the server
, select
\gui{Tools} > \gui{Options...} >
\gui{Code Pasting}.
\gui{Code Pasting}.
To paste a snippet of code onto the server, select \gui{Tools} >
To paste a snippet of code onto the server, select \gui{Tools} >
...
@@ -785,10 +785,18 @@
...
@@ -785,10 +785,18 @@
To fetch a snippet of code from the server, select \gui{Tools} >
To fetch a snippet of code from the server, select \gui{Tools} >
\gui{Code Pasting} > \gui{Fetch Snippet...} or press \key{Alt+C,Alt+F}.
\gui{Code Pasting} > \gui{Fetch Snippet...} or press \key{Alt+C,Alt+F}.
\note
For using
\gui{Pastebin.Com},
you need to
configure the domain
\note
To use
\gui{Pastebin.Com}, configure the domain
prefix in \gui{Tools} > \gui{Options...} > \gui{Code Pasting} >
prefix in \gui{Tools} > \gui{Options...} > \gui{Code Pasting} >
\gui{Pastebin.com}.
\gui{Pastebin.com}.
For example, you might ask colleagues to review a change that you plan to
submit to a version control system. If you use the git version control system,
you can create a \e{diff} view by selecting \gui{Tools} > \gui{Git} >
\gui{Diff Repository}. You can then upload its contents to the server by choosing
\gui{Tools} > \gui{Code Pasting} > \gui{Paste Snippet...}. The reviewers can retrieve
the code snippet by selecting \gui{Tools} > \gui{Code Pasting} > \gui{Fetch Snippet...}.
If they have the project currently opened in Qt Creator, they can apply and test
the change by choosing \gui{Tools} > \gui{Git} > \gui{Apply Patch}.
\section1 Using FakeVim Mode
\section1 Using FakeVim Mode
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment