1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-01 06:05:24 +02:00
Commit graph

1675 commits

Author SHA1 Message Date
Nathan Ridge
09476c126a Bug 461680 - Extend content assist's function parameter hints
In addition to showing the parameter list (with the current parameter
bolded), the hint now shows the function's name, return type, and
whether or not it is virtual.

Change-Id: I24be893ee8968fca8d9893230266ec98e2b9ae5a
2017-01-26 20:32:43 -05:00
Nathan Ridge
b332cdaf75 Bug 497190 - Do not use ParameterGuessingProposal at all when parameter guessing is disabled
Change-Id: I9feda3d365eeb935296adbc7144b0f504017f87a
2017-01-25 12:47:19 -04:00
Nathan Ridge
a90caec05e Bug 395562 - Follow-up to fix a regression where completing the method name in an out-of-line method definition would no longer insert parentheses
Change-Id: I8bbf083e874f6d01aa85c2ba4173685228160963
2017-01-24 22:07:55 -05:00
Nathan Ridge
3c20d6f0ea Bug 292229 - Consider files with other extensions for inclusion proposals
Proposals where the extension is not a known C/C++ header file extension
are ranked below proposals where the extension is one.

Proposals where the extension is a known C/C++ *source* file extension,
and proposals where the filename begins with a '.', are still not considered.

Change-Id: I80784f8f15a01b05977a288affbe3958f1400bdf
2017-01-24 17:29:01 -04:00
Nathan Ridge
c5f3bbb55a Bug 292229 - Refactor the content assist test suite to make adding new flags easier
Change-Id: I06bd3590e037e0761a62c454dec497d3043e7e08
2017-01-24 16:28:29 -05:00
Sergey Prigogin
1d6cf48198 Bug 510794 - Tab character is ignored at the beginning of line inside a
raw string literal

Change-Id: Idc8dfba8900495933f681f809dc96c4d92a6db8a
2017-01-23 11:51:39 -08:00
Nathan Ridge
8956d2c7e6 Bug 72809 - Improve content assist inside inactive code
Change-Id: If24e354d00aaf886da1571fc525b556e08c94897
2017-01-22 21:21:39 -04:00
Sergey Prigogin
2726670258 Cosmetics
Change-Id: I52a10ff524628692e9fa94b6fb1cc6cf1708d7d1
2017-01-21 15:00:24 -04:00
Nathan Ridge
24f099f882 Bug 509186 - Require an exact match for help proposals when providing context information
Change-Id: I06ccd65a0304921ebf2adbd556a89c8685237a8a
2017-01-18 13:12:06 -04:00
Nathan Ridge
785b17a064 Bug 72391 - When completing a function, do not insert parentheses if they are already present
Change-Id: Ia4beb5e7ee288c48f2dbde45b1f34a562b939cab
2017-01-18 13:03:12 -04:00
Nathan Ridge
73d5df1550 Bug 391439 - Do not do replacement for help proposal with context information style
Change-Id: I4d8988e9601e1f1b9722830b61cbf2d4c564a4cd
2017-01-18 13:01:00 -04:00
Nathan Ridge
68e19daf1e Bug 509191 - Do not create parameter guessing proposal if we know we are not calling the function
Change-Id: I7e45501707e0f58ed6d8745506a3519e29c0763a
2017-01-17 20:38:26 -04:00
Nathan Ridge
9e60a646fd Bug 509182 - Completion of class type in using-declaration
Change-Id: Iacd0ab4bfead2df31cddc78840853eb697139b02
2017-01-17 20:36:39 -04:00
Nathan Ridge
b1d6194e14 Bug 456293 - Completion of destructor name
Change-Id: I53422b1daf693e8ab6c0ad64857e8b07c970444c
2017-01-17 19:34:26 -05:00
Nathan Ridge
2fe3f7ec9f Bug 509734 - Cross-project references to template instances
Change-Id: I14ed61d2f709f615ba74501e70ac4ddc0db3d05a
2017-01-15 14:08:32 -04:00
Nathan Ridge
2e642428a4 Bug 509731 - Completion between empty parentheses in simple-type-constructor-expression
Change-Id: Ibe87a0fdfb0e7c8dd1a1392bc9643bc03ac73c38
2017-01-15 13:06:55 -05:00
Nathan Ridge
8c74efdff4 Bug 402498 - Apply declaredBefore() filtering to index bindings
Change-Id: Ic0abe31c67c88fa6f17eed3a231ec9231cd93cb0
2017-01-09 03:55:43 -04:00
Nathan Ridge
c3504af925 Bug 509733 - Open Declaration with source and target inside a macro invocation
Change-Id: I1f31a94caa0b48ba07380f28dc11ba74629b202e
2017-01-09 01:24:24 -04:00
Sergey Prigogin
b63342f10e Generification.
Change-Id: I0bed457d9be84d7585bc7eca8e2d591464b26246
2017-01-05 12:15:54 -08:00
Thomas Corbat
b218771722 Bug 464498 - sizeof...() operator formatting exception
Fix for exception when formatting sizeof...

