idea/community.git
5 years agoPY-20805 PY-8219 Detect usages of local variables inside f-strings
Mikhail Golubev [Fri, 30 Sep 2016 15:08:58 +0000 (18:08 +0300)]
PY-20805 PY-8219 Detect usages of local variables inside f-strings

Additionally, as a positive side-effect, "Unused local" inspection
no longer warns about function parameters that appear in doctests now.

5 years agoPY-18972 Add tests on f-strings in unresolved references and optimize imports
Mikhail Golubev [Fri, 30 Sep 2016 12:06:33 +0000 (15:06 +0300)]
PY-18972 Add tests on f-strings in unresolved references and optimize imports

5 years agoPY-20921 PyStringLiteralLexer skips string prefixes consistently with Python lexer
Mikhail Golubev [Thu, 29 Sep 2016 16:19:41 +0000 (19:19 +0300)]
PY-20921 PyStringLiteralLexer skips string prefixes consistently with Python lexer

Common logic for skipping string prefixes was moved to PythonStringUtil
and reused in various classes that implemented it by their own before.

5 years agouse center alignment for plugin categories
Valentin Fondaratov [Wed, 5 Oct 2016 10:29:09 +0000 (13:29 +0300)]
use center alignment for plugin categories

This improves visuals for multiline category names

5 years agoEA-84948 - IAE: ExternalSystemTaskActivator.isTaskOfPhase
Vladislav.Soroka [Wed, 5 Oct 2016 12:18:56 +0000 (15:18 +0300)]
EA-84948 - IAE: ExternalSystemTaskActivator.isTaskOfPhase

5 years agoIDEA-161289 provide similar processing of remove/replace-all attributes for keyboard... appcode/163.5764 clion/163.5763
Sergey Malenkov [Wed, 5 Oct 2016 10:45:48 +0000 (13:45 +0300)]
IDEA-161289 provide similar processing of remove/replace-all attributes for keyboard and mouse shortcuts

5 years agoIDEA-162062 Move Statement: Scope of shifted block changes
Dmitry Batrak [Wed, 5 Oct 2016 11:49:07 +0000 (14:49 +0300)]
IDEA-162062 Move Statement: Scope of shifted block changes

5 years agofold as closures anonymous classes with a single implemented method, as long they... phpstorm/163.5757
peter [Wed, 5 Oct 2016 10:41:18 +0000 (12:41 +0200)]
fold as closures anonymous classes with a single implemented method, as long they're not convertible to lambdas

5 years agoextract java closure folding into a separate class with smaller methods
peter [Wed, 5 Oct 2016 09:53:11 +0000 (11:53 +0200)]
extract java closure folding into a separate class with smaller methods

5 years agoIDEA-CR-14231 iteratorRefs -> findOnlyIteratorRef
Tagir Valeev [Wed, 5 Oct 2016 10:40:35 +0000 (17:40 +0700)]
IDEA-CR-14231 iteratorRefs -> findOnlyIteratorRef

5 years agonew version control icon
Konstantin Bulenkov [Wed, 5 Oct 2016 10:10:47 +0000 (12:10 +0200)]
new version control icon

5 years agouse PsiEquivalenceUtil instead of EquivalenceChecker (IDEA-CR-14170)
Tagir Valeev [Wed, 5 Oct 2016 10:01:09 +0000 (17:01 +0700)]
use PsiEquivalenceUtil instead of EquivalenceChecker (IDEA-CR-14170)

5 years agoUpgrade Snappy library with custom fix for freeze on decompression on invalid bytes...
Maxim.Mossienko [Wed, 5 Oct 2016 09:50:12 +0000 (11:50 +0200)]
Upgrade Snappy library with custom fix for freeze on decompression on invalid bytes (IDEA-161935)

5 years agoallow inlays to define their own context menu
Dmitry Batrak [Wed, 5 Oct 2016 09:50:57 +0000 (12:50 +0300)]
allow inlays to define their own context menu

5 years agointroduce <undefined> number of tests as total when tests are repeated unlimited...
Anna.Kozlova [Wed, 5 Oct 2016 09:42:53 +0000 (11:42 +0200)]
introduce <undefined> number of tests as total when tests are repeated unlimited number of times (IDEA-161952)

