Commit Graph

685 Commits

Author SHA1 Message Date
Nikolay Krasko bd1bb1f0bd - Tests for KT-1051, KT-1151 and KT-1100
- Icon for java fake class
2012-02-03 16:05:30 +04:00
svtk 6251b413a2 New check rules for inc, plus & plusAssign
KT-1176 arrayList[0]++. Setter is stored for array access expression when it's needed
2012-02-03 12:10:12 +04:00
Nikolay Krasko 9531415aae KT-1051 Java interoperability completion - tests 2012-02-02 21:06:59 +04:00
Nikolay Krasko 2478582670 Simple handler with insertion imports for classes names completion 2012-02-02 16:46:43 +04:00
Alefas c8b4e5ec74 Introduce Variable feature (in pre-alpha quality).
Problems:
1. Still problems with containers, due to new for me JetContainerNode.
2. Needs name suggester
3. Needs name validator
4. Needs type annotation adding
5. Needs changing to var and checking write access of usages
6. Needs final modifier adding
7. Some problems on class and file level. Should be fixed. Problems with inplace rename on this positions. Additionally possibly should be added proper work with expressions on class body level and namespace/file level. It parsed as error now.
8. Needs much more tests than just 6.
2012-02-01 19:42:06 +04:00
Nikolay Krasko 2826db7d9a KT-1103 Public outer function from different package and source file is not visible in completion:
- Stubs elements are enabled
- Changed method for selecting indexing policy for plugin and compiler
- Quick fix for import unresolved top-level function added
2012-01-31 14:10:08 +04:00
Andrey Breslav 1b88be725a Nullability fixed in a test 2012-01-31 11:37:01 +04:00
svtk 11ad28812d KT-1175 Mark unused literals 2012-01-27 18:32:55 +04:00
Nikolay Krasko 79d5c2e3ed Remove "ref" and "default" keywords from completion. Start using tokens for getting keyword completion constants. 2012-01-25 17:33:30 +04:00
Nikolay Krasko e5f4377ee4 - KT-1068 Formatter: no indent after for
- KT-1098  After entering "if (lock == null)" and pressing enter indent is wrong
- Move tests for formatter
2012-01-25 15:03:46 +04:00
Andrey Breslav 90b98a63b5 KT-1130 Remove ref from keywords 2012-01-25 13:12:42 +04:00
Alefas d3a0b70acd Fixed completion of functions with implicit receiver. 2012-01-24 20:52:44 +04:00
Alefas 9246cd5b81 Fixed parameter info issues: 1. Constructors. 2. Green background. 3. Default parameters text is better for literals now. 4. Added few tests. 2012-01-24 20:52:06 +04:00
svtk 428681f1d3 'add primary constructor fix' changed to 'change to invocation fix' (for delegators to super class) 2012-01-24 16:58:29 +04:00
svtk 70d0cd882b KT-650 Prohibit creating class without constructor 2012-01-24 16:58:29 +04:00
Nikolay Krasko 5613cb90f9 KT-1036 JetFile -> PsiJavaFile cast problem 2012-01-24 15:00:07 +04:00
svtk b3eb44e769 removed some string methods from library.jet 2012-01-20 19:32:12 +04:00
svtk 7fae503a38 KT-1080 Don't use previously imported packages while resolving import references 2012-01-20 11:58:17 +04:00
Nikolay Krasko 021fb14c77 KT-1065 No completion between function name and call brackets 2012-01-19 17:13:37 +04:00
Nikolay Krasko 14bccd9352 Fix line separators insertion 2012-01-19 16:43:49 +04:00
Nikolay Krasko 792f2c18ee KT-1064 Override methods should be separated with line breaks 2012-01-19 13:35:04 +04:00
Nikolay Krasko dd1fd26461 KT-1053 Incorrect auto formatting of when expression 2012-01-18 19:27:41 +04:00
svtk 04b1a4937c Merge remote-tracking branch 'origin/master' 2012-01-18 13:31:52 +04:00
svtk becd713111 KT-234 Force when() expressions to have an 'else' branch
KT-973 Unreachable code
2012-01-18 13:31:42 +04:00
Nikolay Krasko 2a3d1b2b45 KT-1033 Generate implementations produces wrong code 2012-01-18 12:16:40 +04:00
Nikolay Krasko c4bdd59f02 Make java classes completion popup not so obtrusive 2012-01-17 19:21:34 +04:00
Nikolay Krasko 62de24d6c9 KT-1021 "internal" is suggested in completion where type is expected 2012-01-17 13:58:00 +04:00
svtk 3f003a16c2 Merge remote-tracking branch 'origin/master' 2012-01-13 13:28:35 +04:00
svtk 390eb0cde3 forbid import of functions and properties from objects 2012-01-12 18:39:25 +04:00
Nikolay Krasko e723abb3b9 KT-763 Ctrl click failed on unresolved reference 2012-01-11 19:32:30 +04:00
Nikolay Krasko cb2219e72d KT-949 AssertionFailure in quick fix 2012-01-11 16:16:34 +04:00
Nikolay Krasko 0573efa6fb KT-960 import namespace should give unresolved reference 2012-01-11 13:55:20 +04:00
Nikolay Krasko fb5771505b KT-758 Show completion of namespaces in import statement 2012-01-10 18:59:42 +04:00
Stepan Koltsov 6446e83b29 remove VariableDescriptor.inType
(approved by Andrey Breslav)
2011-12-30 18:45:49 +04:00
Nikolay Krasko c6caffe02d Keywords autocompletion - nothing for top scope after package directive 2011-12-29 20:37:47 +04:00
Nikolay Krasko 28c449168c Keyword completion: forgotten object keyword 2011-12-29 18:00:16 +04:00
svtk 0e8dbbac2f quick fixes refactoring (disuse of CodeEditUtil) 2011-12-29 15:50:30 +04:00
svtk a61f848861 ImportClassHelper (quick fixes) refactoring 2011-12-29 15:40:20 +04:00
Nikolay Krasko be40b01d0e Disable keyword completion in comments, strings and chars 2011-12-29 15:08:42 +04:00
Nikolay Krasko f259b7d397 KT-759 Filter keywords auto completion according to context 2011-12-28 17:51:18 +04:00
svtk 4272dafc36 ReplaceCallFix instead of two ReplaceDotCallWithSafeCall & ReplaceSafeCallWithDotCall 2011-12-27 19:21:33 +04:00
svtk 7f46ed8e53 added fix "replace dot call with safe call" (from Sergey Ignatov) 2011-12-27 17:44:35 +04:00
Nikolay Krasko 25f7c139e0 Remove invalid tests (valid tests are already exist) 2011-12-27 15:51:13 +04:00
Andrey Breslav 7fcae64766 Parser test data fixed 2011-12-27 15:20:31 +04:00
Andrey Breslav 1704247534 Merge remote branch 'origin/master'
Conflicts:
	idea/testData/checker/RecursiveTypeInference.jet
2011-12-27 15:00:33 +04:00
Andrey Breslav b453880d9c Better message for recursive type inference 2011-12-27 14:59:24 +04:00
Andrey Breslav 2d78ccb9e1 Annotator test data fixed 2011-12-27 14:54:41 +04:00
Andrey Breslav fa5be15852 Diagnostics test data fixed 2011-12-26 19:55:29 +04:00
Andrey Breslav f52eae71d0 GreatSyntacticShift: 'namespace' -> 'package' 2011-12-25 15:51:59 +04:00
Maxim Shafirov 423494cef0 missed shift 2011-12-23 19:51:25 +03:00