Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
qt-creator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tobias Hunger
qt-creator
Commits
fed9c43f
Commit
fed9c43f
authored
Oct 06, 2010
by
Leena Miettinen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc - refactoring actions aka quick fixes
Reviewed-by: Erik Verbruggen
parent
01926e98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
0 deletions
+51
-0
doc/qtcreator.qdoc
doc/qtcreator.qdoc
+51
-0
No files found.
doc/qtcreator.qdoc
View file @
fed9c43f
...
...
@@ -1814,6 +1814,57 @@
\
o
In
the
\
gui
{
Rename
id
}
field
,
enter
the
new
ID
.
\
endlist
\
section1
Applying
Refactoring
Actions
Qt
Creator
allows
you
to
quickly
and
conveniently
apply
actions
to
refactor
your
code
by
selecting
them
in
a
context
menu
.
The
actions
available
depend
on
the
position
of
the
cursor
in
the
code
editor
and
on
whether
you
are
writing
C
++
or
QML
code
.
To
apply
refactoring
actions
to
C
++
code
,
right
-
click
an
operand
,
conditional
statement
,
string
,
or
name
to
open
a
context
menu
.
In
QML
code
,
click
an
element
ID
or
name
.
In
the
context
menu
,
select
\
gui
{
Refactoring
}
and
then
select
a
refactoring
action
.
You
can
also
press
\
gui
{
Alt
+
Enter
}
to
open
a
context
menu
that
contains
refactoring
actions
.
\
section2
Refactoring
C
++
Code
You
can
apply
the
following
types
of
refactoring
actions
to
C
++
code
:
\
list
\
o
Change
binary
operands
\
o
Simplify
if
and
when
conditions
(
for
example
,
move
declarations
out
of
if
conditions
)
\
o
Modify
strings
(
for
example
,
set
the
encoding
for
a
string
to
Latin
-
1
,
mark
strings
translatable
,
and
convert
strings
to
camel
case
)
\
o
Create
variable
declarations
\
o
Create
method
declarations
and
definitions
\
endlist
\
section2
Refactoring
QML
Code
You
can
apply
the
following
types
of
refactoring
actions
to
QML
code
:
\
list
\
o
Rename
IDs
\
o
Split
initializers
\
o
Move
a
QML
element
into
a
separate
file
to
reuse
it
in
other
.
qml
files
\
endlist
*/
...
...
Write
Preview
Markdown
is supported
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