5 years agomove StreamApiMigrationInspection to java-impl module (IDEA-CR-14170); revert changes...
Tagir Valeev [Wed, 5 Oct 2016 09:33:05 +0000 (16:33 +0700)]
move StreamApiMigrationInspection to java-impl module (IDEA-CR-14170); revert changes in ExpressionUtils.java and RefactoringUtil.java

5 years ago[platform] correct paths for "Reveal File" action on Windows (IDEA-162103)
Roman Shevchenko [Wed, 5 Oct 2016 09:31:54 +0000 (11:31 +0200)]
[platform] correct paths for "Reveal File" action on Windows (IDEA-162103)

5 years agoIDEA-162025 Unexpected focus-effect painting in ComboBox with custom JPanel-based...
Denis Fokin [Wed, 5 Oct 2016 09:19:40 +0000 (12:19 +0300)]
IDEA-162025 Unexpected focus-effect painting in ComboBox with custom JPanel-based editor

5 years agoIDEA-CR-14198 displayNames and descriptions updated
Tagir Valeev [Wed, 5 Oct 2016 09:10:17 +0000 (16:10 +0700)]
IDEA-CR-14198 displayNames and descriptions updated

5 years agoproject model: allow including a directory located under an excluded root as a separa...
nik [Wed, 5 Oct 2016 09:07:00 +0000 (12:07 +0300)]
project model: allow including a directory located under an excluded root as a separate content root (IDEA-162102)

5 years agoIDEA-162025 Unexpected focus-effect painting in ComboBox with custom JPanel-based...
Denis Fokin [Wed, 5 Oct 2016 09:01:38 +0000 (12:01 +0300)]
IDEA-162025 Unexpected focus-effect painting in ComboBox with custom JPanel-based editor

5 years agoEA-88265 - NPE: MavenProjectsManager.getProjects appcode/163.5751 clion/163.5750
Vladislav.Soroka [Wed, 5 Oct 2016 08:43:03 +0000 (11:43 +0300)]
EA-88265 - NPE: MavenProjectsManager.getProjects

5 years agoMerge remote-tracking branch 'origin/liana/PY-20932'
Liana.Bakradze [Wed, 5 Oct 2016 08:40:17 +0000 (11:40 +0300)]
Merge remote-tracking branch 'origin/liana/PY-20932'

5 years agoforbid PsiExpressionStatement as functional expression context; prefer not a statemen...
Anna.Kozlova [Wed, 5 Oct 2016 08:29:22 +0000 (10:29 +0200)]
forbid PsiExpressionStatement as functional expression context; prefer not a statement error in highlighting

5 years agofix testdata
Anna.Kozlova [Wed, 5 Oct 2016 08:07:26 +0000 (10:07 +0200)]
fix testdata

5 years agoforked mode: support until failure/until stopped (IDEA-158808)
Anna.Kozlova [Tue, 4 Oct 2016 17:19:20 +0000 (19:19 +0200)]
forked mode: support until failure/until stopped (IDEA-158808)

5 years agorefactoring: extract XDebuggerInlayUtil (following IDEA-CR-14187)
Dmitry Batrak [Wed, 5 Oct 2016 08:22:57 +0000 (11:22 +0300)]
refactoring: extract XDebuggerInlayUtil (following IDEA-CR-14187)

5 years agoIDEA-161259 follow-up: support scenarios when iterator.next() call is inlined into...
Tagir Valeev [Wed, 5 Oct 2016 08:23:51 +0000 (15:23 +0700)]
IDEA-161259 follow-up: support scenarios when iterator.next() call is inlined into condition

5 years agouse map instead of list comprehension (IDEA-CR-14211)
Liana.Bakradze [Wed, 5 Oct 2016 08:24:53 +0000 (11:24 +0300)]
use map instead of list comprehension (IDEA-CR-14211)

5 years agoEA-89353 - NPE: MavenProjectsTree.doResolve
Vladislav.Soroka [Wed, 5 Oct 2016 08:09:20 +0000 (11:09 +0300)]
EA-89353 - NPE: MavenProjectsTree.doResolve

5 years agoDisable Java 8 migration inspections in IDEA projects
Tagir Valeev [Wed, 5 Oct 2016 08:00:47 +0000 (15:00 +0700)]
Disable Java 8 migration inspections in IDEA projects

