Commit Graph
277916 Commits
Author SHA1 Message Date
Nikita Eshkeev ce7dae26b1 [codeInsight] IDEA-240288 Inspection for StringBuilder.toString().substring()
This patch replaces the excessive extraction of a qualifier via `ExpressionUtils.getEffectiveQualifier` with a simple `call.getMethodExpression().getQualifierExpression`

Signed-off-by: Nikita Eshkeev <nikita.eshkeev@jetbrains.com>

GitOrigin-RevId: 4a4f1c6b218c63691fa2bd4610e9901874d3c712
2020-05-15 12:15:31 +00:00
Aleksey Pivovarov b12dfe5539 svn: enable "Compare with Branch" action only for files under SVN
GitOrigin-RevId: baf62a107102fc1982b8fbb24e3ba34e166b3cff
2020-05-15 11:44:50 +00:00
Aleksey Pivovarov 6949455db1 vcs: hide "Compare with Specified Revision" action when it is not supported
GitOrigin-RevId: d811fb6349db28136887a45e13480858b9fcc856
2020-05-15 11:44:49 +00:00
Aleksey Pivovarov ae7ee6c20d git: remove deprecated field
GitOrigin-RevId: 6e7c6a5d68971aa4f6a0a3641cda5f75d69e7275
2020-05-15 11:44:49 +00:00
Andrey Vokin 865884a708 [ruby] Docker: try to get gem environment with 'bundle exec'
For Docker SDK retrieving 'gem env' is now made in 3 attempts.
The first one is to get it within standard `bundle exec`. If it fails, IDE tries the second attempt - get it via `bundle exec` with custom empty Gemfile. And the last attempt - is to get it without bundler.

RUBY-26392 Unable to run rspec tests when using a jruby-based docker image as a remote ruby interpreter

[IDEA-CR-62609]

GitOrigin-RevId: 528292971903d19514b783115039ee81907dc6ed
2020-05-15 11:43:20 +00:00
Dmitry Zhuravlev 8c72597a9a diff: fix typo in EP name
GitOrigin-RevId: dbb9f94bc3222aab870b240e8ca80b399217b31a
2020-05-15 11:35:42 +00:00
Tagir Valeev 7d4c5ea4d8 IDEA-240403 Analyze dataflow to here: perform backpropagation through simple expressions
GitOrigin-RevId: 6c7d2e9f30121748c624a20ab14cbcf7dd7c71ec
2020-05-15 11:16:42 +00:00
Dmitriy.Panov 646b343400 JPS cache upload: use some timeout
GitOrigin-RevId: 69cd93b81aefbf2531479a76a43018e12568be0a
2020-05-15 11:05:15 +00:00
Dmitry Batkovich aa3b901af2 index: make IdIndex & HashFragmentIndexer less snapshot hash collision prone
GitOrigin-RevId: d46271db4b8e36079c0036c3767da400e05d3c4f
2020-05-15 11:02:56 +00:00
Alexander Doroshko 929b0210dc IDEA-238382 The button in 'Store as project file' dialog not fully visible
GitOrigin-RevId: a2672f2d8771635dcc81d52aead4001ff15af86f
2020-05-15 10:53:32 +00:00
Tagir Valeev 103a0c382b TrackingRunner: prefer reporting exact place where relation was established (IDEA-238060)
GitOrigin-RevId: 2f476f1ab1ed75530cb21597d199e86c49703b10
2020-05-15 09:43:28 +00:00
Tagir Valeev 5398b343e8 ImplicitDefaultCharsetUsageInspection: support org.apache.commons.io.IOUtils (IDEA-240870)
GitOrigin-RevId: 753b98a9e7ba715281d420508dd60560b97f0a7b
2020-05-15 09:03:53 +00:00
Anna Kozlova 2bc23faf05 java: redundant cast: preserve exact types for functional expressions
otherwise we may loose serialization or miss compilation errors in lambda body

GitOrigin-RevId: 180e0ee713a19c42abecf1228616bbd6754ea3b8
2020-05-15 08:33:44 +00:00
Anna Kozlova a9c09d9c09 java: redundant cast: strict check that cast in conditional branches doesn't influence top level inference
GitOrigin-RevId: e39ec399657f0f794628ef04e4fc8a308328002b
2020-05-15 08:33:44 +00:00
Anna Kozlova 69fd0eb52d java: redundant cast: ensure type parameters are checked on recapture
otherwise parameters bounds may be ignored

