Commit Graph
196875 Commits
Author SHA1 Message Date
Anna Kozlova a19a52bf49 raw type to parameterized: warn about conflicts (IDEA-173770) 2017-06-06 14:54:07 +03:00
Anna Kozlova 6487bb6913 disable assign parameter to final field (IDEA-173815)
for constructors with chaining calls, for non-constructors
2017-06-06 14:54:06 +03:00
Dmitry Batkovich 781137ab58 move test for java 6 thread local to separated class 2017-06-06 14:10:53 +03:00
Dmitry Batkovich 2ede55bd8c do not fail on int,byte -> atomic long type migration 2017-06-06 13:55:58 +03:00
Daniil Ovchinnikov 27a2f1517d [groovy] use utility method instead of own implementation
Use findChildrenByClass() in GrMethodCallExpressionImpl
.getClosureArguments()
2017-06-06 13:48:17 +03:00
Tagir Valeev 6fbca226c9 UseCompareMethodInspection: members rearranged 2017-06-06 17:39:32 +07:00
yarik d2aaf814aa [java formatter] ditched tab post format processor, since it is doing something inappropriate, has performance issues and we can happily live without it. 2017-06-06 13:29:37 +03:00
Daniil Ovchinnikov 6c0f423952 [groovy] implement GroovyPolyVariantReference in PSI 2017-06-06 13:28:30 +03:00
Tagir Valeev dbcddf5a4a BoxForComparisonInspection enhanced -> UseCompareMethodInspection
Suggests to use Integer.compare(), etc. instead if ternary operator or if chain. Fixes IDEA-173766.
2017-06-06 17:20:08 +07:00
Alexey Ushakov 7bf7bb730a IDEA-173836 After upgrade to Ubuntu 17.04 integrated menus do not work
Forced jayatana for Unity DE via env variable
2017-06-06 13:17:36 +03:00
Daniil Ovchinnikov 4b16918ede [groovy] extract EmptyGroovyResolveResult object 2017-06-06 13:00:55 +03:00
Maxim.Mossienko a6297d3b28 major version is 173 2017-06-06 11:22:57 +02:00
Ekaterina Tuzova 66ffd15c1c javafx switcher available on welcome screen. 2017-06-06 12:14:36 +03:00
Liana.Bakradze f5d4c81dfc EDU-970 Unreadable text in Add/Edit Answer placeholder dialog window 2017-06-06 12:12:28 +03:00
Vladislav.Soroka 8d59ee0870 IDEA-173957 IDEA 2017.2 EAP detects 'compile' dependency in a Gradle project as 'provided' 2017-06-06 12:10:01 +03:00
Konstantin Bulenkov aea101abf1 hide user paths in stats for VM options 2017-06-06 10:57:28 +02:00
Bas Leijdekkers 547abc95e5 IG: leave cast alone when it is necessary (IDEA-173430) 2017-06-06 10:39:43 +02:00
Bas Leijdekkers 6dc7596e56 IG: fix test 2017-06-06 10:39:43 +02:00
Maxim.Mossienko 022f8f79b6 IJ trunk now targets 2017.3 2017-06-06 10:36:56 +02:00
Alexandr Evstigneev bcdccd315a isAbsolute is now public. May be necessary for proxying indentions by wrappers 2017-06-06 11:33:15 +03:00
Egor.Ushakov 8d97e86da3 measure breakpoints overhead 2017-06-06 11:30:00 +03:00
Alexander Lobas ebe81ca2c6 Fix corner cases with "not merge" bug 2017-06-06 11:24:31 +03:00
Bas Leijdekkers f2dff6085b IG: "Assignment to 'null'" -> "'null' assignment" 2017-06-06 09:06:46 +02:00
Bas Leijdekkers 751d7b6aaf RegExp: report already defined group name 2017-06-06 09:06:46 +02:00
Bas Leijdekkers bec31c50f6 RegExp: some lambdification 2017-06-06 09:06:46 +02:00
Sergey Prigogin 3e4055d6ce IDEA-173861 Format string "%d%" is not flagged as invalid 2017-06-06 09:06:46 +02:00
Konstantin Bulenkov e4e4ab3c32 Merge remote-tracking branch 'origin/master' 2017-06-06 08:49:33 +02:00
Konstantin Bulenkov c7b508ffc9 fix assertion in Shortcut Collector 2017-06-06 08:48:29 +02:00
Ilya.Kazakevich d7d02ad2ac PY-24490: Dot dup2 std descriptors for CRT
(File added)
2017-06-06 03:38:20 +03:00
Ilya.Kazakevich 3436d9ca19 PY-24490: Dot dup2 std descriptors for CRT
dup2 for CRT is broken in Win10 (can't dup2 stdout and CreateProcess fails with STATUS_DLL_INIT_FAILED(0xc0000142) sometimes)
That is not a big deal since new process inherits handlers its CRT is initialized correctly
2017-06-06 03:22:29 +03:00
Irina.Chernushina f3605a30af es6 convert to export: improve when module.exports in comma expression
- gather inline comments also around expression
- better cut of the expression from comma expression together with
 inline comments around (old method does this poorly) and comma
2017-06-06 01:06:46 +02:00
Konstantin Bulenkov eff4e95b1e Merge remote-tracking branch 'origin/master' 2017-06-06 00:13:41 +02:00
Konstantin Bulenkov fb700a78cb support for double shortcuts in shortcuts collector 2017-06-06 00:12:30 +02:00
Konstantin Bulenkov e43bd12944 Add shortcut collector 2017-06-05 23:48:10 +02:00
Rustam Vishnyakov c26bb5297c IDEA-173831 Change editor/scheme Font settings UI 2017-06-05 23:39:37 +03:00
Rustam Vishnyakov a893d47f6b "<None>" font item when no secondary font (for IDEA-173831) 2017-06-05 23:39:37 +03:00
Vassiliy.Kudryashov 706aad11ff IOExceptionDialog it too wide 2017-06-05 23:25:06 +03:00
Dmitry Batkovich 57b939eef4 convert to atomic: add rule for array.length 2017-06-05 22:29:21 +03:00
Mikhail Golubev 33f424edc7 PY-8174 Suggests better names for new parameters in the quickfix
using NameSuggestionUtil#generateNames() and text of the main reference
expression in argument as a template. Only if no meaningful names were
found this way, it falls back to names generated from expression types.
2017-06-05 21:22:39 +03:00
Mikhail Golubev cf0c247416 PY-8174 Make PyChangeSignatureQuickFix constructor private 2017-06-05 21:20:45 +03:00
Mikhail Golubev f303faa967 PY-8174 Add a test on keyword only parameters in Python 3
The test on parameter names also checks the case when union type was
inferred for an argument.
2017-06-05 21:20:45 +03:00
Mikhail Golubev 0a575d9531 PY-8174 Consistent naming of test cases and full quickfix names in them 2017-06-05 21:20:45 +03:00
Mikhail Golubev ef60722aea PY-8174 Always use actual arguments as default values for new parameters
even if names referenced in them are not available at the places of
some usages and the definition. It's user responsibility to review them
and ensure that refactoring won't cause any errors. This approach
follows the one used for Java.
2017-06-05 21:20:45 +03:00
Mikhail Golubev fc59d948bf PY-8174 New parameters names are unique if arguments have the same type
Incrementally increasing numbers are appended to the names derived from
the types of the corresponding arguments to make them sufficiently
different.
2017-06-05 21:20:45 +03:00
Mikhail Golubev 9eca5367bd PY-8174 Don't change the original call in change signature
It doesn't make much sense to modifying the call expression as
the result of refactoring which sole purpose was to match the definition
and the rest of the usages with this very expression.
2017-06-05 21:20:45 +03:00
Mikhail Golubev 05e9418a47 PY-8174 Include the new warning, the quickfix is bound to, in the test data 2017-06-05 21:20:45 +03:00
Mikhail Golubev d8a1f8fd86 PY-8174 Use provided arguments as default values for new parameters 2017-06-05 21:20:45 +03:00
Mikhail Golubev 05a195ba23 PY-8174 Fix several code style issues and warnings in the dialog
Method doValidate() is already indented to be called of EDT, so
additional invokeLater() is not necessary.
2017-06-05 21:20:45 +03:00
Mikhail Golubev 9af15aabf1 PY-19010 Properly focus on the checkbox "Use default value in signature" on Tab
It did work for Tab already, yet not for Shift+Tab when the focus was
switching between "Name" and "Default value" fields.
2017-06-05 21:20:45 +03:00
Mikhail Golubev 61797297a0 PY-24150 Fix scaling by using EditorTextFieldJBTableRowRendered in the dialog
Also provided straightforward implementation ParametersListTable and
thus got rid of deprecated methods.
2017-06-05 21:20:45 +03:00