5 years agoEA-84948 - IAE: ExternalSystemTaskActivator.isTaskOfPhase
Vladislav.Soroka [Wed, 5 Oct 2016 07:44:47 +0000 (10:44 +0300)]
EA-84948 - IAE: ExternalSystemTaskActivator.isTaskOfPhase

5 years agomaven: npe fix
Vladislav.Soroka [Wed, 5 Oct 2016 07:27:11 +0000 (10:27 +0300)]
maven: npe fix

5 years agomaven: code cleanup
Vladislav.Soroka [Wed, 5 Oct 2016 07:26:28 +0000 (10:26 +0300)]
maven: code cleanup

5 years agofix cast introduction in LambdaCanBeMethodReferenceInspection#replaceLambdaWithMethod...
Tagir Valeev [Wed, 5 Oct 2016 05:23:10 +0000 (12:23 +0700)]
fix cast introduction in LambdaCanBeMethodReferenceInspection#replaceLambdaWithMethodReference

5 years ago[Parameter Hints Manager] use syntax traverser appcode/163.5714 appcode/163.5717 appcode/163.5725 clion/163.5724 dbe/163.5723 idea/163.5726 phpstorm/163.5727 pycharm/163.5728 pycharm/163.5729 rubymine/163.5722 webstorm/163.5739
Yaroslav Lepenkin [Tue, 4 Oct 2016 14:59:43 +0000 (17:59 +0300)]
[Parameter Hints Manager] use syntax traverser

5 years agoinspection settings: change set as global to copy as global appcode/163.5705 pycharm/163.5706
Dmitry Batkovich [Tue, 4 Oct 2016 18:51:58 +0000 (21:51 +0300)]
inspection settings: change set as global to copy as global

5 years ago[platform] more "Reveal File" action logging appcode/163.5697
Roman Shevchenko [Tue, 4 Oct 2016 17:21:12 +0000 (19:21 +0200)]
[platform] more "Reveal File" action logging

5 years agoMerge remote-tracking branch 'origin/master' dbe/163.5694
Roman Shevchenko [Tue, 4 Oct 2016 17:07:14 +0000 (19:07 +0200)]
Merge remote-tracking branch 'origin/master'

5 years ago[platform] more reliable way to reveal a file in Finder (IDEA-161700)
Roman Shevchenko [Tue, 4 Oct 2016 17:06:48 +0000 (19:06 +0200)]
[platform] more reliable way to reveal a file in Finder (IDEA-161700)

5 years agoCleanup (formatting)
Roman Shevchenko [Tue, 4 Oct 2016 16:57:00 +0000 (18:57 +0200)]
Cleanup (formatting)

5 years agocleanup & use java 8
Egor.Ushakov [Tue, 4 Oct 2016 17:02:20 +0000 (20:02 +0300)]
cleanup & use java 8

5 years ago[vcs-log] minor: inline refreshCompletely
Julia Beliaeva [Tue, 4 Oct 2016 16:45:27 +0000 (19:45 +0300)]
[vcs-log] minor: inline refreshCompletely

5 years agoinline: ensure to insert valid specification (IDEA-161992)
Anna.Kozlova [Tue, 4 Oct 2016 16:43:35 +0000 (18:43 +0200)]
inline: ensure to insert valid specification (IDEA-161992)

5 years agoredundant cast: mark raw cast as redundant when raw is expected (IDEA-162022)
Anna.Kozlova [Tue, 4 Oct 2016 15:44:47 +0000 (17:44 +0200)]
redundant cast: mark raw cast as redundant when raw is expected (IDEA-162022)

5 years agoredundant cast: convert tests to light
Anna.Kozlova [Tue, 4 Oct 2016 15:40:26 +0000 (17:40 +0200)]
redundant cast: convert tests to light

5 years agoredundant cast: don't highlight conditional with functional branches (IDEA-161971)
Anna.Kozlova [Tue, 4 Oct 2016 15:22:39 +0000 (17:22 +0200)]
redundant cast: don't highlight conditional with functional branches (IDEA-161971)

5 years agoallow functional interfaces in conditionals inside assignment or invocation contexts...
Anna.Kozlova [Tue, 4 Oct 2016 14:17:10 +0000 (16:17 +0200)]
allow functional interfaces in conditionals inside assignment or invocation contexts only

