Commit Graph

2539 Commits

Author SHA1 Message Date
Nikolai Kosjar
89fa23a916 Beautifier: ClangFormat: Format current syntactic entity for no selection
In case there was no selection, the action "Format Selected Text" could
format the whole file (option) as a fallback.

However, there is also the use case of formatting the syntactic entity
under the cursor. Introducing another separate action for this feels
wrong, so remove the fallback instead since there is already an action
handling this.

Change-Id: Ia73f6074433e706bb4c2d375ad5b84dd59bc93a3
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Lorenz Haas <lorenz.haas@histomatics.de>
2017-09-21 07:15:12 +00:00
Nikolai Kosjar
edab564cf0 Beautifier: ClangFormat: Add action "Disable Formatting for Selected Text"
Change-Id: I0786dfdc0679bbdf1cf1157067bd7f572ac7d108
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Lorenz Haas <lorenz.haas@histomatics.de>
2017-09-21 07:14:27 +00:00
Nikolai Kosjar
bdbd5a788b CppTools: "pre-compiled" -> "precompiled"
Change-Id: Ia4207747a3659fc05013d22b63feb2b17b1dec81
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2017-09-08 13:41:33 +00:00
Eike Ziller
a9aac73e37 Merge remote-tracking branch 'origin/4.4'
Change-Id: I53a31b3463b2bd8efffb1c00e5d172854d8ff5e5
2017-09-08 13:06:07 +02:00
Leena Miettinen
315cede70f Doc: Add links to Qt Creator Application Manager Plugin Manual
Change-Id: I1333652a41ff831ae5a7b84dc56041afc074cd60
Reviewed-by: hjk <hjk@qt.io>
2017-09-08 06:52:35 +00:00
Jake Petroules
6458473414 Android: remove support for local/debug deployment option
This is only usable with versions of Android older than 5. Now that
Android 8 is the current version, we say goodbye to this feature as it
is almost certainly no longer of use to anyone.

Task-number: QTBUG-62995
Change-Id: I19795eb385b18f4dd87a1bb8df57d36c3fa28dc5
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
2017-09-06 18:21:26 +00:00
Eike Ziller
3543bd5d1a Merge remote-tracking branch 'origin/4.4'
Conflicts:
	src/plugins/projectexplorer/projectexplorer.cpp

Change-Id: I7881fc51021c49b792a384ad9f8a4f71fc457ce2
2017-09-04 16:12:34 +02:00
Christian Stenger
d9974ec6d5 AutoTest: Remove 'Settings' from options string
This string is displayed on the settings dialog - remove
the obvious.

Change-Id: I5352f9e0f3a2ca16965a5bf4d8513d639dd3e5d8
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2017-09-04 13:45:54 +00:00
Leena Miettinen
33bb20ba57 Doc: Make Android SDK Tools requirements clearer
The Android SDK Tools packages have changed, so the tool for
installing the required tools depends on the installed Tools
version.

Change-Id: Idcbda80c958a4f0d2d5be533481e9838fd95e71a
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
2017-09-04 12:59:51 +00:00
Leena Miettinen
4adfae9d96 Doc: Fix putArrayData() debugging helper documentation
Task-number: QTCREATORBUG-18836
Change-Id: Iae037b4a45060b22ee36c94d19eeea940ebf1b95
Reviewed-by: hjk <hjk@qt.io>
2017-09-04 11:55:25 +00:00
Leena Miettinen
0bc2c807bd Doc: Update docs for the iOS code signing
Task-number: QTCREATORBUG-18785
Change-Id: Id3cb73236fc27ce8b23db55b1583474f68596619
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
2017-09-01 07:11:32 +00:00
Orgad Shaneh
139792ee25 Merge remote-tracking branch 'origin/4.4'
Change-Id: I9ab2c68d2bd07b0dd89051a2f5f6fa51676d8594
2017-08-30 01:24:11 +03:00
Leena Miettinen
5ca7894ee4 Doc: Explain different usages of "Restrict to MIME types"
Different MIME type restrictions can be specified for auto
formatting and executing the menu command.

