peter
13a5cfc999
1st-letter-case-sensitive filtering for classes only
2011-03-21 21:29:06 +01:00
peter
0fdefe3ca3
fix double colon on completion
2011-03-14 20:48:14 +01:00
peter
24b5e9a888
by default execute typed handler when finishing completion by a character
2011-03-08 18:00:36 +01:00
peter
d783a84360
minor
2011-03-03 20:07:57 +01:00
peter
800817474c
fix typo
2011-02-28 13:28:08 +01:00
peter
aa65664d63
cleanup
2011-02-23 11:33:11 +01:00
peter
d9bce4699a
java completion relevance sorting on the new api, done
2011-02-22 18:58:54 +01:00
peter
55bc513149
IDEA-50627 Don't suggest uninitialized instance members in constructor when smart-completing
2011-02-22 18:58:44 +01:00
peter
f5530cba10
highlight and prefer members declared in the qualifier type in groovy as well
2011-02-07 12:49:27 +01:00
peter
cb3a2d6e35
use LookupElement.as instead of ad hoc inlining everywhere
2011-02-07 12:49:27 +01:00
peter
8c69c69acf
cheaper LookupElement.as
2011-02-07 12:49:27 +01:00
peter
456b8d2356
members declared in the qualifier class go first in the completion list (IDEA-13030)
2011-02-07 12:49:27 +01:00
peter
2604b2eb59
fix completing static inner class name extending its enclosing class
2011-02-02 17:21:11 +01:00
peter
4818ae2b0d
autopopup after dot
2011-01-31 13:17:44 +01:00
peter
85e30ec82c
for expected class types insert the parentheses (groovy)
2011-01-26 18:52:58 +01:00
peter
9f4efe0e8f
IDEA-64612 Autocasting from completion is not inserted after "assert X instanceof T" (and before another assignment)
2011-01-25 19:28:58 +01:00
peter
56ca617adb
add () when completing class name in more cases
2011-01-25 19:28:58 +01:00
peter
f0449b004e
enable stats for class name completion in some qualifier
2011-01-19 18:34:24 +01:00
peter.gromov
ad6472fa7e
IDEA-61337 Don't suggest default-package classes in non-default package context
2010-12-30 19:25:40 +03:00
peter.gromov
4240c6817e
in completing an anonymous class, the closing parenthesis should be inserted regardless of the pair bracket settings (IDEA-63392)
2010-12-23 18:32:16 +03:00
peter.gromov
c09bf152d6
IDEA-62753 Completing method call with ';' when pair bracket autoinsertion is off
2010-12-15 18:54:42 +03:00
peter.gromov
1209d0d670
IDEA-54362 When "Insert pair bracket" on Editor->Smart keys page is off, IDEA still inserts both parentheses on autocomplete lookup, but overtype doesn't work for functions with at least one argument
2010-12-03 15:29:05 +03:00
peter.gromov
6448426e0b
[rev=neuro159] IDEA-62218 Inner enums completion
2010-12-01 19:58:52 +03:00
peter.gromov
19943e9543
IDEA-50590 When completing a field with qualifier casting, caret is placed inside typecast
2010-11-26 13:02:04 +03:00
peter.gromov
07795c4a42
don't erase generics when choosing a new class name with tab (IDEA-50622)
2010-11-25 19:35:42 +03:00
peter.gromov
52a4227091
in basic completion in java, act like smart completion for class names after new
2010-11-17 17:32:47 +03:00
peter.gromov
d5c838a3e8
when doing runtime type casting in the debugger evaluation, use allScope for resolving
2010-11-13 18:01:35 +03:00
peter.gromov
217ece149b
IDEA-58858 Regression: Incorrect behavior on method name autocomplete if the next statement has a cast
2010-11-08 17:57:34 +03:00
peter
e5002bcf03
minor movements
2010-10-30 15:23:53 +04:00
peter
219bd44127
we don't need a smart pointer in PsiClass reference insertion
2010-10-30 15:23:47 +04:00
peter
3bb33ea6db
no more classNameInsertHandler extension
2010-10-30 15:23:45 +04:00
peter.gromov
d2bd9ea793
IDEA-59350 Double completion variance for static imported fields
2010-10-18 21:36:50 +04:00
peter.gromov
127a5b0b8e
make the statically imported suggestions obey the expected type (IDEA-59720)
2010-10-18 21:16:35 +04:00
peter
6f5c70f254
IDEA-43317 Complete static members from classes that are already mentioned in import block as static import (groovy fields)
2010-09-08 19:06:37 +01:00
peter
b17822e5a9
don't suggest the statically importable methods in qualified context
2010-09-08 19:06:35 +01:00
peter
385649b73b
complete siblings of statically imported fields, too (java)
2010-08-31 13:52:36 +01:00
peter
e1928c42af
in attempt to fix just one test rewrite half the java method call completion; but the code now is much more self-contained, and the test is fixed
2010-08-31 12:38:38 +01:00
peter
c56b6edddb
IDEA-43317 Complete static members from classes that are already mentioned in import block as static import (java)
2010-08-31 12:38:27 +01:00
peter
549415de14
global method completion to insert qualified calls by default, import static available via Left key option
2010-08-29 09:40:12 +01:00
Alexey Kudravtsev
69a331a389
performance
2010-07-07 13:06:31 +04:00
Maxim.Mossienko
5e74a8b399
performance optimizations for lookup with many items:
...
- avoid expensive Class#isInstanceOf of LookupElement sublcasses #as using specialized <SpecificLookupItem> #from with explicit instanceof SpecificLookupItem
- using identity hashing for binding lookup item weights to item
2010-04-23 14:37:32 +04:00
Maxim.Mossienko
6a80949468
misc optimizations for showing lookup with many elements:
...
- using ContainerUtil.toArray
- cheaper checks of relevance to Java-specific weighers
- avoid expensive Class#isInstanceOf of LookupElement#as using:
* LookupItem#from with explicit instanceof LookupItem (caring of LookupElementDecorator)
* isCaseSensitive introduced to LookupElement
2010-04-22 18:30:43 +04:00
Alexey Kudravtsev
4f5bde8a96
IDEA-51798
2010-02-09 13:49:55 +03:00
Alexey Kudravtsev
f6e9c56628
cleanup: toArray() -> toStringArray
2009-11-12 14:01:30 +03:00
peter
41f136134d
move smart completion assignability checking closer to reference processor to fix
...
IDEADEV-40813 Smart completion inside "if" statement with "instanceof" in condition doesn't suggest method with generic return type
2009-10-14 23:43:34 +01:00
peter
58a6d887a7
IDEADEV-40766 Regr: Smart type completion at cast position insert wrong type for arrays
2009-10-13 18:24:23 +01:00
Dmitry Jemerov
b2bd687f71
update copyright
2009-10-11 21:02:22 +04:00
Peter Gromov
ff67c6e824
decorate->withRenderer, createDecorator->withTail, remove Visagiste
2009-09-18 11:18:28 +04:00
Peter Gromov
4b53ed7039
local variables and recursion checks are more important for relevance than expected types in basic completion
2009-09-17 21:03:01 +04:00
Peter Gromov
e05ea7c933
disprefer the variable item when completing inside its own initializer, unify recursiveCall and qualifierParameter weighers
2009-09-16 21:32:57 +04:00