5 years agogenerate toString: check read-only status (IDEA-162005)
Anna.Kozlova [Tue, 4 Oct 2016 13:13:48 +0000 (15:13 +0200)]
generate toString: check read-only status (IDEA-162005)

5 years ago[vcs-log] check if saved values are valid when required, log warning and return null...
Julia Beliaeva [Mon, 3 Oct 2016 15:02:39 +0000 (18:02 +0300)]
[vcs-log] check if saved values are valid when required, log warning and return null if they do not

5 years ago[vcs-log] remove duplication between MultipleValueFilterPopupComponent and FilterModel
Julia Beliaeva [Wed, 28 Sep 2016 16:56:37 +0000 (19:56 +0300)]
[vcs-log] remove duplication between MultipleValueFilterPopupComponent and FilterModel

5 years ago[vcs-log] save and restore filters
Julia Beliaeva [Tue, 20 Sep 2016 20:23:18 +0000 (23:23 +0300)]
[vcs-log] save and restore filters

5 years agomerge: enable "Resolve Conflict" gutter action
Aleksey Pivovarov [Tue, 4 Oct 2016 16:03:48 +0000 (19:03 +0300)]
merge: enable "Resolve Conflict" gutter action

5 years agomerge: add icon for "Resolve Conflict" gutter action
Aleksey Pivovarov [Tue, 4 Oct 2016 16:02:45 +0000 (19:02 +0300)]
merge: add icon for "Resolve Conflict" gutter action

5 years ago[vcs-log] refresh action does soft refresh
Julia Beliaeva [Mon, 3 Oct 2016 21:30:46 +0000 (00:30 +0300)]
[vcs-log] refresh action does soft refresh

5 years agorun icons.gant
Aleksey Pivovarov [Tue, 4 Oct 2016 15:54:57 +0000 (18:54 +0300)]
run icons.gant

