Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-01-23Optimize lambdasI20200123-1800Lars Vogel1-1/+1
Uses method references if possible Removes unnecessary brackets Using the upcoming JDT cleanup from https://git.eclipse.org/r/#/c/148248/ Method references are faster in execution and shorter. Change-Id: I4b8edca1ad34eb1c8788e6729c9bb76f1eefb335 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-01-17Use lambdas where possibleY20200120-0020I20200120-0445I20200120-0355I20200120-0115I20200119-2330I20200119-1800I20200118-1800I20200117-1800Lars Vogel1-54/+16
Using the batch cleanup operation via Source -> Cleanup -> "Use lambdas where possible" from standard JDT. Change-Id: I609127e1d7267230c8741a155b81e4b004d7ee15 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-01-14Use Integer.parseInt to avoid wrapper creation with Integer.valueOf inI20200114-1805Lars Vogel1-1/+1
QuickSearchDialog Change-Id: Ifb6c65ffcc49776d8d3548da40bec2c3b648ddf0 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-12-10Add @Override Annotation and activate corresponding save actionCarsten Hammer8-2/+42
Change-Id: Ib8d6b0ffb0e5a3f160bf1868e7813321ebd1846f Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-12-10Use jdk 5 for-each loopCarsten Hammer1-7/+4
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: Icfa2c7631b61a10bfe228ca39644fe7973915c20 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-11-22Bug 548250 - Javadoc problems in platform.textI20191125-1800I20191125-0600I20191124-1800I20191124-0600I20191123-1800I20191123-1115I20191123-0600I20191123-0100Paul Pazderski1-1/+1
Change-Id: I84f9f4c00e81494dc69134e660e261fcab1dc493 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-11-12Bug 551970 - replaced eager computation of ignored containersI20191113-2315I20191113-1800I20191112-1800Julian Honnen1-45/+23
Instead of computing all project links eagerly, check if a resource is a linked project on demand. The use of IWorkspaceRoot::findContainersForLocationURI does not scale on large workspaces. Also modified the implementation to handle linked folders the same as projects. Change-Id: Ic0f5f9ac1b7082b4cc0daf9e86a04a08d2e35897 Signed-off-by: Julian Honnen <julian.honnen@vector.com>
2019-11-12Bug 552935 - Shorter timeout for QuickSearh in Find ActionsMickael Istria1-1/+2
Change-Id: Icdb528818fab71b7345970353f2bad005d0dbd31 Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-11-05Remove redundant type arguments in text.quicksearchLars Vogel3-3/+3
Change-Id: I996c7d26284b93ad40ddb134a7a2a8ecf4f95906 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-10-22Bug 552326 - NPE in non-UI ThreadI20191023-1810I20191022-1800Mickael Istria2-12/+24
Change-Id: Ia5a0262b05e723040e10a5b3d9251bac7a279894 Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-10-14Bug 551970 - Quick Test Search directly in Find Actions/Ctrl+3Mickael Istria4-2/+122
Change-Id: I6d1f08938fc1a0903349f8d93fe19f9a0a399bb8 Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-10-11Move away of deprecated AbstractUIPlugin.getWorkbench.Alexander Kurtakov1-4/+2
Change-Id: I90fdb653dc63d4a39698cd8e903698bc86e719b2 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-01Bug 551666 - [Quick Search][Win32] Wrong selection if dialog isPaul Pazderski1-8/+8
initialized with multi-line text Change-Id: I9584a884bc01d4e956e33b4263851b3bd4b3201f Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-09-20Bug 549663 - Eclipse Quick Text Search: Scroll in Preview WindowPaul Pazderski1-3/+3
Fix stupid bug which prevent the preview window to center on the match. Change-Id: I90c23ea027b721b217b5d91d15ee0a5ba20e303a Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-09-19Bug 550057 - [Quicksearch] missing mnemonicsMickael Istria1-2/+2
Change-Id: If8947496324da5baad6191871ea295f7ec4573b6 Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-09-17Bug 549663 - Eclipse Quick Text Search: Scroll in Preview WindowAlexander Kurtakov1-2/+0
Fix compile warnings https://download.eclipse.org/eclipse/downloads/drops4/I20190916-1800/compilelogs/plugins/org.eclipse.text.quicksearch_1.0.100.v20190916-2054/@dot.html#OTHER_WARNINGS Change-Id: Ifc421e532077ae0e491bb41e60918b26ed6a2c25 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-09-16Bug 549663 - Eclipse Quick Text Search: Scroll in Preview WindowI20190916-1800Paul Pazderski1-4/+6
Change-Id: Ie2f359af87d287cc8bb402c91f8b0394041889da Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-09-16Remove unnecessary type specificationsCarsten Hammer5-5/+5
Since Java 7 the diamond operator can be used instead of explicit type parameters. Version bumps for 4.14 Change-Id: I911081e0d0d22f71e50c7e00ae6283b6ae0441ea Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de> Also-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-09-16[Quicksearch] Simplify line number calculationMichael Keppler1-11/+4
It's not necessary to deal with font metrics to get the number of lines being displayed in the preview area. Change-Id: Id450be2e2f2596c6a2f96683b772e85fed5d4890 Signed-off-by: Michael Keppler <michael.keppler@gmx.de>
2019-09-15Bug 550288 - [Quicksearch] Dialog shows "Searching..." even when therePaul Pazderski2-1/+12
are no search parameter Drop work queue when stopping due to empty filter string. Change-Id: I9e39eb948203352b63e09cad6193a2d0ceaf87e7 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-08-24Bug 550261 - "Searching..." does not stop in Quick Search dialogPaul Pazderski2-3/+11
Recognize a search which is suspended due to max number of results as inactive. Change-Id: Iee6c5dfb0d6e9eab7273d67ed67c194a9338850a Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-08-18Bug 550101 - [Quicksearch] Strings not externalizedI20190818-1800Mickael Istria13-71/+94
Change-Id: I6dc5042b7b5a59a53114935642cffb2fa6e5dad6 Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-08-18Bug 550058 - [Quicksearch] Name mismatch in UI and N&NMichael Keppler1-1/+1
Change the dialog title to "Quick Search", such that the same label is used everywhere. Use an ellipsis in the menu item to indicate a following input dialog. Also remove unwanted text parts from the command, command category and actionset labels, and fix capitalization and grammar. Change-Id: I9886c9f39c9e1ffdf79478fdbdefb4696a5c8214 Signed-off-by: Michael Keppler <michael.keppler@gmx.de>
2019-08-15Bug 549663 - Quick search preview dialog mixed line offset and lineI20190817-1800I20190816-1800I20190816-0155Paul Pazderski1-1/+3
index Change-Id: I969063920308526e237347d8fb6b276215a87cf0 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-08-15Bug 550042 - Compare ignored file extensions case insensitiveY20190815-0900Michael Keppler1-7/+6
Use case insensitive comparison for ignored file extensions in quicksearch. Remove the duplications from the default extensions and sort them for easier reading. Also add some more extensions (.bmp, .com, .jpeg). Change-Id: Idc1855921167ed3d1635ba0cae4b66444c76b1cf Signed-off-by: Michael Keppler <michael.keppler@gmx.de>
2019-08-15Bug 550020 - quick search preview area too smallMichael Keppler1-1/+1
Use more weight in the sash weight distribution for the preview area. You must use a new workspace to see the result of this change. On my system this produces about 2.5 lines of preview text now instead of a single line. Change-Id: I840b535d079dcceedecc94bb0642a5cc39c3eb3a Signed-off-by: Michael Keppler <michael.keppler@gmx.de>
2019-08-15Bug 550031 - Remove superfluous slash from quicksearch pathsMichael Keppler1-1/+4
The results of the quicksearch dialog have a path column. All the paths displayed there started with a slash, which can be removed, since it adds no value. Change-Id: I4d21038e9343c4feff7137a0ba4ab6064a05eedf Signed-off-by: Michael Keppler <michael.keppler@gmx.de>
2019-08-15Fix layout of quicksearch preference pageMichael Keppler3-30/+38
The multi-line preferences for ignored names/prefixes/extensions do not resize and therefore have a different size than the maxLineLength preference at the top of the page. Remove the character width limitation, and set a layout data width instead. This makes the field editors resize as expected, such that all field editors have the same size. Change-Id: I8e5c7b186e7058e14949ee528f336011953a786d Signed-off-by: Michael Keppler <michael.keppler@gmx.de>
2019-08-14Fix alignment of Refresh button in QuickSearch dialogMichael Keppler1-1/+2
The row with the "Matching items" label and the Refresh button has only 2 columns, not 3. The additional empty column lead to empty space right of the Refresh button. Also fix a reuse of layout data in the same method. Layout data shall not be reused for multiple widgets according to the documentation. Change-Id: Ic0d1e1b9016fb4e40fbceae9c7548f1d70d9bc6a Signed-off-by: Michael Keppler <michael.keppler@gmx.de>
2019-08-14Bug 550021 - Wrong tooltips in quicksearch preferencesMichael Keppler1-3/+3
Change-Id: Ia800ef9f083f5010b49ac3181e7f9dd469315ffb Signed-off-by: Michael Keppler <michael.keppler@gmx.de>
2019-08-12Bug 549961 - Progress view flickers when search is in progress usingI20190813-1800I20190812-1800Paul Pazderski1-0/+1
Quick Search Dialog Change-Id: I9c1893c57b0e78fa8c1d80f38348c7dfe60c37fb Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-08-05Bug 548518 - Improve QuickSearchDialogAlexander Kurtakov4-17/+16
Fix warnings and use standard header. Change-Id: I9ac64e4947071f773a2c313c3b12b764566e0ad9 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-02Bug 548518 - Improve QuickSearchDialogI20190804-1800I20190803-1800I20190802-1800Mickael Istria3-30/+46
* externalize strings * Relabel Go! to Open * Make Open button default * Moved refresh button closer to request part * Remove some listeners (leverage JFace API) Change-Id: Ie7850c8277a8a4c7aa5790e3f3d7990f26e90e62 Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-07-29Bug 548518: STS Quicksearch ContributionY20190729-0900Kris De Volder23-0/+4014
Make copy of STS quicksearch code from https://github.com/spring-projects/eclipse-integration-commons/ Changes from original code: - plugin ids changed to org.eclipse.text.quicksearch and org.eclipse.text.quicksearch.tests - command and action set ids renamed to org.eclipse.text.quicksearch.* - about.html changed based on example from other platform bundles - packages renamed to org.eclipse.text.* - Preference page reimplemented using jface FieldEditors. - EPL license headers v1.0 => v2.0 - Add some missing license headers - Externalize strings from preferences page UI - Various small code style improvements from feedback in gerrit - Keybinding changed to CTRL+ALT+SHIFT+L - add '.internal' to package names - use 'x-internal=true' on all packages - export all packages - bundle and package version constraints - trailing whitespace cleanups - configure save actions to remove trailing whitespace in the future - remove jgit dependency - adopt ant 'TokenizedPattern' as replacement for jgit in ResourceMatcher - add some basic regression tests for ResourceMatcher - add 'Automatic-Module-Name' headers to plugin manifests Change-Id: Id2c1e0fbd75e7635656e3801cf31af09e71858d5 Signed-off-by: Kris De Volder <kdevolder@pivotal.io>

    Back to the top