Commit Graph

710 Commits

Author SHA1 Message Date
Joerg Bornemann
a6c8158484 CppEditor: implement ExtractLiteralAsParameter quickfix
Task-number: QTCREATORBUG-9617

Change-Id: I6c6313746b837775bab665bb7019a2adf0b0f286
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
2013-10-01 15:12:11 +02:00
Przemyslaw Gorszkowski
a3eaed4c51 CppEditor: introduce include hierarchy
Based on type hierarchy.

Added to context menu ('Open Include Hierarchy')
Shortcut(Ctrl+Shift+I)

'Include Hierarchy' contains:
FileName for which 'Include Hierarchy' is done
Includes(which files are included by current file - tree hierarchy)
Included by(which files include current file - tree hierarchy)

It is possible to open/goto each file by clicking on specific item.
Additionally for 'Included by' files it goes to the line where is include
directive for current file.

Change-Id: I549b1ed64e4c9f6955f60d00efb12950a3259f81
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
2013-10-01 13:12:04 +02:00
Lorenz Haas
02825b5894 CppEditor: New quick fix "Optimize For Loop"
Rewrites post increment/decrement operators (++ and --) as pre
increment/decrement operators and moves non string/numeric literals and
non id expressions from loops condition to loops initializer.

Change-Id: Id95334b6df6fcaa9af436cc1d2d0982d38bf8fe2
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
2013-09-30 18:18:34 +02:00
Nikolai Kosjar
4b9448fd7d Doc: Document "trigger scope" of Switch Between Method Declaration/Definition
Change-Id: I41ce4535a69b097db69498ce086333e1f9dc7a4a
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2013-09-25 15:01:32 +02:00
Nikolai Kosjar
51f69c8807 Doc: Locator accepts paths and namespaces
Change-Id: I7f3ba58677c706bd840cfef44abf6db7933b21e8
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-08-27 17:43:01 +02:00
Oswald Buddenhagen
c2e90c360b Merge remote-tracking branch 'origin/2.8'
Conflicts:
	src/plugins/cpptools/cppcompletion_test.cpp
	src/plugins/cpptools/cpptoolsplugin.h
	src/plugins/projectexplorer/customtoolchain.cpp
	src/plugins/vcsbase/command.cpp

Change-Id: Ie7b3c9e136c0748b41320227c757471259339b48
2013-08-21 14:39:18 +02:00
Leena Miettinen
274bea7862 Doc: Android Manifest editor
Move text around as some features moved from run settings
to the Android Manifest editor.

Update screen shots.

Change-Id: Idddde8490d382c5bf5de0131b8b53ceea2f738ee
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2013-08-16 14:17:40 +02:00
Daniel Teske
a25008ad2d Doc: Qt Versions: Add requirements onto a minimal qt
Some people want to hack, so give them enough rope to start.

Change-Id: Ic8b3f873c322b02c3df91ee267d1e5f07c2ab507
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2013-08-14 18:35:46 +02:00
Daniel Teske
a02144318d Doc: Adding qt: Integrate Blackberry section into the normal setup
There's just one difference for adding a Blackberry qt version, that
doesn't require a duplication of everything else to explain.

Change-Id: I097d3b30bc823e47b89efe219dd5447608958ee6
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Tobias Nätterlund <tobias.naetterlund@kdab.com>
2013-08-14 16:13:54 +02:00
Leena Miettinen
2f6e5cf59c Doc: attaching to running app while debugging
Change-Id: I3566c77bfb8466005db12fd4a77c861a07f69019
Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2013-08-13 09:27:21 +02:00
Venugopal Shivashankar
5fe74434c1 Doc: tutorial for developing an Android app
This tutorial explains how to create an app
that uses Qt Sensors QML module to move an
SVG image based on the changing accelerometer
values.

Change-Id: Id4d9c8b389c5b8ebb330c6dba2dee783a475ba17
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2013-08-02 14:42:59 +02:00
Leena Miettinen
ee9c901b75 Doc: fix link to Android platform notes in Qt 5.1 ref docs
Change-Id: I0ce7e9a9c5feaecf90ffa6aaf0216930f328a935
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2013-07-22 11:10:55 +02:00
Leena Miettinen
a5dccb1736 Doc: import statements go to QML files, not pro files
Change-Id: Ia36ffd51add0c92b396e448d8e125848e9754877
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2013-07-17 15:32:16 +02:00
Leena Miettinen
a043977999 Doc: reflect changes in Generic Highlighting options
A redundant check box has been removed.

