1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 09:55:29 +02:00
Commit graph

265 commits

Author SHA1 Message Date
Marco Stornelli
6be494466b Bug 303870 - Add override virtual methods functionality
Added overridemethods package

Change-Id: I73a8f0a396336acf7d3bbc8988e629da510ae781
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
Signed-off-by: pmarek <pavel.akira.marek@gmail.com>
2019-04-28 08:12:04 +02:00
Marco Stornelli
fc25433621 Bug 546395 - Added "copy qualified name" feature
Change-Id: I66b544cf7d9b05fcf1e9d5641cfd5d6060fa802c
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-04-24 22:32:28 -04:00
Marco Stornelli
e93ea0ab70 Bug 468206 - Fix color for search matching
We used color keys not saved in the preferences and without any UI
widget. The user wasn't able to change them.

Change-Id: I48bc4e411d2bc016501613b7dbfb0e7f95532099
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-04-08 13:49:15 -04:00
Jonah Graham
ff75ae80fa Bug 540373: Cleanup: Remove trailing whitespace in properties files
Command used:
# Remove space at eol in comments
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^(#.*)[ \t]+$/\1/' {} +
# Remove space at eol in blank lines
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^[ \t]+$//' {} +
# Replace escaped spaces at eol with unicode
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\ $/\1\\u0020/' {} +
# Replace unescaped spaces at eol with unicode
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\]) $/\1\\u0020/' {} +
# Replace escaped tabs at eol with unicode
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\\t$/\1\\u0009/' {} +
# Replace unescaped tabs at eol with unicode
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\t$/\1\\u0009/' {} +
# Stage all changes
git add -A .
# trim any remaining whitespace and then identify and fixup
# manually
# Only dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/MessagesForDebugVM.properties
# needed this due to missing newline at end of the file
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/[ \t]+$//' {} +

Change-Id: I858f16891fe001f4f7e62d5a4f904146e891cd39
2018-11-23 07:52:26 +00:00
Jonah Graham
f70a8b35c1 Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.sh
Change-Id: Ifbb1d5af2a00bd5634dea200320e8c4303ffca6c
2018-11-22 20:31:51 +00:00
Doug Schaefer
d6a1c13e5c Cleanup Core Build Preference pages.
Move Toolchains directly under C/C++ and rename to Core
Build Toolchains. Add a label describing what the toolchains
are for in hope of avoiding confusion with managed build.
Also move Qt into C/C++.

Change-Id: Ia1d76087c65b26562d1001243ea355c7ac32365e
2017-12-01 14:04:51 -05:00
Felix Morgner
ca1ab7f52d Bug 491957. Preferences & save action for choosing const alignment
Conflicts:
	core/org.eclipse.cdt.core/META-INF/MANIFEST.MF
	core/org.eclipse.cdt.core/pom.xml
	core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/TextTestSuite.java
	core/org.eclipse.cdt.ui/pom.xml

Change-Id: I061fa28d2e0b37f6d00232ad619f23b892e13ce6
Signed-off-by: Mario Meili <mmeili@hsr.ch>
Signed-off-by: Benny Gaechter <benny.gaechter@hsr.ch>
Signed-off-by: Felix Morgner <fmorgner@hsr.ch>
2017-05-15 02:59:54 -04:00
Nathan Ridge
5b86da58ad Bug 507285 - Open Declaration for assembly editors
Currently, it only does something useful for include statements.
It uses the C model to resolve the include, much like clicking
on the include in the Outline view.

Change-Id: I4c50ff4b477721795d58f44acc5c0389c05d4768
2016-12-14 13:23:47 -04:00
Sergey Prigogin
6335a5c2ba Revert "Bug 483602 - Implement deletion of elements from Outline view"
The Delete operation doesn't properly call
TextEditorAction.validateEditorInputState() and as a result doesn't work
in version control environments that keep unchanged files read-only.
Another problem is that Ctrl+Z doesn't trigger Undo when the Outline
view is active. When the Delete element action is reintroduced it should
be made to behave the same way as in JDT, e.g, display a prompt before
deletion and be bound to the Delete key.

This reverts commit f034a69fb7.

Change-Id: I6d37f5aaea1770143fbf84288068794430a5b0e0
2016-10-31 14:59:53 -07:00
ljyanesm
f034a69fb7 Bug 483602 - Implement deletion of elements from Outline view
Adding the delete refactor to the refactor context menu in the Outline
View.

