Commit Graph
193792 Commits
Author SHA1 Message Date
Anna.Kozlova 58fcabfd2b functional interfaces: allow intersection with 2 independent abstract methods with same signature (IDEA-171622) 2017-04-21 20:03:27 +02:00
Anna.Kozlova d680d55c99 register local refs to java if references are registered in literal expression by foreign contributor (e.g. reflection, data providers, etc) (IDEA-171495) 2017-04-21 20:03:27 +02:00
Anna.Kozlova 85cdf34c8a disable import static constant at annotation position 2017-04-21 20:03:27 +02:00
Anna.Kozlova 258d275306 junit 5 malformed parameterized sources inspection 2017-04-21 20:03:27 +02:00
Ekaterina Tuzova 27ad90521f do not store stepic step id in study task manager 2017-04-21 20:31:56 +03:00
Maxim.Mossienko 8906ea39da read action for roots processing (EA-100454) 2017-04-21 19:26:51 +02:00
Roman Shevchenko f415f2dc3c [java] diagnostics (EA-96056) 2017-04-21 19:12:04 +02:00
Egor.Ushakov a00541f7b2 IDEA-149077 Default decompiler is chosen for several classes instead of Fernflower 2017-04-21 20:06:36 +03:00
Daniil Ovchinnikov 06689923ce [groovy] register all type calculators in core environment 2017-04-21 19:20:32 +03:00
Daniil Ovchinnikov 9363519027 [groovy] use type calculator API for index access (IDEA-170732) 2017-04-21 19:20:31 +03:00
Egor.Ushakov 5d17472429 do not process vars if there were errors in the method 2017-04-21 19:18:06 +03:00
Dmitry Batrak dd922ae87b fix caret position relative to hint after nested smart completion 2017-04-21 19:11:14 +03:00
Dmitry Batrak 3840e41483 remove method completion hints if parameter count was changed 'manually' 2017-04-21 19:11:14 +03:00
Ilya.Kazakevich 56e741a29a PY-23856: Support tests with docstring and spaces in target
* Targets are trimmed
* When unittest reports test with docstring it should be part of name, but not location
2017-04-21 19:09:40 +03:00
Valentin Fondaratov 66cce38e53 optimize isHashBangLine
since (i) `#!` prefix is quite rare for the files, and
(ii) check for it is cheap, it makes sense to move the check
closer to the beginning of the method
2017-04-21 19:05:18 +03:00
Kirill Likhodedov ea7482bc2a Don't allow "toggle bookmarks with mnemonic" show popup multiple times
Follow-up to b5addab
Relates to IDEA-169296
Issues found in IDEA-CR-19062
2017-04-21 18:57:26 +03:00
Kirill Likhodedov 63ac6b9135 Show the Bookmarks popup in modal context
Find the focused window, not the main IDE frame.

Useful in diff invoked from the commit dialog.

Follow-up to b5addab
Relates to IDEA-169296
Issues found in IDEA-CR-19062
2017-04-21 18:57:25 +03:00
Kirill Likhodedov 864648f5bd Enable more bookmarks actions in modal context
Useful in diff invoked from the commit dialog.

Follow-up to b5addab
Relates to IDEA-169296
Issues found in IDEA-CR-19062
2017-04-21 18:57:25 +03:00
Elizaveta Shashkova 962903d4c3 Tests: use string presentation for the setup dict 2017-04-21 18:55:29 +03:00
alexey.afanasiev 2a5a845b09 IDEA-168549 Groovy shifted braces placement not shifted 2017-04-21 18:44:57 +03:00
Nicolay Mitropolsky ef0f6edeec ImplicitSubclassInspection and ImplicitSubclassProvider description fixes 2017-04-21 18:36:28 +03:00
Nicolay Mitropolsky 925ce5d8ce some inspections memory leaks fixes 2017-04-21 18:36:28 +03:00
Daniil Ovchinnikov d443aa6516 [groovy] get rid of getRValueType(), return type from getType() as if
the expression would be an rValue regardless of its position
2017-04-21 18:28:45 +03:00
Daniil Ovchinnikov 6d9e69af66 [groovy] tuple expressions cannot have types, as well as they cannot
be a subject for introducing variable or parameter.
2017-04-21 18:28:44 +03:00
Daniil Ovchinnikov a85f2c91bd [groovy] refactor index access (GrIndexProperty)
Update expression gerenation logic.
2017-04-21 18:28:43 +03:00
Daniil Ovchinnikov 5c65b20fce [groovy] refactor index access (GrIndexProperty)
Separate highlighting of unresolved/ambiguous rValue and lValue.
2017-04-21 18:28:43 +03:00
Daniil Ovchinnikov 9347c605b8 [groovy] refactor index access (GrIndexProperty)
The element may appear in rhs as well as in lhs. There is special
case when the same element is both a rValue and a lValue: a[0] += b.
Because of that we need ability to separately resolve getAt() and
putAt() methods. Thus the element cannot be a GrCall.