Update the screenshot that shows Beautifier options.

Change-Id: Ie6028bef252c6b13d87c6c4eed465eddae991408
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2017-08-29 10:26:05 +00:00
Eike Ziller
df796e2aa5 Merge remote-tracking branch 'origin/4.4'
Change-Id: Id525d68a899f2db14c2d52c200a3a2a8a4e81590
2017-08-24 13:23:04 +02:00
Leena Miettinen
eb74f5b71e Doc: Add information about using the number icons and OptiPNG
...to the Extending Qt Creator Manual

Change-Id: I85dea1d815037af8334aed09c7b4ad8611d4170c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
2017-08-23 13:45:35 +00:00
Eike Ziller
ddd9e96afa Merge remote-tracking branch 'origin/4.4'
Conflicts:
	qbs/modules/qtc/qtc.qbs
	qtcreator.pri
	src/libs/utils/utils-lib.pri
	src/plugins/clangcodemodel/clangbackendipcintegration.h
	src/shared/qbs

Change-Id: I240e89afc76d8f40ce69d66683014b603f714707
2017-08-23 12:12:41 +02:00
Leena Miettinen
aa2ccd5ded Doc: Describe the number of clips in the clipboard history
Change-Id: I926920ca4fc2be805cff74c9d1118b2b93c117ae
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2017-08-22 10:15:09 +00:00
Leena Miettinen
d37e880b3d Doc: Remove information about connecting UWP devices
...because no additional steps are needed to the explanations in
the sections about building and running applications.

Change-Id: I8b60c95ce45f025d696a806ab09d43132607e355
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
2017-08-22 07:51:15 +00:00
Leena Miettinen
0ebadc109c Doc: Describe location of personaltypes.py on macOS
Change-Id: I49ca7e444bacd69aa45dac1289bdc2a796a2a062
Reviewed-by: hjk <hjk@qt.io>
2017-08-22 07:17:13 +00:00
Leena Miettinen
03dce9a65f Doc: Use the umbrella term "device" for both mobile and embedded
Add a glossary entry for "device" to make changing the definition
easy and link the first occurrence of "device" in a topic to it,
where applicable.

Change-Id: Ia1b8b669b0000eea47d6a7b9860d3329d93a4395
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2017-08-18 14:53:27 +00:00
Eike Ziller
a0a42ff7bd Merge remote-tracking branch 'origin/4.4'
Conflicts:
	src/plugins/debugger/gdb/gdbengine.cpp

Change-Id: I8a7c8ca07d6d6005f5d39b8f1477ebbc7a299fbf
2017-08-17 17:29:25 +02:00
Leena Miettinen
a951448c4d Doc: Add step list for adding custom debugging helpers
Change-Id: I01aba948b9dfd55a58cae5fdd51e1588bb675e6a
Task-number: QTCREATORBUG-18740
Reviewed-by: hjk <hjk@qt.io>
2017-08-17 12:43:16 +00:00
Leena Miettinen
b0bba662f8 Doc: Replace Windows Runtime with UWP in Supported Platforms
Change-Id: I6bb19ef8dbe3188c5fc497c2f1635a656bbef651
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
2017-08-17 07:47:50 +00:00
Leena Miettinen
34fb189682 Doc: Describe Location column in Clang Static Analyzer view
Change-Id: Ie97e1d7a5a70da347c2d5f7c5f5bf4a926c8b5cd
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2017-08-17 07:22:18 +00:00
Leena Miettinen
c438eda6cd Doc: Windows Runtime renamed as UWP
To reflect the change in Qt installers since 5.9.

Change-Id: I685c32c168e95e76ae3d81b87d4d10a5092e7a8a
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
2017-08-16 14:17:17 +00:00
hjk
66f75d6e60 Debugger: Mention personaltypes.py in the docs
As entry point for custom dumper implementation.