GitOrigin-RevId: b24ef6c11614b2f1cee316734ce8ed99b99b9ccd
2020-05-15 08:33:43 +00:00
Anna Kozlova bfedfdd9cc local inspections: fix logging
GitOrigin-RevId: 505dce9b2cfe975b731a2a58866e08e4ab64ddd5
2020-05-15 08:33:42 +00:00
Tagir Valeev 72202491fc Fix warnings in tests
GitOrigin-RevId: c7584d918b58cda8fa6bd9045587a5d65f3be296
2020-05-15 08:32:38 +00:00
Alexandr Evstigneev 0c3a89c872 IDEA-240930 do not highlight both brace pairs in )( <caret> case
GitOrigin-RevId: 57bcf3f1286e127538fffe7729c4a45ac0695322
2020-05-15 08:19:55 +00:00
Alexandr Evstigneev 7c21ba4b61 IDEA-240930 do not highlight both brace pairs in )<caret>( case with block caret
GitOrigin-RevId: 28d7496281fc6ce94764ccf05780c7a08e25ae8c
2020-05-15 08:19:54 +00:00
Tagir Valeev 9fdc7a0e90 NewObjectEqualityInspection: do not warn when primitive is compared with boxed (IDEA-240684)
GitOrigin-RevId: 03beafceb4ebd19b5e7735acdb80072f5dc9150a
2020-05-15 08:14:11 +00:00
Dmitry Avdeev 2ee384a19e IDEA-236390 Implement new UI for editing run configuration settings
using DropDownLink

GitOrigin-RevId: ffa7545e42665e25f5aea466c0eb1251f9255208
2020-05-15 08:08:17 +00:00
Tagir Valeev 0be35fa1bf Unused methods removed
GitOrigin-RevId: 820c6726347c8fd73b6bd947426ce9bf6d5921da
2020-05-15 08:01:46 +00:00
Roman.Ivanov fc67d09ac9 WrapperTypeMayBePrimitive: fix typos in description, move to performance section
GitOrigin-RevId: 4546736dfdc856aaed7092f1e42eacfbb8bb23a7
2020-05-15 07:43:44 +00:00
Tagir Valeev e19d60683f Avoid instance-qualified static member accesses
GitOrigin-RevId: d69a963a9e2769f9d3b4e10b1258813e662de803
2020-05-15 07:39:10 +00:00
Alexandr Evstigneev e986bf3265 IDEA-240930 refactored braces highlighting tests to be more friendly
GitOrigin-RevId: d7d758b0c574aef1918591931ace1fa2239eb1fa
2020-05-15 07:34:19 +00:00
Tagir Valeev e3c6c152b4 Fixed/suppressed Redundant operation on empty container
GitOrigin-RevId: 980b529eec38958ba03a7d32f751c9dfb8714766
2020-05-15 06:58:22 +00:00
Tagir Valeev 3eaf4e3fda RedundantOperationOnEmptyContainer: probably bugs group
GitOrigin-RevId: 70b5bfb7ac6b4d44699df8e7faf8f76fce25dc30
2020-05-15 06:52:24 +00:00
Tagir Valeev 27b724aef3 Dataflow to here: better filter presentation
GitOrigin-RevId: f44d19a0c847c7f6c13e438e5f33b8626eaaaab7
2020-05-15 06:47:19 +00:00
Tagir Valeev 7b3ce3097a IDEA-240402 Dataflow to here: narrow filters during the dataflow
GitOrigin-RevId: 3fb73062b31ec664aebe8bfe167726d421752cb2
2020-05-15 06:47:18 +00:00
Tagir Valeev d45584f07e MathUtil.clamp
GitOrigin-RevId: e6fe40119a48cafddc4023e07aef6932cb619b9a
2020-05-15 04:43:50 +00:00
Tagir Valeev 9afbfe0e40 Use Math.min/max
GitOrigin-RevId: 4fafd6b7ef8fd2e8ac99b6e0c8af2d092ded2526
2020-05-15 03:28:28 +00:00
Eugene Petrenko b9e49d258a shared-indexes: added maven command to for libraries indexing (experimental)
GitOrigin-RevId: 51246d6ae6f5c5126c4936a018d2ade4539c0281
2020-05-15 03:18:10 +00:00
Sergey Malenkov f53dbf0532 Fix popup place of action group on toolbar for Problems View (IDEA-238791)
GitOrigin-RevId: 7f86b52c40c937b84fef20a30ee2188488236ed5
2020-05-15 00:08:26 +00:00
Dmitriy.Panov cdd49ab8ee use cache-redirector for bintray
GitOrigin-RevId: 07fcabd3da44a9c35a54dad93b037b6ab089e7d2
2020-05-14 23:02:02 +00:00
Sergey Malenkov 3d8ff828b6 IDEA-238791: fix navigation to preview
GitOrigin-RevId: bc3c6be8dfb9847a976cc8d56bc582fc4e50e296
2020-05-14 22:58:35 +00:00
Sergey Malenkov fd94a2e0ff IDEA-238791: rearrange nodes
GitOrigin-RevId: 00534e2c70577a2b74de01de7ecb500abad2e600
2020-05-14 22:45:01 +00:00
Nikita Eshkeev 0218cec2c9 [codeInsight] IDEA-240288 Inspection for StringBuilder.toString().substring()
This patch removes the detection of redundant calls to `StringBuilder#toString` from the `RedundantStringOperationInspection` since there is a more general inspection called `UnnecessaryToStringCallInspection` which handles all the redundant `Object#toString` calls. All the related tests were moved to the test data of `UnnecessaryToStringCallInspectionTest`

Signed-off-by: Nikita Eshkeev <nikita.eshkeev@jetbrains.com>

GitOrigin-RevId: 1fe7723fa4369b797120c5bbc6a6b24947c84a94
2020-05-14 22:04:54 +00:00
Konstantin Bulenkov e84c4191d6 left offset for trees
GitOrigin-RevId: 92509bf941fb8f19beb0fda905ddb877cb347688
2020-05-14 21:58:47 +00:00
Julia Beliaeva 316d03b635 [vcs-log] correctly close log editor tabs on dispose
* Do not attempt to close editor tabs that do not have logs in them.
* Close editor tab if it has at least one log from the specified list (even if it has some other logs).
* Track which tabs were closed.

follow-up: ab7add6a9a72ddd616185a826d921ab74cbe25e8

GitOrigin-RevId: 64ea8bc36cfe4f973be4d441cd4a94e43f2eb453
2020-05-14 21:25:01 +00:00
Julia Beliaeva c26f6440b8 [vcs-log] actually dispose log uis in beforeEditorClose
follow-up: ab7add6a9a72ddd616185a826d921ab74cbe25e8

GitOrigin-RevId: e8e871044f7eb352fc409a08493f94edb3d6df20
2020-05-14 21:24:16 +00:00
Julia Beliaeva f4f4efce92 [vcs-log] only provide tab titles for the VcsLogFile instances
For other files getEditorTabTitle should return null to enable processing by other providers.

follow-up: ab7add6a9a72ddd616185a826d921ab74cbe25e8

GitOrigin-RevId: cfbb4a1d5ace276effaa7c48f2e7e099f8e61f86
2020-05-14 21:24:16 +00:00
Sergei Vorobyov 7e46431d30 IDEA-240215 added choosing of gradle wrapper version by project JDK
GitOrigin-RevId: 002b98763e2a86b369c32f96b040dfa7a272bf5d
2020-05-14 21:17:32 +00:00
Sergei Vorobyov 87de06c007 IDEA-238573 added force using of project sdk for new gradle projects.
GitOrigin-RevId: e1c2a6ed96a3fea2d38e316a2bd30697fd91436b
2020-05-14 21:17:32 +00:00
alexey.afanasiev 09cf741a06 Add gradle import logging for headless mode
GitOrigin-RevId: be9d566c5ae3e8acb3f6d4f98baf8675f6400c99
2020-05-14 20:41:23 +00:00
Evgeniy.Stepanov f9b0edafd1 Separate logic to determine if current open project actions corresponds to a project, see RIDER-39741
GitOrigin-RevId: 220f9012988bfa8cd73b571407f9db82664fba64
2020-05-14 20:33:40 +00:00
Evgeniy.Stepanov cb52012217 Do not show internal modules in documentation popup, see RIDER-39200 for more details
GitOrigin-RevId: a638379b175f9009cd6c0cc696183997baaedac6
2020-05-14 20:16:33 +00:00
Roman Shevchenko c5ba307af9 [ui] capitalization in SystemHealthMonitor
GitOrigin-RevId: a07fa4799839fe57c28946b560290bcd0d866971
2020-05-14 20:00:32 +00:00
Roman Shevchenko c1826aebc8 [ui] queueing early notifications (IDEA-240459)
GitOrigin-RevId: e5643ab1a7f479291d98f35d799869647fad1552
2020-05-14 19:51:36 +00:00
Anna Kozlova dc86b53928 resource bundles: clear document history if editor provider is unloaded (IDEA-240659)
IDEA-CR-62584: fix current index to myChangePlaces

GitOrigin-RevId: 1e3528be9040085173b8eedb21b29f1140856786
2020-05-14 19:14:55 +00:00
Anton Tarasov 3a2ce802e5 IDEA-240913 [jcef] ExceptionInInitializerError when opening md file with non-default jdk
GitOrigin-RevId: 70e38f175faa08bb10382870a325b6b2cb9d381c
2020-05-14 19:12:37 +00:00