Added:
- getLValueReference() and getRValueReference();
- getType() always returns type as if element is a rValue.
Removed:
- getGetterType() as it is became unneeded;
- getSetterType() as it was unused already.
2017-04-21 18:28:42 +03:00
Daniil Ovchinnikov af01bdcff6 [groovy] do not infer closure type parameters from toString() and getParameterCount() 2017-04-21 18:28:42 +03:00
Daniil Ovchinnikov ba5e5fa4cf add AtomicNullableLazyValue.createValue(Factory) 2017-04-21 18:28:41 +03:00
Elizaveta Shashkova 521725606d Tests: an attempt to finish Django debug tests without waiting for process finishing because it has no sense 2017-04-21 18:14:07 +03:00
Yaroslav Lepenkin d1a8cdf876 [stats collector] logging events with validation service extracted to separate module 2017-04-21 18:06:27 +03:00
Yaroslav Lepenkin 39336e2418 [stats collector] minor, refactoring 2017-04-21 18:06:26 +03:00
alexey.afanasiev 3e771f1908 IDEA-168549 Groovy shifted braces placement not shifted 2017-04-21 18:03:13 +03:00
Vladimir Krivosheev b56c04d540 cleanup (remove explicit type) 2017-04-21 16:50:46 +02:00
Vladimir Krivosheev ccaa9dde36 IDEA-171776 Default settings for copyright not copied into a new project 2017-04-21 16:50:46 +02:00
Egor.Ushakov a4c92175e4 do not request tooltips on non-active window - they will not be shown anyway 2017-04-21 17:42:36 +03:00
Elizaveta Shashkova 51b8c27e80 Tests: fix test data after old refactoring in arguments patching 2017-04-21 17:37:27 +03:00
Dmitry Avdeev 07fbaa5768 support different platforms 2017-04-21 17:22:43 +03:00
Vladimir Krivosheev 16e582a112 reduce usage of BrowserHyperlinkInfo 2017-04-21 16:16:43 +02:00
peter a2df489848 search for text file occurrences in smart mode read actions (EA-100453 - INRE: FileBasedIndexImpl.handleDumbMode) 2017-04-21 16:02:57 +02:00
peter 60bc314a90 let ProgressManager.checkCanceled() not fail in app absence
e.g. in ultralight unit tests
2017-04-21 16:02:57 +02:00
Roman Shevchenko c26ad1220f Cleanup (unused imports) 2017-04-21 15:53:52 +02:00
Egor.Ushakov 8152d4af73 toString for debugging 2017-04-21 16:52:29 +03:00
Egor.Ushakov cc3e1d89d6 fixed leaking debug process from shortcut listeners 2017-04-21 16:52:29 +03:00
Dennis Ushakov b485bf7513 use default doctype if non XmlDocument present (WEB-26324, WEB-26258) 2017-04-21 15:41:54 +02:00
Vladimir Krivosheev 870a72ccd9 do not call toCanonicalName twice 2017-04-21 15:38:57 +02:00
Vladimir Krivosheev 2fb861076b no condition if only browser passed — it id better default for current and new usages
No need to restrict users.
2017-04-21 15:38:56 +02:00
Vladimir Krivosheev 0a968f40d8 cleanup (package dir) 2017-04-21 15:38:56 +02:00
Konstantin Bulenkov e612b94c8b fix Apache htaccess icon in Darcula 2017-04-21 15:10:30 +02:00
Konstantin Bulenkov 715b206994 diagram icons are old in Darcula 2017-04-21 15:10:29 +02:00