Change-Id: Ibe228ee5566b9155e1e86853506f3ee516d05e7a
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2017-01-05 14:43:49 +01:00
Nathan Ridge
cc59253516 Bug 292236 - Consider using-declarations when determining accessibility for content assist
Change-Id: Id6d04b67f3c2c7e3392ba09222f4242fbb66b342
2017-01-03 17:28:08 -04:00
Thomas Corbat
b9baf5b478 Bug 509150 - Formatter fails on nested template IDs
Fix for exception in deeply nested template IDs
+ test

Change-Id: I0c158599c5b8c974823a400251d76ff441b795f3
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2017-01-03 08:31:23 -04:00
Nathan Ridge
768354b4d4 Bug 509619 - Highlighting of pointer passed by const reference
Change-Id: Ife414e63ad7076334b7ced9d33aa9b59084caa02
2016-12-30 14:00:14 -04:00
Nathan Ridge
19ce7cc137 Bug 507138 - Avoid collisions between the keys of CProjectAnnotations used for statement folding
This is mostly to mitigate the effects of a bug in ProjectionViewer
(bug 509559). See the discussion in bug 507138 for details.

Change-Id: Icf36b54d6a11892f02214a168ef1c9c284478710
2016-12-29 19:17:08 -04:00
Sergey Prigogin
216bc162a4 Bug 509749 - Find References doesn't find a reference to a function
Change-Id: Id90a80e234638b590266a8671dd1bf13178e0f94
2016-12-29 09:59:36 -08:00
Nathan Ridge
1628d11e7e Bug 395562 - Completion of static members after class qualifier
Change-Id: I0142547adae9cca8245dfeead065f45ff30a878e
2016-12-19 14:37:14 -04:00
Nathan Ridge
9640ac4917 Bug 455797 - Show template parameter list for alias template completions
Change-Id: I138861d305a02927014eebe882065e9c7fa877c8
2016-12-19 14:35:39 -04:00
Nathan Ridge
2706699543 Bug 399147 - Make 'Find Reference' find using-declarations
Change-Id: I0183dfb9a19efdadd127e5014f101a38ad04ff92
2016-12-19 14:34:10 -04:00
Nathan Ridge
cf46cbf117 Bug 508216 - Enclosing definition for macro reference name
Compute and store in the index an enclosing definition for
macro reference names. This allows showing the enclosing
definition when such a name appears in a search result.

Change-Id: I91eee4ad80c86d7ef90c69c1436387393fca2a19
2016-12-19 14:25:22 -04:00
Nathan Ridge
e31d51988d Bug 491343 - Find references with only polymorphic results
This commit also adds infrastructure for testing 'Find References'.

