Commit Graph
179246 Commits
Author SHA1 Message Date
Yaroslav Lepenkin b7a5f1eceb [Extract Method] generate method with newline between braces, since otherwise with enabled "Keep simple methods in one line" formatter will keep extracted method in one line 2016-09-16 14:00:00 +03:00
Anna Kozlova 0ddefdd70a missed dependency 2016-09-16 13:55:16 +03:00
Anna Kozlova cf44324d85 auto restart tests: don't auto restart on explicit compilation if nothing was changed (IDEA-161333) 2016-09-16 13:25:12 +03:00
Anna Kozlova 8b82f7cc0e junit 5: discover test by method name with parameter types 2016-09-16 13:25:12 +03:00
Anna Kozlova 02f44a0fb5 junit 5: ensure junit 5 framework detected 2016-09-16 13:25:11 +03:00
peter 5080c1295f for vararg methods, finish call argument template inside parentheses 2016-09-16 12:10:37 +02:00
Alexey Ushakov 5eaaa70ac1 IDEA-161337 Enable marlin renderer on Linux 2016-09-16 12:57:36 +03:00
Rustam Vishnyakov ace57ffa91 FIXED IDEA-161330 Scheme drop-down becomes empty on deleting 2016-09-16 12:50:58 +03:00
Bas Leijdekkers f02ee59e5c IDEA-161298 (Inspection 'Method is identical to its super method' should warn about protected method with super call only) 2016-09-16 11:45:37 +02:00
Tagir Valeev 6a68f91170 Fixed possible AIOOBE after suggestVariableName 2016-09-16 16:34:07 +07:00
Vladimir Krivosheev 9130c0b781 deprecate Promise.REJECTED 2016-09-16 11:00:01 +02:00
Vladimir Krivosheev d04af83fb3 cleanup: prefer to use resolvedPromise 2016-09-16 11:00:00 +02:00
Vladimir Krivosheev 30f4d60301 cleanup: prefer to use resolvedPromise 2016-09-16 11:00:00 +02:00
Roman Shevchenko 2e1e7d4ef8 Cleanup (formatting) 2016-09-16 11:55:27 +03:00
Roman Shevchenko 3e63cb800a Cleanup (warnings; formatting) 2016-09-16 11:36:43 +03:00
Vladimir Krivosheev 846bc3fbed cleanup: remove Promise.wrap 2016-09-16 10:28:45 +02:00
Vladimir Krivosheev 56d4fe4794 cleanup: move Promise.createError 2016-09-16 10:25:00 +02:00
Vladimir Krivosheev 95284119fd Promise.blockingGet, PasswordSafe.getAsync 2016-09-16 10:24:59 +02:00
Vladimir Krivosheev d6d4db8e34 convert RejectedPromise to kotlin 2016-09-16 10:24:59 +02:00
Vladimir Krivosheev b944489070 convert RejectedPromise to kotlin 2016-09-16 10:24:59 +02:00
Denis Fokin 3bd41d238e LaterInvocatorTest.testStress failure investigation 2016-09-16 11:16:37 +03:00
Roman Shevchenko b479e727cd [java] minor optimization 2016-09-16 11:05:49 +03:00
Roman Shevchenko 8fb837effc Merge remote-tracking branch 'origin/master' 2016-09-16 10:40:07 +03:00
Roman Shevchenko ba9de6eb7f Cleanup (warnings; formatting) 2016-09-16 10:39:39 +03:00
Roman Shevchenko ebc5f68de5 [tests] minor de-duplication 2016-09-16 09:51:24 +03:00
Anna Kozlova 89eb51f21c code generation: ensure parameter is created with denotable type
EA-69807 - AIOOBE: PsiElementFactoryImpl.createParameter
2016-09-16 09:45:33 +03:00
Vladimir.Orlov ffd40c6bc2 Merge remote-tracking branch 'origin/master' 2016-09-16 09:26:19 +03:00
peter 719ff2dca8 show various settings dialogs in a transaction + cleanup 2016-09-16 08:10:57 +02:00
peter ade087c842 make second home/end leave the live template fragment and work as usual
to make it easier to cut/copy stuff from the rest of the line
2016-09-16 08:07:02 +02:00
Tagir Valeev d4e5f5a2c4 IDEA-161007 ComparatorCombinatorsInspection: better variable naming, support integer difference comparators 2016-09-16 12:48:58 +07:00
Anna Kozlova f4dae32d7f overload resolution: prefer candidates with functional formal type if lambda is passed; this way conflict would be resolved and nested error would be shown instead 2016-09-16 08:34:15 +03:00
Anna Kozlova a493ff0f1d annotations: check that modifier list corresponds to class modifier list when ignore list during process declarations (IDEA-160106) 2016-09-16 08:34:14 +03:00
Mikhail Golubev 0d37cf70eb PY-20783 Select correct scope owner to resolve symbols inside injection
Previously only PSI file containing host element was used to resolve
them, thus variables coming from local and nested scopes couldn't have
been found inside f-strings. It also fixes similar problems in other
places that make use of injections: doctests, type comments and escaped
forward references in type annotations.
2016-09-16 08:16:26 +03:00
Mikhail Golubev aaa2389549 PY-18972 Automatically close quotes for f-string literals 2016-09-16 08:16:26 +03:00
Mikhail Golubev d50db53561 PY-18972 Injections for expressions embedded inside f-strings
Most of the logic regarding proper detection of "{}" fragments follows
CPython's implementation of PEP-498.
2016-09-16 08:16:26 +03:00
Mikhail Golubev b16311ef60 PY-18972 Initial support of f-string literals
Namely, Python lexer, compatibility inspection and unsupported
features annotator are aware of them now.
2016-09-16 08:16:26 +03:00
Mikhail Golubev 83771208a3 PY-20744 Consider variable annotations only in current file to prevent unstabbing everywhere
It will be fixed eventually when we start storing annotations
for parameter, functions and target expressions in stub files and
process them using PyTypeParser only.
2016-09-16 08:16:26 +03:00
Mikhail Golubev 18f9ba8b6e PY-20744 PyTargetExpression#getAnnotation() better handles illegal annotation targets 2016-09-16 08:16:26 +03:00
Mikhail Golubev a48947ab01 PY-20744 Warn about illegal targets for variable annotations 2016-09-16 08:16:26 +03:00
Mikhail Golubev 6d86b858ca PY-20744 Initial support of variable annotations in type сhecking 2016-09-16 08:16:26 +03:00
Mikhail Golubev 409aad3f71 PY-20744 Compatibility inspection and annotator warn about variable annotations 2016-09-16 08:16:26 +03:00
Mikhail Golubev eb64521ae2 PY-20744 Python formatter is aware of variable annotations 2016-09-16 08:16:26 +03:00
Mikhail Golubev 3266460142 PY-20744 Parse PEP-526 variable annotations
Annotation is preserved at the level of assignment nodes similar to
where CPython keeps them in its AST (in special "augassign" nodes).
For type annotations in form "x: int" without variable initialization
special statement PyTypeDefinitionStatement was introduced.
2016-09-16 08:16:26 +03:00
Tagir Valeev 1ec6d3d0dd IDEA-161257 Map.computeIfAbsent: disable inspection if checked exception is thrown from lambda body 2016-09-16 10:26:14 +07:00
Tagir Valeev 9b54b344af IDEA-161257 Add Java-8 migration fix to use Map.computeIfAbsent where appropriate 2016-09-16 10:00:47 +07:00
Tagir Valeev d59ecfe632 IDEA-161194 follow-up: HTML description updated 2016-09-16 08:51:41 +07:00
Rustam Vishnyakov f851a9e6d2 Automatically substitute a read-only scheme with its editable copy 2016-09-16 00:38:26 +03:00
Konstantin Bulenkov 9054f58d63 Revert: IDEA-161043 Rename "Version Control" toolwindow to "VCS" 2016-09-15 21:42:14 +02:00
Konstantin Bulenkov 307897dbad Merge remote-tracking branch 'origin/master' 2016-09-15 21:14:56 +02:00
Konstantin Bulenkov c47ff6c8c3 Can't open Settings 2016-09-15 21:12:00 +02:00