Change-Id: I7d0da4df7baced67ed937183739e242cb82ee891
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
2013-06-24 11:11:16 +02:00
Leena Miettinen
f28039fca1 Doc: Open Documents option in the Advanced Search pane
Change-Id: Ibede904f49905d0840051783f233ef290436cf14
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2013-06-21 16:43:02 +02:00
Leena Miettinen
5956ffd410 Doc: the macro recorder does not support code completion
Change-Id: Ibf3225f32c2a89f7028554060f73fd89bce86fb4
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2013-06-21 16:42:52 +02:00
Leena Miettinen
d5a975cec8 Doc: fetching code snippets from URL
Change-Id: I8fcf0909dd97dd067fbb25f395ca766cb1bd1b10
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2013-06-21 15:27:37 +02:00
Leena Miettinen
b0ec252b5a Doc: Qt version field has been moved to Kits options dialog
You must now select a kit. Also, it sounded like only 4.7.4 was
supported.

Change-Id: Ifadeb980f407cad8dc79d1b7598ff49b294f7b10
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-06-21 14:43:28 +02:00
Leena Miettinen
b3612a0433 Doc: remove link to Nokia UX desing Library
This site is now mostly about designing for devices that
do not support Qt.

Change-Id: I8b092f85ada7de770ed8e61307cb6f48c5a2701e
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2013-06-21 11:06:54 +02:00
Kai Koehne
5bfe37c58c Add documentation for extensions of Qml Performance Monitor
Can be enabled by passing LICENSE_TYPE=enterprise to qmake.

Change-Id: I49044c2425a056980b6e9f8377e6a33c1beaca5a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2013-06-20 14:52:37 +02:00
Leena Miettinen
c6dc893a84 Doc: UI text changed for Editor and Code Style settings
Update text and screenshots.

Change-Id: Ida90da1c021a1ffb6c69bd3fde9e2d85d402f26c
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2013-06-20 12:55:03 +02:00
Leena Miettinen
9fe2808360 Doc: when adding Qt versions, qmake folder is selected first
Changed the text to describe the process more accurately.

Change-Id: I7ea9eba2b1b70ea764895beb4401a287644e8f45
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-06-19 17:12:37 +02:00
Leena Miettinen
c469964ca5 Doc: remove obsolete \if defined commands
The doc sources are no longer used for single-sourcing.

Change-Id: I934c88c19646d84b4de3c5787234148f947c4489
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2013-06-19 16:21:42 +02:00
Leena Miettinen
6312936c32 Doc: reflect changes in the Gerrit dialogs
Update field labels and screenshots.

Change-Id: I8285a2d4f4ef663296993a1fa23088ebba6f6052
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2013-06-18 16:54:30 +02:00
Leena Miettinen
70c751f2c2 Doc: fix table in the VCS topic
By removing an extra \li command.

Change-Id: I1a5c97123757a3bc3c767b43be2ab99b9e12e212
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2013-06-18 14:13:17 +02:00
Leena Miettinen
c915b3247d Doc: wizard to creating projects for code snippets
Change-Id: Ic200b6d4afdc01a9ef9060bcadf0159b8a2cc61c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2013-06-18 09:10:34 +02:00
Leena Miettinen
57f1251922 Doc: link to top level instead of individual topics
Link to Using Other Build Systems instead of to each
build system, as we keep adding them.

Change-Id: Ic033c7c0450bab66af9f24deb76d56469cd88fb6
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2013-06-17 16:43:20 +02:00
Leena Miettinen
6558df08d0 Doc: fix capitalization in Qbs topic
Remove a link to a subtitle that comes right below.

Change-Id: Idee6566483ac9477b77d73aa901a5f91a1ab42c2
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2013-06-17 12:43:37 +02:00
Leena Miettinen
4996bc99b8 Doc: bundling Qt libraries is hidden for Qt 4
Change-Id: I23c6ca23d8c1a6ab4b21eb46193935c7605e30b1
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2013-06-17 12:40:00 +02:00
Leena Miettinen
19027b3897 Doc: Remove link to Nokia Developer page
Change-Id: Ia5446ec6ac94505322c9ebd0f88dead9f98f281b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-06-17 12:01:05 +02:00
Nikolai Kosjar
46c8ae5d43 Doc: Fix "path" to Import Existing Project
Change-Id: I79ad2360d7cebaa573199efc40bfd92a3c1f006b
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2013-06-17 10:37:07 +02:00
Leena Miettinen
c1189541c5 Doc: fixed issues in the Qt Quick app tutorial
Added missing spaces, fixed a link to Qt 5 docs, and added a
missing line of example code.

Change-Id: Ic7305aa6b44b7b9edf33a6828d965ab84289e353
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2013-06-13 17:41:40 +02:00
Leena Miettinen
7edc36f15d Doc: fix terminology in the build and run tutorial
"Welcome page" should be "Welcome mode".
Update screen shots.

