idea/community.git
6 years agoinspection tool window: align bottom indent when has no fixes
Dmitry Batkovich [Fri, 29 Apr 2016 12:40:21 +0000 (15:40 +0300)]
inspection tool window: align bottom indent when has no fixes

6 years agoinspection tool window: sync right panel on update action finish fixed
Dmitry Batkovich [Fri, 29 Apr 2016 12:34:32 +0000 (15:34 +0300)]
inspection tool window: sync right panel on update action finish fixed

6 years agoCommit document when necessary
Rustam Vishnyakov [Sat, 30 Apr 2016 07:50:03 +0000 (10:50 +0300)]
Commit document when necessary

6 years agoTestOnlyInspection cleanup
peter [Sat, 30 Apr 2016 07:28:43 +0000 (09:28 +0200)]
TestOnlyInspection cleanup

6 years agoinspection toolwindow: first add view the update view (npes in suppressable nodes)
Dmitry Batkovich [Sat, 30 Apr 2016 05:33:36 +0000 (08:33 +0300)]
inspection toolwindow: first add view the update view (npes in suppressable nodes)

6 years agoWallpaper: always recreate scaled image (esp. on contentLost) appcode/146.1608 clion/146.1609 dbe/146.1606 idea/146.1615 phpstorm/146.1607 pycharm/146.1611 pycharm/146.1617 rubymine/146.1613 webstorm/146.1618
Gregory.Shrago [Fri, 29 Apr 2016 17:19:16 +0000 (20:19 +0300)]
Wallpaper: always recreate scaled image (esp. on contentLost)

6 years agoIDEA-155183 Class autocomplete in META-INF.services duplicate packages
peter [Fri, 29 Apr 2016 20:29:24 +0000 (22:29 +0200)]
IDEA-155183 Class autocomplete in META-INF.services duplicate packages

6 years agoIDEA-154891 IDEA adds unnecessary space/colon on switch case autocompletion
peter [Fri, 29 Apr 2016 18:52:29 +0000 (20:52 +0200)]
IDEA-154891 IDEA adds unnecessary space/colon on switch case autocompletion

6 years agoIDEA-155323 Bogus "Test-only method is called" inspection
peter [Fri, 29 Apr 2016 18:27:39 +0000 (20:27 +0200)]
IDEA-155323 Bogus "Test-only method is called" inspection

6 years agosmart enter during completion inside synchronized expression should put the caret...
peter [Fri, 29 Apr 2016 18:01:16 +0000 (20:01 +0200)]
smart enter during completion inside synchronized expression should put the caret inside the synchronized block

6 years agosmart enter to wrap its single then/else branch into code blocks (IDEA-155280)
peter [Fri, 29 Apr 2016 17:35:30 +0000 (19:35 +0200)]
smart enter to wrap its single then/else branch into code blocks (IDEA-155280)

6 years agoIDEA-155383 Auto-complete for method references should use the type where the method...
peter [Fri, 29 Apr 2016 17:06:55 +0000 (19:06 +0200)]
IDEA-155383 Auto-complete for method references should use the type where the method is declared

6 years agoIDEA-155369 double boolean of method return type
peter [Fri, 29 Apr 2016 16:19:39 +0000 (18:19 +0200)]
IDEA-155369 double boolean of method return type

6 years agorename InheritorsHolder to JavaCompletionSession, since it'll be holding more kinds...
peter [Fri, 29 Apr 2016 15:55:59 +0000 (17:55 +0200)]
rename InheritorsHolder to JavaCompletionSession, since it'll be holding more kinds of stuff soon

6 years agoant run configuration: ability to define values for ant properties (IDEA-155270)
Eugene Zhuravlev [Fri, 29 Apr 2016 19:20:45 +0000 (21:20 +0200)]
ant run configuration: ability to define values for ant properties (IDEA-155270)

6 years agoinline: wrap varargs in array initializer
Anna.Kozlova [Fri, 29 Apr 2016 18:29:31 +0000 (20:29 +0200)]
inline: wrap varargs in array initializer

6 years agoredundant write action in tests removed
Anna.Kozlova [Fri, 29 Apr 2016 17:59:19 +0000 (19:59 +0200)]
redundant write action in tests removed