5 years agoeditor drag&drop should be a user activity (EA-88936 - assert: PsiModificationTracker... dbe/163.5690
peter [Tue, 4 Oct 2016 15:40:09 +0000 (17:40 +0200)]
editor drag&drop should be a user activity (EA-88936 - assert: PsiModificationTrackerImpl.fireEvent)

"exportDone" is called from some undocumented PeerEvent which might not always mean user activity, so handle this in the client

5 years agodebugger force early return: show dialog in write-safe context (EA-89314 - assert...
peter [Tue, 4 Oct 2016 13:54:02 +0000 (15:54 +0200)]
debugger force early return: show dialog in write-safe context (EA-89314 - assert: PsiDocumentManagerBase.commitAllDocuments)

5 years agoIDEA-115600 diff: support advanced highlighting in contents created from String
Aleksey Pivovarov [Tue, 4 Oct 2016 14:46:14 +0000 (17:46 +0300)]
IDEA-115600  diff: support advanced highlighting in contents created from String

follow-up: 77fc58d05

5 years agodiff: move logic from FileAwareDocumentContent to DiffContentFactory
Aleksey Pivovarov [Tue, 4 Oct 2016 14:40:16 +0000 (17:40 +0300)]
diff: move logic from FileAwareDocumentContent to DiffContentFactory

5 years agodiff: do not access FileAwareDocumentContent directly
Aleksey Pivovarov [Mon, 3 Oct 2016 15:48:36 +0000 (18:48 +0300)]
diff: do not access FileAwareDocumentContent directly

5 years agodiff: cleanup - use consistent parameter order
Aleksey Pivovarov [Tue, 4 Oct 2016 14:33:44 +0000 (17:33 +0300)]
diff: cleanup - use consistent parameter order

5 years agodiff: remove unused parameter
Aleksey Pivovarov [Mon, 3 Oct 2016 14:23:52 +0000 (17:23 +0300)]
diff: remove unused parameter

5 years agodiff: pass Project to DiffContentFactory methods
Aleksey Pivovarov [Mon, 3 Oct 2016 13:24:51 +0000 (16:24 +0300)]
diff: pass Project to DiffContentFactory methods

5 years agodiff: cleanup
Aleksey Pivovarov [Mon, 3 Oct 2016 13:14:07 +0000 (16:14 +0300)]
diff: cleanup

5 years agodiff: do not access service implementation directly
Aleksey Pivovarov [Mon, 3 Oct 2016 13:09:23 +0000 (16:09 +0300)]
diff: do not access service implementation directly

5 years agodiff: cleanup
Aleksey Pivovarov [Mon, 3 Oct 2016 13:02:21 +0000 (16:02 +0300)]
diff: cleanup

5 years agocleanup, use lambdas, revert DumbAwareRunnable
Sergey Ignatov [Tue, 4 Oct 2016 15:36:30 +0000 (18:36 +0300)]
cleanup, use lambdas, revert DumbAwareRunnable

5 years agoCleanup (minor optimization; formatting)
Roman Shevchenko [Tue, 4 Oct 2016 15:34:58 +0000 (17:34 +0200)]
Cleanup (minor optimization; formatting)

5 years agoupdate "X of Y tests" label if expected total test count is unspecified (https:/...
Sergey Simonchik [Tue, 4 Oct 2016 15:13:03 +0000 (18:13 +0300)]
update "X of Y tests" label if expected total test count is unspecified (https://jbs.zendesk.com/agent/tickets/776994)

5 years agoMerge remote-tracking branch 'origin/master' appcode/163.5686 clion/163.5685
Roman Shevchenko [Tue, 4 Oct 2016 14:34:59 +0000 (16:34 +0200)]
Merge remote-tracking branch 'origin/master'

5 years agoCleanup (minor optimization)
Roman Shevchenko [Tue, 4 Oct 2016 14:33:37 +0000 (16:33 +0200)]
Cleanup (minor optimization)

5 years agoWEB-23553 File Watcher Macros Ignore System Directory Delimiter
Alexander Doroshko [Tue, 4 Oct 2016 14:27:15 +0000 (17:27 +0300)]
WEB-23553 File Watcher Macros Ignore System Directory Delimiter

5 years agoIDEA-161418 Missing example of "Inline parameters hint" in color scheme settings
Dmitry Batrak [Tue, 4 Oct 2016 14:20:16 +0000 (17:20 +0300)]
IDEA-161418 Missing example of "Inline parameters hint" in color scheme settings

complete moving ParameterHintsPresentationManager from java-impl to lang-impl (fix for IDEs other than IDEA)

5 years ago[platform] "Reveal File" action logging
Roman Shevchenko [Tue, 4 Oct 2016 14:19:28 +0000 (16:19 +0200)]
[platform] "Reveal File" action logging

5 years agoMerge remote-tracking branch 'origin/master'
Konstantin Bulenkov [Tue, 4 Oct 2016 14:13:58 +0000 (16:13 +0200)]
Merge remote-tracking branch 'origin/master'

5 years agoCleanup (non-common code moved out; formatting)
Roman Shevchenko [Tue, 4 Oct 2016 14:06:08 +0000 (16:06 +0200)]
Cleanup (non-common code moved out; formatting)

5 years agoimage plugin: make better thumbnail bg for Darcula
Konstantin Bulenkov [Tue, 4 Oct 2016 14:10:39 +0000 (16:10 +0200)]
image plugin: make better thumbnail bg for Darcula

5 years ago[patch]: re-ignore empty patch test
Nadya Zabrodina [Tue, 4 Oct 2016 13:54:36 +0000 (16:54 +0300)]
[patch]: re-ignore empty patch test

5 years agojava: expression context for array.stream postfix template IDEA-157975
Andrey Starovoyt [Tue, 4 Oct 2016 13:52:20 +0000 (16:52 +0300)]
java: expression context for array.stream postfix template IDEA-157975

5 years agoIDEA-161968 Multiselection cursor location is unexpected
Dmitry Batrak [Tue, 4 Oct 2016 13:24:52 +0000 (16:24 +0300)]
IDEA-161968 Multiselection cursor location is unexpected

5 years agoIDEA-157763 Settings repository for IDE: plugin support
Alexander Lobas [Tue, 4 Oct 2016 13:18:03 +0000 (16:18 +0300)]
IDEA-157763 Settings repository for IDE: plugin support

5 years agoIDEA-162025 Unexpected focus-effect painting in ComboBox with custom JPanel-based...
Denis Fokin [Tue, 4 Oct 2016 13:21:22 +0000 (16:21 +0300)]
IDEA-162025 Unexpected focus-effect painting in ComboBox with custom JPanel-based editor

5 years agoEA-87122
Denis Fokin [Tue, 4 Oct 2016 13:18:22 +0000 (16:18 +0300)]
EA-87122

5 years agoinspection view: redundant clause is deleted in inspection presentation to add proble...
Dmitry Batkovich [Tue, 4 Oct 2016 13:15:15 +0000 (16:15 +0300)]
inspection view: redundant clause is deleted in inspection presentation to add problems from global simple tool IDEA-162032

5 years agocleanup, use lambdas
Sergey Ignatov [Tue, 4 Oct 2016 13:10:55 +0000 (16:10 +0300)]
cleanup, use lambdas

5 years agoIDEA-162025 Unexpected focus-effect painting in ComboBox with custom JPanel-based...
Denis Fokin [Tue, 4 Oct 2016 12:58:11 +0000 (15:58 +0300)]
IDEA-162025 Unexpected focus-effect painting in ComboBox with custom JPanel-based editor

5 years agoIDEA-161930 Editing method invocations with parameter hints creates too much distraction
Dmitry Batrak [Tue, 4 Oct 2016 12:54:17 +0000 (15:54 +0300)]
IDEA-161930 Editing method invocations with parameter hints creates too much distraction

5 years agoui: show icons in gutter under HiDPI
Aleksey Pivovarov [Tue, 4 Oct 2016 12:22:12 +0000 (15:22 +0300)]
ui: show icons in gutter under HiDPI

5 years agoadded dummy inlay model implementation for injected editors, to avoid potential bugs
Dmitry Batrak [Tue, 4 Oct 2016 11:57:54 +0000 (14:57 +0300)]
added dummy inlay model implementation for injected editors, to avoid potential bugs

errors will still be logged on usage of inlay model for an injected editor

5 years agorefactoring (following IDEA-CR-14187)
Dmitry Batrak [Tue, 4 Oct 2016 11:47:13 +0000 (14:47 +0300)]
refactoring (following IDEA-CR-14187)

5 years agocleanup - use Java 8 features, remove redundant code
Dmitry Batrak [Tue, 4 Oct 2016 11:27:23 +0000 (14:27 +0300)]
cleanup - use Java 8 features, remove redundant code

5 years agoIDEA-161418 Missing example of "Inline parameters hint" in color scheme settings
Dmitry Batrak [Tue, 4 Oct 2016 11:25:38 +0000 (14:25 +0300)]
IDEA-161418 Missing example of "Inline parameters hint" in color scheme settings

5 years agoEA-89319 - IAE: ObjectUtils.notNull
Aleksey Pivovarov [Tue, 4 Oct 2016 11:20:07 +0000 (14:20 +0300)]
EA-89319 - IAE: ObjectUtils.notNull

5 years agoIDEA-154724 ui: fix editor code lens under HiDPI phpstorm/163.5659
Aleksey Pivovarov [Mon, 3 Oct 2016 17:21:15 +0000 (20:21 +0300)]
IDEA-154724 ui: fix editor code lens under HiDPI

5 years ago[platform] reusing the launcher script lookup method (IDEA-CR-14046)
Roman Shevchenko [Tue, 4 Oct 2016 10:36:09 +0000 (12:36 +0200)]
[platform] reusing the launcher script lookup method (IDEA-CR-14046)

5 years agoIDEA-162051 Simplify !Stream.anyMatch(x -> !(...)) to Stream.allMatch() and so on
Tagir Valeev [Tue, 4 Oct 2016 10:14:51 +0000 (17:14 +0700)]
IDEA-162051 Simplify !Stream.anyMatch(x -> !(...)) to Stream.allMatch() and so on

5 years agoui: scale default JSlider sizes under HiDPU
Aleksey Pivovarov [Tue, 4 Oct 2016 10:10:13 +0000 (13:10 +0300)]
ui: scale default JSlider sizes under HiDPU

5 years agomerge: log error if dialog is shown under write lock
Aleksey Pivovarov [Tue, 4 Oct 2016 09:20:01 +0000 (12:20 +0300)]
merge: log error if dialog is shown under write lock

5 years agoinlay parameter names: detect builder pattern by return method type
Anna.Kozlova [Tue, 4 Oct 2016 10:02:52 +0000 (12:02 +0200)]
inlay parameter names: detect builder pattern by return method type