Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
f8ee5a54
Commit
f8ee5a54
authored
Mar 31, 2010
by
Leena Miettinen
Committed by
Oswald Buddenhagen
Mar 31, 2010
Browse files
Add information about using code pasting with git (new commands added by Friedemann).
parent
8e08db05
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/qtcreator.qdoc
View file @
f8ee5a54
...
...
@@ -767,7 +767,7 @@
\
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
,
Qt
Creator
uses
the
following
:
\
list
...
...
@@ -776,7 +776,7 @@
\
o
\
gui
{
Pastebin
.
Ca
}
\
endlist
You
can
configure
the
server
from
\
gui
{
Tools
}
>
\
gui
{
Options
...}
>
To
configure
the
server
,
select
\
gui
{
Tools
}
>
\
gui
{
Options
...}
>
\
gui
{
Code
Pasting
}.
To
paste
a
snippet
of
code
onto
the
server
,
select
\
gui
{
Tools
}
>
...
...
@@ -785,10 +785,18 @@
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
}.
\
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
}
>
\
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment