Commit Graph
196999 Commits
Author SHA1 Message Date
Tagir Valeev fb6965b6b9 ExtractSideEffectsFix -> DeleteSideEffectsAwareFix; i18n
Now intention availability logic is moved from HighlightUtil to DeleteSideEffectsAwareFix
Review: IDEA-CR-21623
2017-06-08 12:15:20 +07:00
Tagir Valeev 4596de53f6 ComparatorResultComparisonInspection: joda -> yoda (typo) 2017-06-08 10:26:54 +07:00
Tagir Valeev a5dcf8841f ComparatorResultComparisonInspection: support >/>=/</<= checks
Additional fix for IDEA-173177. Now conditions like "a.compareTo(b) > 1" are warned as well.
2017-06-08 10:14:34 +07:00
Sergey Malenkov 6643c4a636 IDEA-173655 Poor text wrapping in the inspections Options 2017-06-07 22:42:48 +03:00
Alexander Doroshko b2c4eac1c4 row height adjusted 2017-06-07 22:30:43 +03:00
peter 36d36dc1b7 somewhat faster ImmutableText#charAt (IDEA-172756) 2017-06-07 20:42:08 +02:00
peter 03bd345d8a fix CreateSubclassTest 2017-06-07 20:42:07 +02:00
nik cfa92fefbd 'Load/Unload Modules' action cosmetics
Hide action for single-module projects, focus unloaded modules tree and select proper node if invoked on a content root of unloaded module.
2017-06-07 20:08:53 +02:00
Gregory.Shrago a99bd41d63 treat concurrent maps with cacheOrGet 2017-06-07 20:57:00 +03:00
nik 6aab284c25 Project View: show special icon for content root of unloaded modules (IDEA-27471) 2017-06-07 19:31:29 +02:00
Aleksey Pivovarov 82c4442264 ui: JBPopup.showInCenterOf should honor predefined size 2017-06-07 20:09:27 +03:00
Aleksey Pivovarov a29439eefd ui: collect JComboBox items for searchable options in UI Traverser 2017-06-07 20:03:01 +03:00
Aleksey Pivovarov de56f076c9 ui: extract method 2017-06-07 20:03:01 +03:00
Valentina Kiryushkina 00d44b070b PY-24610 Exception because of Invalid TextRange in format string: use PyStringLiteralExpression#getText() instead of PyStringLiteralExpression#getStringValue() 2017-06-07 19:58:25 +03:00
nik 45829836d6 'Project Structure' dialog: corrected presentation of 'excluded patterns' field (IDEA-CR-21397) 2017-06-07 18:26:40 +02:00
Konstantin Bulenkov 9f181c511d regenerate Task Core icons 2017-06-07 18:14:47 +02:00
Konstantin Bulenkov 4493d000c5 add unloadedModule icons 2017-06-07 18:13:01 +02:00
Anna Kozlova 3e7e52a4df inline to anonymous: convert to lambda when applicable (IDEA-173821) 2017-06-07 19:04:05 +03:00
Anna Kozlova 101ae53c3b introduce functional: convert to lambda when applicable (IDEA-174018) 2017-06-07 19:04:04 +03:00
Anna Kozlova d65ff6ad81 introduce functional: combine extract method & introduce
IDEA-174011; IDEA-174021
2017-06-07 19:04:04 +03:00
Anna Kozlova cb1e34fe92 suggest SAM with same primitive return type (IDEA-174020) 2017-06-07 19:04:04 +03:00
Vassiliy.Kudryashov a3beaf3620 Find in Editor: replace 'Literals' with 'String Literals' in search scopes. 2017-06-07 18:58:11 +03:00
Ilya.Kazakevich e278331f6a PY-24423: Defer django import to prevent AppNotReady exception
Can't touch any Django code before django.setup() finished
2017-06-07 18:51:15 +03:00
Elizaveta Shashkova 45f2f8e843 Add ability to wait for result while executing commands in debugger (PY-23834) 2017-06-07 18:50:35 +03:00
Valentina Kiryushkina ba7097379a EDU-971 Fix NPE: do not try to get task text if we're not in tool window mode 2017-06-07 18:47:39 +03:00
Aleksey Pivovarov d9feab7bbb IDEA-173150 vcs: fix default selection in "Show history for selection"
* do not show "initial commit" until everything is loaded
2017-06-07 18:39:56 +03:00
Julia Beliaeva a67e3936d0 [vcs-log] remove unused field 2017-06-07 18:33:55 +03:00
nik b78e2fe96f 'Load/Unload Modules' dialog: suggest to load/unload dependencies to avoid compilation errors
If a loaded module depends on an unloaded module it may lead to compilation problems, so the dialog suggests to unloaded all dependent modules when a module is unloaded and load all dependencies when a module is loaded. (IDEA-27471)
2017-06-07 17:12:54 +02:00
Kirill Likhodedov 3e7061f618 Fix file count in Update Project notification if filter is on
If the filter is initially on, the tree is built only with the filtered items, therefore the total number of updated files is counted incorrectly.

To count the total number, don't traverse the tree, but go through the updated files directly.

Broken in 4116cc3
IDEA-172015
2017-06-07 18:04:52 +03:00
Kirill Likhodedov a0e53a68ea Make the Update Project notification more compact
Display the total number of files in the notification title,
display the number of files under the scope in the content.
title + 1 content line make the whole notification text visible without expanding.

Follow-up to 4116cc3
IDEA-172015
2017-06-07 18:04:52 +03:00
Julia Beliaeva f1a716c596 [vcs-log] remove old storage files cleanup
Storage files layout was changed in 91c7d97f09. Some code was left to clean up storage in old layout, but enough time has passed to remove it.
2017-06-07 17:42:30 +03:00
peter b9b4498af6 make CustomFileTypeLexerTest compiled statically 2017-06-07 16:29:08 +02:00
peter 87c0637b3e when PIEAE happens while constructing PIEAE, try to get invalidation trace from file 2017-06-07 16:29:08 +02:00
Vladimir Krivosheev 9dc2f75995 fix CCE 2017-06-07 16:23:26 +02:00
Vladimir Krivosheev b5c445d7c8 cleanup (unused imports, format) 2017-06-07 15:25:48 +02:00
Vladimir Krivosheev 299bc04a53 handle "host is unresolved" error to prevent NPE in the JDK code 2017-06-07 14:44:36 +02:00
Aleksey Pivovarov faaeaf4ec2 IDEA-174009 diff: disable "Duplocator" warnings in "Syntax only" mode 2017-06-07 14:56:29 +03:00
peter dfeac8a091 let applet run config be available in dumb mode, possibly failing at runtime (EA-102050 - INRE: FileBasedIndexImpl.handleDumbMode) 2017-06-07 13:35:28 +02:00
peter b8588d2006 prefer local variables over NULL_PSI_ELEMENT in smart completion 2017-06-07 13:35:28 +02:00
Maxim.Mossienko d937be6504 load intention action descriptions in one thread 2017-06-07 13:21:24 +02:00
Alexey Kudravtsev f524176973 compilation fixed 2017-06-07 13:55:28 +03:00
Vladimir Krivosheev c5b3f11d2d move DebuggableProgramRunner to debugger-ui 2017-06-07 12:38:33 +02:00
Alexey Kudravtsev 8b85060192 create editor with the correct project 2017-06-07 13:34:53 +03:00
Dana Dahlstrom 299ad1ce27 detect and ignore idle ForkJoin common pool thread 2017-06-07 13:26:25 +03:00
Alexey Kudravtsev c9773ffcd1 VFS: add/delete many children in the same directory must not be quadratic 2017-06-07 13:02:41 +03:00
Alexey Kudravtsev e5eca56a78 name performance activity as a noun to make messages look more natural 2017-06-07 12:40:25 +03:00
Alexey Kudravtsev 43271cc9b9 removed console spam 2017-06-07 12:40:25 +03:00
Alexey Kudravtsev 4f78eb6ff0 memory: intern stored exceptions 2017-06-07 12:40:25 +03:00
Alexey Kudravtsev de06f2616a memory: intern all PsiJavaTokens 2017-06-07 12:40:24 +03:00
Alexey Kudravtsev 49d01b31f7 do not thrash with logs in performance tests 2017-06-07 12:40:24 +03:00