6 years agofold entities to their char value
Dennis Ushakov [Fri, 29 Apr 2016 18:15:20 +0000 (21:15 +0300)]
fold entities to their char value
#WEB-422 fixed

6 years agovalue of entity as a quick doc
Dennis Ushakov [Fri, 29 Apr 2016 17:35:14 +0000 (20:35 +0300)]
value of entity as a quick doc
#WEB-5022 fixed

6 years agoCommit document moved from EnterHandler
Rustam Vishnyakov [Fri, 29 Apr 2016 17:31:09 +0000 (20:31 +0300)]
Commit document moved from EnterHandler

6 years agotestdata for IDEA-93973 appcode/146.1603 appcode/162.444 clion/146.1604 clion/146.1605 clion/162.442 clion/162.448
Anna.Kozlova [Fri, 29 Apr 2016 17:08:01 +0000 (19:08 +0200)]
testdata for IDEA-93973

6 years agoinline: insert cast to avoid changes in resolve (IDEA-152837; IDEA-155045)
Anna.Kozlova [Fri, 29 Apr 2016 16:46:36 +0000 (18:46 +0200)]
inline: insert cast to avoid changes in resolve (IDEA-152837; IDEA-155045)

6 years agoredundant write action in tests removed
Anna.Kozlova [Fri, 29 Apr 2016 16:35:08 +0000 (18:35 +0200)]
redundant write action in tests removed

6 years agopush down: do not create subclass if class was final
Anna.Kozlova [Fri, 29 Apr 2016 14:43:33 +0000 (16:43 +0200)]
push down: do not create subclass if class was final

6 years agopush up/down working over multiple carets
Anna.Kozlova [Fri, 29 Apr 2016 14:12:42 +0000 (16:12 +0200)]
push up/down working over multiple carets

6 years agoAdd an extension point implementing gutter icons merging
Dmitry Batrak [Fri, 29 Apr 2016 16:54:04 +0000 (19:54 +0300)]
Add an extension point implementing gutter icons merging

also adjust calculation of initial icon are width, to avoid gutter 'jumping' (for icon sizes up to 17px)

6 years agoDo not allow to reformat code before commit in dumb mode, since formatter implementat...
Yaroslav Lepenkin [Fri, 29 Apr 2016 16:01:14 +0000 (19:01 +0300)]
Do not allow to reformat code before commit in dumb mode, since formatter implementations could use indices and produce IndexNotReadyException

6 years agocan't change java.awt.Color from gutter icon
Konstantin Bulenkov [Fri, 29 Apr 2016 15:09:41 +0000 (17:09 +0200)]
can't change java.awt.Color from gutter icon

6 years agoBulk reformat/optimize is executed in background under progress, with write actions...
Yaroslav Lepenkin [Fri, 29 Apr 2016 11:20:09 +0000 (14:20 +0300)]
Bulk reformat/optimize is executed in background under progress, with write actions executed in EDT.
When chained (e.g. optimize with reformat) actions are performed consequentially, first it's read part (ALCP#prepareTask), then write part in EDT (task returned by ALCP#prepareTask)

6 years agoFix exception on Optimize Imports in Jython sources appcode/146.1601 clion/146.1600
Mikhail Golubev [Fri, 29 Apr 2016 14:28:16 +0000 (17:28 +0300)]
Fix exception on Optimize Imports in Jython sources

Imported Jython symbols can be resolved into PsiPackages that maps to
multiple directories and getContainingFile() for them returns
null. This issue is similar to EA-72053.

6 years ago[dbe] data sources ui cleanup
Sergey Ignatov [Fri, 29 Apr 2016 14:29:44 +0000 (17:29 +0300)]
[dbe] data sources ui cleanup

6 years agoPadding for notification links
Alexander Lobas [Fri, 29 Apr 2016 14:12:17 +0000 (17:12 +0300)]
Padding for notification links

6 years agoMerge remote-tracking branch 'origin/master'
Vasily Pisar [Fri, 29 Apr 2016 13:56:31 +0000 (16:56 +0300)]
Merge remote-tracking branch 'origin/master'

6 years agoMerge branch 'daywalker/cmake_editing'
Vasily Pisar [Fri, 29 Apr 2016 13:53:50 +0000 (16:53 +0300)]
Merge branch 'daywalker/cmake_editing'

