Commit Graph
224338 Commits
Author SHA1 Message Date
Roman.Ivanov 9265b54df5 CreateTypeParameterFromUsage: do not suggest fix when reference is part of class literal: IDEA-195266 2018-07-10 14:52:17 +07:00
Tagir Valeev a6b56ad0bd JavaIntentionPolicy: "Make 'static'" exception removed after IDEA-195165 fix 2018-07-10 14:45:34 +07:00
Tagir Valeev fe28f4be1d JavaIntentionPolicy: remove exceptions for IDEA-195234, IDEA-195015 2018-07-10 14:13:47 +07:00
Tagir Valeev e3b4dbaac1 ReplaceCastWithVariableAction: support parentheses 2018-07-10 14:13:47 +07:00
Tagir Valeev 16f7a6f8ea JavaIntentionPolicy: Add 'catch' clause for 'xyz' may produce incompilable code 2018-07-10 14:13:46 +07:00
Tagir Valeev b44aed3ba0 UseBulkOperationInspection: deparenthesize qualifier 2018-07-10 14:13:45 +07:00
Tagir Valeev f1f118ccc5 SynchronizeOnNonFinalFieldInspection: deparenthesize 2018-07-10 14:13:44 +07:00
Tagir Valeev 4759008b7d IndexOfReplaceableByContains: support parentheses 2018-07-10 14:13:44 +07:00
Tagir Valeev 105bd77c57 ComparatorCombinatorsInspection: support parentheses around lambda 2018-07-10 14:13:43 +07:00
Tagir Valeev c8eb903c46 IteratorDeclaration: support parentheses in declaration 2018-07-10 14:13:42 +07:00
Tagir Valeev b892f42553 CreatePropertyAction: prevent from NPE when calling getText() on non-available action (useful in test reporting) 2018-07-10 14:13:42 +07:00
Tagir Valeev 4f222266b8 ReplaceMultiplyWithShift, ReplaceShiftWithMultiply: parentheses support, tests 2018-07-10 14:13:41 +07:00
Tagir Valeev 8f52239a59 CodeInsightTestUtil: fixture.getElementAtCaret() -> fixture.getFile().findElementAt(fixture.getCaretOffset())
fixture.getElementAtCaret() may fail by itself as it looks for name/reference elements which would mask the original failure
2018-07-10 14:13:40 +07:00
Tagir Valeev 69e1ff670f ReplaceShiftWithMultiplyIntention: support parentheses; tests 2018-07-10 14:13:39 +07:00
Tagir Valeev dc328949c7 JavaParenthesesPolicy: disable in void context 2018-07-10 14:13:39 +07:00
Tagir Valeev ec98df958b StreamApiMigration: parentheses in BufferedReader.lines() scenario supported 2018-07-10 14:13:38 +07:00
Tagir Valeev ff72facb5c AddTypeCastFix: disallow void type 2018-07-10 14:13:37 +07:00
Tagir Valeev a850c09c2f InvokeIntention: better diagnostics for parentheses failure 2018-07-10 14:13:37 +07:00
Tagir Valeev 10f1c7da34 KeySetIterationMayUseEntrySetInspection: better parentheses support 2018-07-10 14:13:36 +07:00
Vladimir.Orlov b929028234 win installer: fixed typo. 2018-07-10 09:48:38 +03:00
Tor Norbye 42d3e22893 Add RecentlyNullable and RecentlyNonNull to nullable list
These two new magic names are also known to the
Kotlin compiler as nullness annotations representing
recently migrated nulls, which will be treated as
warnings rather than errors when violated.
2018-07-10 07:17:35 +02:00
peter 1e170960b6 remove jetCheck source
now it lives separately on https://github.com/JetBrains/jetCheck
2018-07-10 07:12:44 +02:00
peter 300037705e make jetCheck an external library jar 2018-07-10 07:03:45 +02:00
peter 2a9bcf1d96 debug tests hanging in ChangeListManagerImpl.waitEverythingDoneInTestMode 2018-07-10 07:03:44 +02:00
Ilya.Kazakevich 9ab5f5566b Project dispose added, leak hunter removed (must be called after app dispose) 2018-07-10 01:01:48 +03:00
Ilya.Kazakevich 46ff8b0b46 Hunter removed from teardown
We need to stop app (we'll have leak otherwise) but we can't do in teaDown, only in last step of suite
2018-07-09 22:54:13 +03:00
Daniil Ovchinnikov ac231a6af6 [groovy] allow new line before elvis operand (IDEA-195296) 2018-07-09 22:24:35 +03:00
Julia Beliaeva 9cb2079b18 [vcs-log] inline process variable, rename parameter 2018-07-09 22:18:03 +03:00
Julia Beliaeva d1f6e0e2be [vcs-log] iterate over commits persistent set during filtering by index
Since commits map was introduced in 32e141ef1b, there is no need to use messages map to iterate over all indexed commits.
2018-07-09 22:18:02 +03:00
Julia Beliaeva 212b4d313a [vcs-log] reuse executeAndCatch 2018-07-09 22:18:02 +03:00
Julia Beliaeva 99b0a92b73 [vcs-log] reorder methods 2018-07-09 22:18:02 +03:00
Sergey Simonchik eff060a60f update jediterm-pty to v2.10 to fix IDEA-187084 2018-07-09 21:18:09 +03:00
Anna.Kozlova 449b375178 equals/hashCode generation: simplify Objects.equals when fields are notNull (IDEA-194650) 2018-07-09 19:46:44 +02:00
Dmitry Jemerov d8a462b31f Rider-friendly implementation of Retype File action
Deal with typed handlers executed asynchronously. Synchronize position on line-by-line basis to deal with trailing
spaces differences and typed handlers reformatting already entered contents of the file. Don't automatically
accept completion suggestions. Add extension point to exclude Rider's live template lookup items from being accepted.
2018-07-09 19:21:25 +02:00
Konstantin Aleev d585ccb554 cleanup: rename method and clarify javadoc 2018-07-09 19:36:58 +03:00
Maxim.Mossienko 9538284b49 skip stub index key that wasn't initialized by some stub index extension (IDEA-195089) 2018-07-09 18:34:31 +02:00
Julia Beliaeva 53a95c71a1 [vcs-log] build VcsLogFileRevision from VcsCommitMetadata 2018-07-09 19:10:07 +03:00
Julia Beliaeva 27d1374fa4 [vcs-log] use VcsCommitMetadata in details panel 2018-07-09 19:10:07 +03:00
Julia Beliaeva 9b7692e69c [vcs-log] read VcsCommitMetadata instead of VcsShortCommitDetails
VcsCommitMetadata adds full commit message to the VcsShortCommitDetails. It can be used in places where we need full message, but not changes, like commit detail panel. HgLogProvider already reads full message, so it is not a big change. For git, commits are read from index (with full message) most of the time. In case of not indexed commits requesting commit body does not make git command significantly slower.
2018-07-09 19:10:07 +03:00
Nicolay Mitropolsky 9350698e63 UnstableApiUsageInspection cleanup as long as IDEA-195008 is fixed 2018-07-09 19:06:42 +03:00
Nicolay Mitropolsky 15c22ae9d5 Uast-java: fixing getting parent in import-statements (IDEA-195008) 2018-07-09 19:06:42 +03:00
Sergey Ignatov 731fbf08ec suppress 2lambda conversion due to a javac bug 2018-07-09 19:05:00 +03:00
Sergey Ignatov 679bd78ed9 Revert: use lambdas (e67e0f67), a javac bug? 2018-07-09 18:55:18 +03:00
Daniil Ovchinnikov ffe0db4c64 [groovy] fix label formatting (IDEA-194906)
- split #generateSubBlockForCodeBlocks into two methods: #generateCodeSubBlocks and #generateSubBlocks;
- use former method for code block only, flatten children independently of label setting;
- use latter method for members (don't need to flatten) and children of GrLabelBlock (already flattened);
- given correct blocks from above changes, update GroovyIndentProcessor to use respective settings (i.e. go down to
#visitLabeledStatement instead of this werid logic in #getChildIndent).
2018-07-09 18:47:55 +03:00
Mikhail Sokolov 0d827af7ea IDEA-195281 New SE: popup size is increased on each appear 2018-07-09 18:38:13 +03:00
Dmitry Batrak 93035db9e1 make Inlay.updateSize() imply Inlay.repaint()
otherwise clients would always need to call the latter after the former
2018-07-09 18:21:54 +03:00
Artem Khvastunov 6d181d6eee make MultiMap#create(Linked|Ordered)Set return empty set instead of list 2018-07-09 17:12:06 +02:00
Ilya.Kazakevich edb3f4b944 dispose test root in tests 2018-07-09 18:00:00 +03:00
Alexandr Evstigneev 5ef8ed9270 RUBY-21928 Disabled execution lock control with registry key ruby.execution.lock.control 2018-07-09 17:53:24 +03:00
Vladimir Krivosheev 265dbfe243 IDEA-161674 Native "Deny" answer is not respected — IDEA continues to ask access
first quick solution — keep decision for 1 minute
2018-07-09 16:49:15 +02:00