Change-Id: Id6b996821cbd679b8b6886fcf41625fbbde49ff4
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2017-08-16 11:24:07 +00:00
Eike Ziller
d8fd5292f1 Merge remote-tracking branch 'origin/4.4'
Conflicts:
	src/tools/clangbackend/ipcsource/clangiasyncjob.cpp
	src/tools/clangbackend/ipcsource/clangjobrequest.cpp
	src/tools/clangbackend/ipcsource/clangjobrequest.h

Change-Id: Ib8602530663813ade418f995dfd2a736908cfe75
2017-08-15 10:07:51 +02:00
Leena Miettinen
dc8cbfa469 Doc: Describe QML/JS editing options
Change-Id: I9ee84a08a45796f77bb6acf620327059b4cab93d
Reviewed-by: Marco Benelli <marco.benelli@qt.io>
2017-08-14 08:04:51 +00:00
Ulf Hermann
705c618aeb Fix docs about QML debugging
You can only debug QtQuick 2, and you need Qt 5.0 for that. Also, the
port is not well known as it's chosen at runtime, and various features
of the QML inspector have been dropped.

Change-Id: Ibb2fa6c4de203423c4e0cb9f240643e7354e7a34
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2017-08-11 08:51:47 +00:00
Leena Miettinen
f4f79a352c Doc: Fix paths to Qt Quick Toolbar options
The options were moved to the "QML/JS Editing" tab.

Change-Id: Ieccc6b1fa2d051a6986a6050bff6d0a6710ffb26
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2017-08-10 09:42:06 +00:00
Leena Miettinen
eb4e9d9ee1 Doc: Make deprecated tools less prominent in Android instructions
Ant was deprecated in Qt Creator 4.3 and will be removed. The
sdkmanager and avdmanager command-line tools must be used to
manage SDKs and AVDs.

Change-Id: Ibba8bc429e5da87e3f79ce45766f4583d0a461b1
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
2017-08-08 07:53:03 +00:00
Leena Miettinen
a7cd002e23 Doc: Describe new debugger and Qbs fields in Kit options
Change-Id: Icb78a85ffd724fc951b5aef4c3ffeedb79e80bfe
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
2017-08-08 07:52:46 +00:00
Leena Miettinen
7dea5442a7 Doc: Fix heading levels in run settings topic
Several sections were heading 2 level even though they should
have been heading 1.

Change-Id: Ib994cc216ab9957c885931461cb350a1e56eaf69
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2017-08-08 07:31:47 +00:00
Leena Miettinen
a8d81153e8 Doc: Reflect changes in the Projects view
These changes were already made in 4.3.

Change-Id: Ic5be8b9d24ca8f0fb7a2ab5176d312fb9f2a2251
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-08-07 08:08:51 +00:00
Leena Miettinen
ded65d888b Doc: Fix section levels in "Checking Code Syntax"
Make the two sections that follow "Checking JSON Data Structure"
its subsections, because they are closely related to it.

Change-Id: I49d6f1098965255ae23293f086fc92dad081e390
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2017-08-04 13:30:26 +00:00
Leena Miettinen
2a80ee8d63 Doc: Update information about XML-based wizard templates
The example wizard templates have been removed. None of the
remaining XML-based wizards use generator scripts (and those
are not recommended for new projects), so information about
genereator scripts was removed.

Change-Id: Ie84fad6a5acb39e9718358bd0b14a5caca454201
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-08-02 10:47:01 +00:00
Leena Miettinen
6cb2d8d355 Doc: Update screenshots of new project and file wizards
The wizard list now shows bigger icons.

Change-Id: I2ec842a915016dddef8ff20de7f70979bb5f1991
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2017-08-02 06:53:48 +00:00
Leena Miettinen
4af7792ad3 Doc: Describe Android run settings
Users can apply Android Activity manager (am) start options
and run shell commands before and after starting applications
on Android devices.