Change-Id: Iaacf7f014d18ce73a3444ee820e342a9813cf939
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2013-06-13 15:16:54 +02:00
Leena Miettinen
3a5d3cf763 Doc: filtering BlackBerry 10 messages in Issues pane
Errors and warnings from the BAR descriptor editor are
listed in the Issues pane.

Change-Id: I8ef7c330c00bb6d1c5888f6a06d96b450bc80c02
Reviewed-by: Mehdi Fekari <mfekari@blackberry.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2013-06-13 12:11:51 +02:00
Leena Miettinen
0a0070d752 Doc: remove an obsolete step in using Qbs
The executable is now selected automatically in the run
settings when using Qbs.

Change-Id: I528e0a7e067349f9925e13b927ca402c3543a46d
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-06-12 16:59:15 +02:00
Leena Miettinen
0b6d8a1da5 Doc: new Git commands
Actions on Commits, Fixup Last Commit, Interactive Rebase,
Rename branch, Push to remote repository, and Push to Gerrit

Change-Id: I434f836944d9fa86fad73f0256b330aad9532ed0
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Petar Perisin <petar.perisin@gmail.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2013-06-11 09:07:43 +02:00
Leena Miettinen
3ed5fc2b8f Doc: the side-by-side diff editor
Change-Id: Ia984077086dd1f6c44be08176ab846f54be05cca
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
2013-06-07 09:43:31 +02:00
Leena Miettinen
9880b3215b Doc: experimental interface to LLDB
Move the link and table up, as they had ended up in the
wrong place.

Change-Id: I5526b2d67bd835736f869370cba1eb6024e1162c
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-06-06 15:19:45 +02:00
hjk
34261e03cb Doc: Update examples on how to start debugging from the command line
Task-number: QTCREATORBUG-9484

Change-Id: Ic5da00c48eb185dc3cd842812e7c36cfefbb6776
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2013-06-06 14:58:32 +02:00
Leena Miettinen
84e21c766a Doc: fix changed file name in Kits options
Add information about the LLDB Engine option.

Change-Id: I11fc961a8fbee29feeba526ec6c55b02199b6952
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-06-06 12:06:34 +02:00
Leena Miettinen
1d5eb6812a Doc: the -block CLI command
Change-Id: I955ebdd5896750fd0c598e9d59cf2ace5c28a591
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2013-06-05 10:20:59 +02:00
Leena Miettinen
9fa03fb3d5 Doc: applying style sheets to Qt Creator
Task-number: QTCREATORBUG-9238

Change-Id: Ibbb81dc61f5f2938aee81d85129cdaad48c112df
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2013-06-04 17:19:14 +02:00
Leena Miettinen
ff464d7b4b Doc: new Python class wizard
Updated the screen shot.

Change-Id: Ie65927bb872b37b6be78160810f97b215525c14f
Reviewed-by: Sergey Shambir <sergey.shambir.auto@gmail.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2013-06-04 15:42:14 +02:00
Leena Miettinen
6a4a926622 Doc: rewrite descriptions of opening links in split windows
Fixed two typos and used more consistent style with the rest
of the manual. Please ask me or some other tech writer to
review when you add text :).

Change-Id: I53fbd7268a82724e3ca862e7d6fcadb97899e478
Reviewed-by: David Schulz <david.schulz@digia.com>
2013-06-04 14:53:30 +02:00
Leena Miettinen
bf5136d4a1 Doc: new options in the editor toolbar.
Moving to line and column and showing the file encoding.

Change-Id: Ifd9727b3f1812da4b165eb9224cc7d042ae840d2
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2013-06-04 13:34:23 +02:00
Leena Miettinen
c140442132 Doc: opening the editor in a new window
Change-Id: I9a265b10c91950754c710ee270cae4530a808ea8
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2013-06-03 16:22:07 +02:00
Tobias Hunger
69a9dc3f1c SVN: Document minimum required Subversion version
Change-Id: Ia689f7686b1efe30e839aa03a5a3f9c5cd801915
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2013-06-03 10:15:17 +02:00
Leena Miettinen
68a573b62e Doc: do not link to external pages over https
Replaced "https" with "http" (where redirecting works)
as a workaround for a bug that causes Qt Creator to crash
when trying to open external links using https.

Task-number: QTCREATORBUG-9397
Change-Id: If331eaffd2296a79f6e6f1ee7becd725d2aadb1d
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
2013-05-31 16:01:49 +02:00
Leena Miettinen
ba2d0fc929 Doc: hiding detailed progress information
Add an image that shows the current location of the
progress bar and the button.

Change-Id: I2292721e6215d056a6eedab3ed5dd9485ec0776f
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2013-05-31 14:11:02 +02:00
Leena Miettinen
9647ce6932 Doc: hiding the mode selector
Change-Id: I1002916cc0281396ad1a7ca6481a69eeb9b58622
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2013-05-31 12:28:19 +02:00