Change-Id: Ibe33dd00dd178587b202a9ebb1dd29315711f6fb
2016-12-19 14:21:21 -04:00
Nathan Ridge
cee87b1757 Bug 483048 - Navigation to forward declaration of class template
Change-Id: I611b50acf1ed80f02f7ee3edae4f8f80c4dfb313
2016-12-14 13:37:23 -04:00
Sergey Prigogin
dccd99c843 Code cleanup
Change-Id: If94553894586f8745fff9952f3648160110ba609
2016-11-29 20:16:01 -05:00
Sergey Prigogin
352f47bc82 Improved Remove Unused Declarations code reducer
Change-Id: I6d7cdea0fe85df14fe64ea7bd57b88ac27f4f9df
2016-11-20 12:42:15 -08:00
Sergey Prigogin
a0a959db9d Fixed a misleading dialog title
Change-Id: Icb35ec6128d0b961ab2dc0f8b080466b6a739d10
2016-11-18 13:00:30 -05:00
Marc Khouzam
8cf5ed53f2 Update version to 9.3.0
Change-Id: Ic953ccc5d38ff3661ca44de21ed8c4b7dad5b246
2016-11-15 20:32:51 -05:00
Marc Khouzam
334777eb6e Update version to 9.2.0
Change-Id: I36ad4218b20b8ea70584c89f5be45c757bf4c714
2016-11-14 23:50:05 -05:00
Sergey Prigogin
4fa9706ea8 Cosmetics.
Change-Id: Ibd8c8ac950c55c02259e9dfacb0649dfca8820dc
2016-10-28 14:52:56 -07:00
Nathan Ridge
e7e66605f2 Bug 395571 - Show name of nesting type when printing names of nested types in completions
Change-Id: I2fc191403a6ead68d30b99e427a005109355baad
2016-10-27 00:52:01 -04:00
Sergey Prigogin
35687baf43 Revert "Bug 402498 - Apply declaredBefore() filtering to index bindings"
This reverts commit fbccef3ff1.

Change-Id: I2b899750815200068dbe27b097f108b237d02447
2016-10-26 22:31:46 -04:00
Sergey Prigogin
d1528d0c5d Bug 506529 - NPE when organizing includes
Change-Id: Ib6780aefd2febff4ffb953ae36b1f4312922a5b8
2016-10-25 13:51:00 -07:00
Sergey Prigogin
d203d965a2 Added "PRESERVE" comment to protect some nodes from removal.
Change-Id: I63038293cf66fb81fa30ab0d14f847d9c4bfea4d
2016-10-25 10:52:13 -07:00
Nathan Ridge
3fc681c299 Bug 487764 - Add a highlighting for variables passed by non-const reference
The highlighting is disabled by default.

Change-Id: I0b9e587c3b9d7206614937893d535825a4be99e5
2016-10-24 00:35:28 -04:00
Nathan Ridge
e9c6ca09e8 Bug 486682 - Syntax coloring of macro arguments that occur in reverse order in the AST
This patch also fixes a couple of other bugs related to syntax coloring of
macro expansions, which are exposed by this change (bug 490415, bug 496696).

Change-Id: I3c0030ff61e721e099dc50afc109dd44e37276a3
2016-10-22 21:15:11 -04:00
Nathan Ridge
fbccef3ff1 Bug 402498 - Apply declaredBefore() filtering to index bindings
Change-Id: I3086c35cf294970d4adbb65dd6aa3708710f9c02
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-10-19 11:24:43 -04:00
Sergey Prigogin
fe0dcb5176 Improved Remove Unused Declarations refactoring.
Change-Id: Ibc011f9bacb8565463762f013738118eed839757
2016-09-22 19:32:43 -04:00
Sergey Prigogin
149e41fd46 Improved code reduction refactorings.
Change-Id: I2bee9e578810dd9ee1b23341a29713fc594d81f4
2016-09-21 18:41:28 -07:00
Nathan Ridge
abcedff7d7 Bug 486672 - Syntax coloring of variable template instances
Change-Id: I32a2fd3bc64f88e368924acafca1d1e596c90877
2016-09-18 00:56:20 -04:00
Marc-Andre Laperle
c14f675a8e Add a timeout multipler for DisplayHelper
DisplayHelper is used to run the event loop until a condition is met
or until a maximum timeout is reached. This timeout varies between
hundreds of milliseconds to a few seconds. When the tests are running
on a machine that is known to be quite under load (Hudson), the
timeouts in the milliseconds are too optimistics as there can be a
lot of other things running at the same time on the machine.

This change adds a multipler (default 1) that can be controlled from
the maven command line, for example:
-Dorg.eclipse.cdt.ui.testplugin.DisplayHelper.TIMEOUT_MULTIPLIER=5

Change-Id: I9c1517ac2641768e8ae0f4508bf9a008931ef805
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-09-01 15:23:52 -04:00
Sergey Prigogin
26fc557085 Improved Remove Unused Declarations refactoring.
Change-Id: I79fe2c40a45e18c6cfad3d9df867a6a04852f647
2016-08-21 20:00:08 -07:00
Sergey Prigogin
0f887cb883 Improved Remove Unused Declarations refactoring.
Change-Id: I540ef470eed2355eedd76e592d893501a30fc4c9
2016-08-19 18:53:26 -07:00