Change-Id: I9ffcfce8a26b8e7d965a1a2327eeedf38bf81a31
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
2017-07-31 13:30:56 +00:00
Leena Miettinen
c650b547db Doc: Describe managing simulators
Users can now view a list of available simulators in iOS
preferences and add copies of them.

Add screenshots.

Change-Id: I24cbd9c4fda437528ff179c37246d909bbc8e11b
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
2017-07-31 07:06:37 +00:00
Eike Ziller
c01ddc4660 Merge remote-tracking branch 'origin/4.4'
Conflicts:
	qbs/modules/qtc/qtc.qbs
	qtcreator.pri
	src/plugins/qbsprojectmanager/qbsproject.h

Change-Id: I6b9cdf704be95ade02488c8b19582b6621282fb8
2017-07-28 15:24:14 +02:00
Leena Miettinen
d2f6abbb0b Doc: Describe new auto test options
Update and add screenshots.

Change-Id: I3fb8b8193a6f83449dd121c32778ec22a156288f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-07-28 06:08:54 +00:00
Eike Ziller
efa5a7b6d7 Merge remote-tracking branch 'origin/4.4'
Conflicts:
	qtcreator.pri

Change-Id: If5f4a9821a23ac0df81eb84b3980f9cf7ecd70ba
2017-07-25 11:54:44 +02:00
Jochen Becher
c8962c34ba ModelEditor: Add a bit of documentation for new features
Change-Id: I08ca964652f2594d30d5576b5d956d97e01a4ef8
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2017-07-25 04:05:52 +00:00
Leena Miettinen
9652e85b3d Doc: Describe new ways of marking code errors when using Clang
Change-Id: I9b2d8ee52e83c60b7c6d46d2b5e8e830536e6bdb
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2017-07-24 11:50:41 +00:00
Leena Miettinen
214f87b69b Doc: Describe renaming files when renaming symbols
If the symbol is a class, and filenames contain the symbol,
Qt Creator also offers to rename the files.

Change-Id: Iba467cc4bf5ec6d4098973c9d391ffaff2f3bc4b
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2017-07-21 12:20:58 +00:00
Leena Miettinen
d785999512 Doc: Describe QML Asset Exporter
...as the chosen tool for exporting designs from Adobe Photoshop
to .ui.qml files. Remove the descriptions of using the old
export script.

Change-Id: Ib09d737c43debcf9773ba9145d66d5f6d91a4c98
Task-number: QTCREATORBUG-18486
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2017-07-21 06:57:21 +00:00
Leena Miettinen
8a3c798e4f Doc: Stop automatic linking to macOS
The link target does not make sense in Qt Creator context.
Explicit linking to \l macOS will still work.

Change-Id: I1a77bf87e889a5a6c374e56a1286c0f39d0585a2
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2017-07-21 06:56:12 +00:00
Leena Miettinen
04f19cf573 Doc: Add info about troubleshooting Qt Installations
Sometimes Qt Creator considers a Qt installation invalid, and
displays an error message. Give users some pointers on what
might be causing the issue and how they might be able to fix it.

Change-Id: I78177fd5a04b6198609ba7cde0867f51db675315
Task-number: QTCREATORBUG-18480
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-07-19 11:42:16 +00:00
Leena Miettinen
776df40000 Doc: Describe enabling the ClearCase plugin
The plugin is now disabled by default.

Change-Id: Ifa5fdb8738f5e286fdc43c8d4ee19a793769670b
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-07-19 11:12:37 +00:00
Leena Miettinen
700fc468c7 Doc: Describe new Clang Code Model options
The controls in the Options view have been rearranged, so the
text was rearranged accordingly.

Updated and added screenshots.

Change-Id: Ideb8fbd43d7872091980fc1b17d6593ed2f356eb
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2017-07-14 13:25:06 +00:00