6 years agoclean-up
Vladislav.Soroka [Fri, 29 Apr 2016 13:51:09 +0000 (16:51 +0300)]
clean-up

6 years ago[vcs-log] minor: NotNull annotation
Julia Beliaeva [Fri, 29 Apr 2016 13:43:42 +0000 (16:43 +0300)]
[vcs-log] minor: NotNull annotation

6 years agodecompiler: unused dependency removed
Egor.Ushakov [Fri, 29 Apr 2016 13:25:23 +0000 (16:25 +0300)]
decompiler: unused dependency removed

6 years agofix wrong order in colors gutter appcode/146.1599
Konstantin Bulenkov [Fri, 29 Apr 2016 13:03:06 +0000 (15:03 +0200)]
fix wrong order in colors gutter

6 years ago[vcs-log] fix log tab numbers in split mode
Julia Beliaeva [Thu, 28 Apr 2016 21:25:05 +0000 (00:25 +0300)]
[vcs-log] fix log tab numbers in split mode

6 years agotestdata
Anna.Kozlova [Fri, 29 Apr 2016 13:04:07 +0000 (15:04 +0200)]
testdata

6 years agospring bean type processing (IDEA-155326)
Serega Vasiliev [Fri, 29 Apr 2016 12:53:36 +0000 (14:53 +0200)]
spring bean type processing (IDEA-155326)

6 years agointroduce variable: remove redundant type cast (IDEA-153665)
Anna.Kozlova [Fri, 29 Apr 2016 11:58:08 +0000 (13:58 +0200)]
introduce variable: remove redundant type cast (IDEA-153665)

6 years agoredundant cast: ensure cast is not removed if operand changes it's type
Anna.Kozlova [Fri, 29 Apr 2016 11:48:06 +0000 (13:48 +0200)]
redundant cast: ensure cast is not removed if operand changes it's type

6 years agorestrict anonym -> lambda: reject if return type would be changed (IDEA-154805)
Anna.Kozlova [Fri, 29 Apr 2016 11:42:14 +0000 (13:42 +0200)]
restrict anonym -> lambda: reject if return type would be changed (IDEA-154805)

6 years agofix testdata
Anna.Kozlova [Fri, 29 Apr 2016 11:35:54 +0000 (13:35 +0200)]
fix testdata

6 years agopush down: provide context for newly created class to check resulted accessibility...
Anna.Kozlova [Fri, 29 Apr 2016 10:14:25 +0000 (12:14 +0200)]
push down: provide context for newly created class to check resulted accessibility (IDEA-155387)

6 years agooverride default methods in interfaces with default methods (IDEA-155381)
Anna.Kozlova [Fri, 29 Apr 2016 09:17:36 +0000 (11:17 +0200)]
override default methods in interfaces with default methods (IDEA-155381)

6 years ago Debugger filters: impossible to filter debugger helper (PY-19205) idea/146.1597
Elizaveta Shashkova [Fri, 29 Apr 2016 12:27:25 +0000 (15:27 +0300)]
 Debugger filters: impossible to filter debugger helper (PY-19205)

In Py3k we start script via our custom `execfile` function, and we shouldn't stop there while stepping when execution is finished

6 years agoMerge remote-tracking branch 'origin/master'
Nadya Zabrodina [Fri, 29 Apr 2016 12:21:48 +0000 (15:21 +0300)]
Merge remote-tracking branch 'origin/master'

6 years agoMerge branch 'nz/dnd_patch'
Nadya Zabrodina [Fri, 29 Apr 2016 12:18:29 +0000 (15:18 +0300)]
Merge branch 'nz/dnd_patch'

6 years agoMerge remote-tracking branch 'origin/master'
Vladimir.Orlov [Fri, 29 Apr 2016 12:11:52 +0000 (15:11 +0300)]
Merge remote-tracking branch 'origin/master'

6 years ago[patch]: IDEA-39922 Apply Patch: from clipboard; refactoring
Nadya Zabrodina [Fri, 29 Apr 2016 12:07:50 +0000 (15:07 +0300)]
[patch]: IDEA-39922 Apply Patch: from clipboard; refactoring