Change-Id: I208078d2200853389bf4eb114756cf4e9b719134
Signed-off-by: ljyanesm <yanes.luis@gmail.com>
2016-10-30 22:59:32 +00:00
Marc-Andre Laperle
27f99d2a86 Bug 501831 - Rename Comment/Uncomment to Toggle Comment, like JDT
Also update the description.

Change-Id: I1719d114a156962f0d75bddb67f1c34d24e99e7e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-10-05 12:56:55 -04:00
Doug Schaefer
20c4e5ba88 Get CMake projects created and building. New C/C++ Project Wizard.
Fixed up CMake new project creation. Hooked up the CMake build config
properly.

Introducing the New C/C++ Project Wizard that hold all the new project
types: Arduino, Qt, CMake.

Change-Id: I9f9c8b1f51b136515fe226c15059cdbb99106275
2016-08-10 11:17:41 -04:00
Marc-Andre Laperle
1c258538de Remore unused New New Wizard
This code is not used and hasn't been touched since 2012.
Now it can be referred as the "old new new wizard".

Change-Id: Iccc60651a8233a5ef5b138dfcc334cfcf926d109
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-12-28 13:20:43 -05:00
Alena Laskavaia
7f4a8de499 Fixed category name "&C/C++" (Removed &)
- looks like Mars now renders & in category names :)

Change-Id: Iaf568be59959f3477b6d203e15620e0ceec0095b
2015-02-24 13:37:32 -05:00
Sergey Prigogin
27f00a30d8 Bug 419399 - Preference for Format with no selection
The user now has a choice between formatting the entire file and
formatting the statement on the current line.

This patch depends on the change in platform.text
https://git.eclipse.org/r/#/c/31337/

Change-Id: I6ae5b925a8ebdce0eec7ff34f7b3f84da0d9c326
Signed-off-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Reviewed-on: https://git.eclipse.org/r/31338
2014-10-27 13:29:24 -04:00
Sergey Prigogin
31f37f5b63 Proper enablement/disablement of Clean/Build Selected Files commands.
Change-Id: I6f56eeb111759ccf7a0bc8fbbfd57ffd8689bf01
2014-07-30 16:47:55 -07:00
Sergey Prigogin
246d2eb69b Added editing of include guard style preference. 2014-06-17 15:15:50 -07:00
Sergey Prigogin
d962e2eee7 Automatic update of include statements and include guards when header
files are renamed or moved.
2014-06-17 15:14:50 -07:00
Sergey Prigogin
2cada0fe18 Revert "WIP"
This reverts commit 9bc829ac73.
2014-05-30 18:11:12 -07:00
Sergey Prigogin
9bc829ac73 WIP 2014-05-30 17:54:09 -07:00
Sergey Prigogin
62ba90a145 Bug 427958 - Extension mechanisms for Find References and Call Hierarchy
This change introduces two new extension points - callHierarchyProviders
and externalSearchProviders.

Change-Id: I5e2e5e6c17b596eddfebe97b6be32a7cc62954f6
Reviewed-on: https://git.eclipse.org/r/21862
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-02-14 16:58:45 -05:00
Sergey Prigogin
a79028d2fc Bug 45203. User configurable header substitution rules. 2013-06-14 15:54:13 -07:00
Sergey Prigogin
3336cd19e6 Corrected names of index-related commands. 2013-06-04 12:35:43 -07:00
Sergey Prigogin
2a84dfb7e3 Fixed invalid resource keys. 2013-05-23 18:16:26 -07:00
Caroline Rieder
ef7967342a Bug 405239 - Index actions are only available within context menu
The provided patch contributes the Index actions to the global Project
menu using the command/handler extension points.

Project related actions are enabled when:
- When an ICProject, an ICContainer or an ITranslationUnit is selected
  in the Project Explorer and the Project Explorer has the focus
- When a file of an ICProject is open in the Editor and the Editor has
  the focus

File related action is enabled when:
- When an ITranslationUnit is selected in the Project Explorer and the
  Project Explorer has the focus
- When an ITranslationUnit is open in the Editor and the Editor has the
  focus