* move patch clipboard listener initialization to Application component;
* cleanUP

6 years ago[patch]: dnd and apply from clipboard cleanUP
Nadya Zabrodina [Fri, 29 Apr 2016 10:39:00 +0000 (13:39 +0300)]
[patch]: dnd and apply from clipboard cleanUP

6 years ago[patch]: stop spinner in case of error or exception
Nadya Zabrodina [Wed, 27 Apr 2016 13:50:05 +0000 (16:50 +0300)]
[patch]: stop spinner in case of error or  exception

6 years ago[patch]: implement analyze and apply patch on the fly
Nadya Zabrodina [Fri, 29 Apr 2016 09:58:41 +0000 (12:58 +0300)]
[patch]: implement analyze and apply patch on the fly

6 years agominor performance: remove redundant initializers from volatile fields
Alexey Kudravtsev [Fri, 29 Apr 2016 12:01:31 +0000 (15:01 +0300)]
minor performance: remove redundant initializers from volatile fields

6 years agoNPE
Alexey Kudravtsev [Fri, 29 Apr 2016 11:33:46 +0000 (14:33 +0300)]
NPE

6 years agoIDEA-154854 Windows installer should offer option to associate IDEA with *.kt
Vladimir.Orlov [Fri, 29 Apr 2016 12:00:56 +0000 (15:00 +0300)]
IDEA-154854 Windows installer should offer option to associate IDEA with *.kt

6 years agoPadding for notification links clion/146.1595
Alexander Lobas [Fri, 29 Apr 2016 11:47:34 +0000 (14:47 +0300)]
Padding for notification links

6 years agoFixed JdkBundleTest.testCreateBoot and JdkBundleTest.testCreateBundle
Alexey Ushakov [Fri, 29 Apr 2016 11:21:49 +0000 (14:21 +0300)]
Fixed JdkBundleTest.testCreateBoot  and JdkBundleTest.testCreateBundle

Updated JdkBundleTest to work with custom SDK versions

6 years agoremove EnsureUpToDateFromNonAWTThread
peter [Fri, 29 Apr 2016 11:12:13 +0000 (13:12 +0200)]
remove EnsureUpToDateFromNonAWTThread

6 years agoIDEA-96345 Bookmark inconsistency after adding lines.
Vassiliy.Kudryashov [Fri, 29 Apr 2016 10:58:58 +0000 (13:58 +0300)]
IDEA-96345 Bookmark inconsistency after adding lines.