Change-Id: Ide0e3e241f1162323c2e17d2d58741eb3db9ae41
Signed-off-by: Caroline Rieder <caroline.rieder@windriver.com>
Reviewed-on: https://git.eclipse.org/r/13073
Reviewed-by: Anton Leherbauer <anton.leherbauer@windriver.com>
IP-Clean: Anton Leherbauer <anton.leherbauer@windriver.com>
Tested-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2013-05-23 10:03:55 -04:00
Sergey Prigogin
1e2973a031 Bug 45203. Include Pragmas preference page. 2013-03-23 19:52:42 -07:00
Jesse Weinstein
72b5d3f4b9 Bug 349248: Fix more user-visible references to CDT
Change-Id: I8f60fee92f69b09a2c9ec6d3d1d3855657af111d
Reviewed-on: https://git.eclipse.org/r/11293
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-03-18 19:42:46 -04:00
Jesse Weinstein
2596db696f Bug 349248: Fix user-visible reference to CDT
Change-Id: I10e0523579a071350f32d98e2633e2908792416d
Reviewed-on: https://git.eclipse.org/r/11291
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-03-18 18:54:42 -04:00
Sergey Prigogin
7ac4d43010 Bug 45203. Major milestone - Organize Includes command is ready for
alpha testing.
2013-03-14 17:20:22 -07:00
Sergey Prigogin
3198d038d4 Merge remote-tracking branch 'origin/master' into bug_45203
Change-Id: I5ea97f0e6c1e15a72e45f5fbc7407ad6b35e9a64
2013-02-14 17:21:05 -08:00
Sergey Prigogin
83ba131410 Bug 45203. Organize Includes and Include Style preference pages.
Change-Id: I8227fdaa1bb26ded6026d893a864660738f3a38f
2013-02-14 17:15:12 -08:00
Andrew Eidsness
2bc9035f8c Bug 363406: extensible semantic highlighting
- introduced extension point to allow plugins to add new semantic
highlighters
- see bug for more details

Change-Id: Ic019e8a3c483fcfc42344fe4ef2139cc933c0301
Reviewed-on: https://git.eclipse.org/r/10074
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2013-02-01 16:18:28 -05:00
Sergey Prigogin
b9396d3a4a Merge remote-tracking branch 'origin/master' into bug_45203 2013-01-24 20:43:18 -08:00
Sergey Prigogin
64a3b12f94 Bug 45203. Beginning of preference UI. 2013-01-24 20:33:56 -08:00
Sergey Prigogin
f072ce9223 Bug 399036 - Add C/C++ Code Style category to preference export 2013-01-24 20:12:59 -08:00
Andrew Gvozdev
36dd99f435 bug 398550: Use platform decorator manager to manage 'custom build settings' decoration 2013-01-19 16:37:08 -05:00
Vivian Kong
88bccabd07 Bug 387680 - Entries and Providers are not externalized in C++
preferences
2012-08-24 14:49:42 -04:00
Sergey Prigogin
7e16142beb Bug 387985 - Type at refactoringHideMethod.label in
org.eclipse.cdt.ui/plugin.properties
2012-08-24 10:13:58 -07:00
Vivian Kong
8aebf4d454 Bug 384767 - Non-externalized Strings in Discovery Tab 2012-08-01 12:45:35 -04:00
Sergey Prigogin
ae606fe28b Bug 378317 - Index update mode for resolving unresolved includes and
reindexing files with I/O errors.
2012-05-09 17:12:45 -07:00
Andrew Gvozdev
d2c19fcd47 bug 376592: [sd90] Extend BuildDefinitions to allow defining language settings providers 2012-05-04 18:35:17 -04:00
Andrew Gvozdev
2b5e3e6a20 bug 328007: [sd90] Design user interface for new scanner discovery 2012-05-01 23:05:37 -04:00
Doug Schaefer
e683d197ac Added ability to select toolchains for templates that have multiple. 2012-02-08 17:04:01 -05:00
Doug Schaefer
6fcb52fe97 Add real categories for templates. Organize selection in tree. 2012-01-27 13:41:24 -05:00
Doug Schaefer
873e3587ae Start of new new CDT project wizard. 2012-01-21 13:12:12 -05:00
Andrew Gvozdev
a98cf9a89d bug 312165: Viewers should clearly indicate whether a folder is excluded
from build
2012-01-08 16:18:53 -05:00
Sergey Prigogin
bd7f95875d Preference page for setting class member visibility order. 2012-01-06 20:05:08 -08:00
Andrew Gvozdev
911ecee8eb bug 279502: User friendly icons under Includes node in Project Explorer 2012-01-06 18:42:44 -05:00
Andrew Gvozdev
4edaac8cdd bug 367786: Filters from Outline View are missing in Project Explorer 2012-01-03 14:35:22 -05:00
Andrew Gvozdev
356728ade5 bug 367683: Filter to filter out anonymous structs 2012-01-03 13:46:33 -05:00