6 years agonode.js run configurations refactoring: return part of open api (in DefaultExecutionR...
irengrig [Fri, 29 Apr 2016 10:36:44 +0000 (12:36 +0200)]
node.js run configurations refactoring: return part of open api (in DefaultExecutionResult.java)
according to review IDEA-CR-10441

6 years agoadd content to the disposer
Dennis Ushakov [Fri, 29 Apr 2016 10:12:31 +0000 (13:12 +0300)]
add content to the disposer

6 years ago[patch]: apply patch from clipboard implemented as separated action
Nadya Zabrodina [Fri, 29 Apr 2016 09:58:15 +0000 (12:58 +0300)]
[patch]: apply patch from clipboard implemented as separated action

6 years agoColor scheme meta info
Rustam Vishnyakov [Fri, 29 Apr 2016 09:56:56 +0000 (12:56 +0300)]
Color scheme meta info

6 years agorefactoring: move common ClipboardAnalyzeLister to platform-impl to be able process...
Nadya Zabrodina [Fri, 22 Apr 2016 15:28:38 +0000 (18:28 +0300)]
refactoring: move common ClipboardAnalyzeLister to platform-impl to be able process several thing on the fly

* reuse new common listener in AnalyzeStacktrace;
* move get text from clipboard to common util method;

6 years ago[patch]: (IDEA-75291) implement dnd for patch file to editor and tabs
Nadya Zabrodina [Wed, 20 Apr 2016 14:31:24 +0000 (17:31 +0300)]
[patch]: (IDEA-75291) implement dnd for patch file to editor and tabs

* provide custom file dnd handler EP: should use transferable in canHandle because we need to detect not only flavours but file types;
* move pathType detection to PatchFilType class;
* you can use several handlers just returning false in handleDrop, but order is not specified;

6 years ago[patch]: cleanUp
Nadya Zabrodina [Wed, 20 Apr 2016 14:31:05 +0000 (17:31 +0300)]
[patch]: cleanUp

6 years ago[patch]: refactor ApplyPatch dialog to be able execute as modal one
Nadya Zabrodina [Wed, 20 Apr 2016 13:27:29 +0000 (16:27 +0300)]
[patch]: refactor ApplyPatch dialog to be able execute as modal one

* optimize vfs refresh requests;
* provide modality states to invoke later;
* optimize FilePresentation;
* note: please, call small not recursive vfs refresh for one file from edt, otherwise when you call it from polledThread in modal dialog then RefreshQueueImpl->queueSession will ignore your custom modalityState even it was provided and get defaultMS which would be NON_MODAL; as a result invokeLater with fireEvents will never start cause invokeLater with NON_MODAL will waitFor() until dialog closed;
or use process with modal progress indicator and take modality state from dialog( strongly after show()), otherwise Modality state would be non_modal

6 years agois fireWriteActionFinished throws, the stack is not popped and write lock is never...
Alexey Kudravtsev [Fri, 29 Apr 2016 09:19:52 +0000 (12:19 +0300)]
is fireWriteActionFinished throws, the stack is not popped and write lock is never released

6 years agodangling javadocs removed
Alexey Kudravtsev [Fri, 29 Apr 2016 08:46:27 +0000 (11:46 +0300)]
dangling javadocs removed

6 years agominor performance: removed redundant initializers in java analysis
Alexey Kudravtsev [Thu, 28 Apr 2016 15:56:38 +0000 (18:56 +0300)]
minor performance: removed redundant initializers in java analysis

6 years agocleanup
Alexey Kudravtsev [Thu, 28 Apr 2016 15:50:53 +0000 (18:50 +0300)]
cleanup

6 years agotest for not loading AST unnecessarily
Alexey Kudravtsev [Thu, 28 Apr 2016 15:28:48 +0000 (18:28 +0300)]
test for not loading AST unnecessarily

6 years agonotnull
Alexey Kudravtsev [Thu, 28 Apr 2016 15:26:46 +0000 (18:26 +0300)]
notnull

6 years agomoved setAssertOnFileLoadingFilter from JavaPsiFacade to PsiManagerEx
Alexey Kudravtsev [Thu, 28 Apr 2016 14:32:42 +0000 (17:32 +0300)]
moved setAssertOnFileLoadingFilter from JavaPsiFacade to PsiManagerEx

6 years agoPsiManagerEx.getInstanceEx
Alexey Kudravtsev [Thu, 28 Apr 2016 14:18:12 +0000 (17:18 +0300)]
PsiManagerEx.getInstanceEx

6 years agonew test for no cls/psi mixed up
Alexey Kudravtsev [Thu, 28 Apr 2016 13:02:52 +0000 (16:02 +0300)]
new test for no cls/psi mixed up

6 years agoIG: option to ignore arguments to specified methods (IDEA-155025) appcode/146.1590 clion/146.1589
Bas Leijdekkers [Thu, 28 Apr 2016 15:01:43 +0000 (17:01 +0200)]
IG: option to ignore arguments to specified methods (IDEA-155025)

6 years ago[hg]: tests fixed: do not create incoming/outgoing widget in test mode
Nadya Zabrodina [Fri, 29 Apr 2016 08:39:12 +0000 (11:39 +0300)]
[hg]: tests fixed: do not create incoming/outgoing widget in test mode

* problem appeared only after manual modification directory mappings, cause it led to widgets activationswitched on for default project;
* update hg patch and settings activation for basic hg test class also;

6 years agounpack JDK build script: strip excessive directories for Mac
nik [Fri, 29 Apr 2016 08:35:13 +0000 (11:35 +0300)]
unpack JDK build script: strip excessive directories for Mac

6 years agoContractInference: inline filterReturning calls
peter [Wed, 27 Apr 2016 21:13:29 +0000 (23:13 +0200)]
ContractInference: inline filterReturning calls

6 years agolambdify contract inference
peter [Wed, 27 Apr 2016 21:06:37 +0000 (23:06 +0200)]
lambdify contract inference

6 years agoinspection tool window: insert tool-node before content insertion
Dmitry Batkovich [Fri, 29 Apr 2016 07:31:36 +0000 (10:31 +0300)]
inspection tool window: insert tool-node before content insertion

6 years agounpack JDKs script cleanup: more straightforward and clear code
nik [Fri, 29 Apr 2016 07:26:20 +0000 (10:26 +0300)]
unpack JDKs script cleanup: more straightforward and clear code

6 years agoinspection tool window: drop diff support
Dmitry Batkovich [Thu, 28 Apr 2016 15:17:07 +0000 (18:17 +0300)]
inspection tool window: drop diff support

6 years agoPY-18594: Slow commands may freeze manage.py, fixing it appcode/146.1581 clion/146.1582 dbe/146.1577 idea/146.1580 pycharm/146.1578 pycharm/146.1586 rubymine/146.1584 webstorm/146.1587
Ilya.Kazakevich [Thu, 28 Apr 2016 22:29:09 +0000 (01:29 +0300)]
PY-18594: Slow commands may freeze manage.py, fixing it

* Give each command 2 seconds to complete
* Kill it and report if it fails
* Give user ability to skip such commands

6 years agoextract doExecuteTask() clion/146.1575 dbe/146.1573 pycharm/146.1576
Alexander Doroshko [Thu, 28 Apr 2016 18:57:54 +0000 (21:57 +0300)]
extract doExecuteTask()

6 years agoJavafx: Simplify method search. (IDEA-105038, IDEA-105231)
Pavel Dolgov [Thu, 28 Apr 2016 18:14:27 +0000 (21:14 +0300)]
Javafx: Simplify method search. (IDEA-105038, IDEA-105231)

6 years agoIDEA-155313 Stack variables requested more than once on the first debugger stop
Egor.Ushakov [Thu, 28 Apr 2016 17:41:30 +0000 (20:41 +0300)]
IDEA-155313 Stack variables requested more than once on the first debugger stop

6 years agoJavafx: Search static property occurrences in FXML using plain text search, remove...
Pavel Dolgov [Thu, 28 Apr 2016 16:54:22 +0000 (19:54 +0300)]
Javafx: Search static property occurrences in FXML using plain text search, remove redundant index. (IDEA-105038, IDEA-105231)

6 years agoinspection toolwindow: clear presentations when cleanup
Dmitry Batkovich [Thu, 28 Apr 2016 16:45:25 +0000 (19:45 +0300)]
inspection toolwindow: clear presentations when cleanup

6 years ago[patch]: update applied text range for ALREADY_APPLIED hunk status; test modified appcode/146.1567
Nadya Zabrodina [Thu, 28 Apr 2016 16:32:56 +0000 (19:32 +0300)]
[patch]: update applied text range for ALREADY_APPLIED hunk status; test modified

6 years agofix dependencies for KotlinPluginUpdater
Eugene Zhuravlev [Thu, 28 Apr 2016 16:19:40 +0000 (18:19 +0200)]
fix dependencies for KotlinPluginUpdater

6 years agoMerge remote-tracking branch 'origin/master'
Vladimir.Orlov [Thu, 28 Apr 2016 16:16:06 +0000 (19:16 +0300)]
Merge remote-tracking branch 'origin/master'

6 years agounpackJDKs: revert to 1.6/1.8 folder names.
Vladimir.Orlov [Thu, 28 Apr 2016 16:12:03 +0000 (19:12 +0300)]
unpackJDKs: revert to 1.6/1.8 folder names.

6 years agodiff: remove usage of removed class
Aleksey Pivovarov [Thu, 28 Apr 2016 15:49:59 +0000 (18:49 +0300)]
diff: remove usage of removed class

follow-up 14f1757

6 years agoIDEA-23075 - do not substitute slash-r on value edit - fixes for IDEA-CR-10387
Egor.Ushakov [Thu, 28 Apr 2016 15:46:41 +0000 (18:46 +0300)]
IDEA-23075 - do not substitute slash-r on value edit - fixes for IDEA-CR-10387

6 years agoMerge remote-tracking branch 'origin/master'
Vladimir.Orlov [Thu, 28 Apr 2016 14:53:05 +0000 (17:53 +0300)]
Merge remote-tracking branch 'origin/master'