idea/community.git
4 years agoStart process with patchers (PY-22495)
Dmitry Trofimov [Wed, 1 Feb 2017 17:38:55 +0000 (18:38 +0100)]
Start process with patchers (PY-22495)

4 years agoFix debugging with terminal emulation enabled (PY-22495)
Dmitry Trofimov [Wed, 1 Feb 2017 17:29:31 +0000 (18:29 +0100)]
Fix debugging with terminal emulation enabled (PY-22495)

4 years agouseless test removed: no need to test old test runners
Ilya.Kazakevich [Wed, 1 Feb 2017 17:27:32 +0000 (20:27 +0300)]
useless test removed: no need to test old test runners

4 years agoCleanup (extracts common code; unifies messages)
Roman Shevchenko [Wed, 1 Feb 2017 17:19:02 +0000 (18:19 +0100)]
Cleanup (extracts common code; unifies messages)

4 years ago[ui] enables platform update when none of plugins are selected (IDEA-167485)
Roman Shevchenko [Wed, 1 Feb 2017 17:04:29 +0000 (18:04 +0100)]
[ui] enables platform update when none of plugins are selected (IDEA-167485)

4 years agoIDEA-167367 Data flow analysis doesn't process division
peter [Wed, 1 Feb 2017 13:13:13 +0000 (14:13 +0100)]
IDEA-167367 Data flow analysis doesn't process division

4 years agoprefer local variables over static method references in completion
peter [Wed, 1 Feb 2017 11:48:10 +0000 (12:48 +0100)]
prefer local variables over static method references in completion

4 years agodiff: add usage triggers
Aleksey Pivovarov [Wed, 1 Feb 2017 16:45:11 +0000 (19:45 +0300)]
diff: add usage triggers

4 years agoStreamApiMigrationInspection: suggest to use takeWhile() in Java-9
Tagir Valeev [Wed, 1 Feb 2017 16:44:15 +0000 (19:44 +0300)]
StreamApiMigrationInspection: suggest to use takeWhile() in Java-9

4 years agoIDEA-165033 Completion should prefer expected enum values over the constants from...
peter [Wed, 1 Feb 2017 16:41:21 +0000 (17:41 +0100)]
IDEA-165033 Completion should prefer expected enum values over the constants from other enums, even if they're more recently used

a test proving it works

4 years agoNew test runners: tests moved to new configuration:
Ilya.Kazakevich [Wed, 1 Feb 2017 16:39:38 +0000 (19:39 +0300)]
New test runners: tests moved to new configuration:
* Some tests fail. Will fix.
* py files renamed to prevent them from unexpected discovering
* "prefixes" added to tests as a way to provide different targets
* verbosity improved
* suite changed to "non leaf" since there are no suites in new runners

4 years agoMerge remote-tracking branch 'origin/master'
Roman Shevchenko [Wed, 1 Feb 2017 16:33:00 +0000 (17:33 +0100)]
Merge remote-tracking branch 'origin/master'

4 years ago[devkit] omits class loader parameter adding for JDK 9
Roman Shevchenko [Wed, 1 Feb 2017 16:32:36 +0000 (17:32 +0100)]
[devkit] omits class loader parameter adding for JDK 9

4 years ago[devkit] restores class loader parameter adding
Roman Shevchenko [Wed, 1 Feb 2017 16:31:27 +0000 (17:31 +0100)]
[devkit] restores class loader parameter adding

(was removed by inaccurate cleanup)

4 years agocleanup
Egor.Ushakov [Wed, 1 Feb 2017 16:20:20 +0000 (19:20 +0300)]
cleanup

4 years agoIDEA-167493 Java project language level is not serialized
Vladimir Krivosheev [Wed, 1 Feb 2017 16:01:17 +0000 (17:01 +0100)]
IDEA-167493 Java project language level is not serialized

4 years agodiff: @Deprecate
Aleksey Pivovarov [Wed, 1 Feb 2017 15:25:58 +0000 (18:25 +0300)]
diff: @Deprecate

4 years agoCleanup (formatting) appcode/171.2882
Roman Shevchenko [Wed, 1 Feb 2017 15:07:04 +0000 (16:07 +0100)]
Cleanup (formatting)

4 years agodetect generated method name: allow annotations with parameters (IDEA-167480) clion/171.2881
Anna.Kozlova [Wed, 1 Feb 2017 14:45:23 +0000 (15:45 +0100)]
detect generated method name: allow annotations with parameters (IDEA-167480)

4 years agomethod signature: don't substitute twice during erasure (IDEA-167386)
Anna.Kozlova [Wed, 1 Feb 2017 14:33:39 +0000 (15:33 +0100)]
method signature: don't substitute twice during erasure (IDEA-167386)

4 years agocleanup
Alexey Kudravtsev [Wed, 1 Feb 2017 13:50:36 +0000 (16:50 +0300)]
cleanup

4 years agoremoved big assertion not necessary anymore but hurting inlining
Alexey Kudravtsev [Wed, 1 Feb 2017 13:50:16 +0000 (16:50 +0300)]
removed big assertion not necessary anymore but hurting inlining

4 years agocomments
Alexey Kudravtsev [Wed, 1 Feb 2017 12:58:15 +0000 (15:58 +0300)]
comments

4 years agoIDEA-167436 Rerun 'Find Usages' empties first tab when "open in new tab" is selected
Alexey Kudravtsev [Wed, 1 Feb 2017 12:36:43 +0000 (15:36 +0300)]
IDEA-167436 Rerun 'Find Usages' empties first tab when "open in new tab" is selected

4 years agoApply settings to model without preview too
Rustam Vishnyakov [Tue, 31 Jan 2017 12:36:33 +0000 (15:36 +0300)]
Apply settings to model without preview too

(cherry picked from commit 397e9d9)

4 years agoReturn 'null' from GeneralCodeStylePanel.getPreviewText()
Rustam Vishnyakov [Tue, 31 Jan 2017 12:22:12 +0000 (15:22 +0300)]
Return 'null' from GeneralCodeStylePanel.getPreviewText()

(cherry picked from commit e001d55)

4 years agoTake encoding from settings
Dmitry Trofimov [Wed, 1 Feb 2017 14:23:54 +0000 (15:23 +0100)]
Take encoding from settings

4 years ago[groovy] cleanup: make TokenSets interface
Daniil Ovchinnikov [Wed, 1 Feb 2017 14:21:58 +0000 (17:21 +0300)]
[groovy] cleanup: make TokenSets interface

4 years ago[push]: add pre-push handlers that can be run on changes before the push
Sergey Patrikeev [Fri, 20 Jan 2017 10:57:58 +0000 (13:57 +0300)]
[push]: add pre-push handlers that can be run on changes before the push

* add an extension point for pre-push handlers;
* catch handler exceptions and show a message if something went wrong
 during pre-push checks;
* update progress indicator fraction according to each handler progress
 state;
* handle user cancel action by suggesting to push anyway or cancel;

4 years agoBundledKeymapProvider should be able to override default load logic
Vladimir Krivosheev [Wed, 1 Feb 2017 14:06:13 +0000 (15:06 +0100)]
BundledKeymapProvider should be able to override default load logic

4 years agoadd NotNull
Vladimir Krivosheev [Wed, 1 Feb 2017 13:54:35 +0000 (14:54 +0100)]
add NotNull

4 years ago[groovy] cleanup: remove ASSIGN_OP_SET TokenSet, use ASSIGNMENTS instead
Daniil Ovchinnikov [Wed, 1 Feb 2017 14:02:32 +0000 (17:02 +0300)]
[groovy] cleanup: remove ASSIGN_OP_SET TokenSet, use ASSIGNMENTS instead

4 years agomodules tree: fixed condition for recreating module nodes.
nik [Wed, 1 Feb 2017 14:03:16 +0000 (17:03 +0300)]
modules tree: fixed condition for recreating module nodes.

Don't recreate module node if it was under root and its parent group wasn't changed. Do recreate module node if it was a parent node for other modules and its name was changed.

4 years agoPY-14605 Minor 1) Fix typo in login url parameter 2) Remove commented code
Valentina Kiryushkina [Wed, 1 Feb 2017 12:55:19 +0000 (15:55 +0300)]
PY-14605 Minor 1) Fix typo in login url parameter 2) Remove commented code

4 years agorename inRange() to onRange() and move to TreeTraversal
Gregory.Shrago [Wed, 1 Feb 2017 11:00:54 +0000 (14:00 +0300)]
rename inRange() to onRange() and move to TreeTraversal

4 years agoChange the checkbox label rubymine/171.2879
Dmitry Trofimov [Wed, 1 Feb 2017 13:44:23 +0000 (14:44 +0100)]
Change the checkbox label

4 years agoPY-22460: Check variable before accessing it dbe/171.2877
Ilya.Kazakevich [Wed, 1 Feb 2017 01:40:24 +0000 (04:40 +0300)]
PY-22460: Check variable before accessing it

4 years agoNew test runners: Splitting flat names to tree
Ilya.Kazakevich [Wed, 1 Feb 2017 01:34:34 +0000 (04:34 +0300)]
New test runners: Splitting flat names to tree

* Tests are provided in format like "foo.bar", but we need to convert
them to parent-child

4 years agoNew test runners: do not set test duration to 0 explicitly
Ilya.Kazakevich [Wed, 1 Feb 2017 00:27:08 +0000 (03:27 +0300)]
New test runners: do not set test duration to 0 explicitly

* See commend in code

4 years agoPY-22401: Infinite loop fixed for cases when element can't be resolved
Ilya.Kazakevich [Fri, 27 Jan 2017 22:08:52 +0000 (01:08 +0300)]
PY-22401: Infinite loop fixed for cases when element can't be resolved

* PyQualifiedName::removeLastElement() does not change instance ,
it just creates new instance leaving former unchanged. So,
currentName was always "initialName - 1 component"

4 years agoPY-22410: Do not provide target for custom mode
Ilya.Kazakevich [Fri, 27 Jan 2017 21:49:20 +0000 (00:49 +0300)]
PY-22410: Do not provide target for custom mode

4 years agoPY-22414: Path should be list, not string
Ilya.Kazakevich [Fri, 27 Jan 2017 21:37:51 +0000 (00:37 +0300)]
PY-22414: Path should be list, not string
* imp API misused. Py2 allows it, while Py3K does not. Now fixed
according to docs.

4 years agoPY-22378: New test runners: preserve old configurations
Ilya.Kazakevich [Wed, 25 Jan 2017 21:10:42 +0000 (00:10 +0300)]
PY-22378: New test runners: preserve old configurations

4 years agoNew test runners: legacy configuration detection improved
Ilya.Kazakevich [Wed, 25 Jan 2017 17:20:56 +0000 (20:20 +0300)]
New test runners: legacy configuration detection improved
* In old version we used to check testType which is never null

4 years agoPY-22379: New test runners: background removed
Ilya.Kazakevich [Wed, 25 Jan 2017 15:38:49 +0000 (18:38 +0300)]
PY-22379: New test runners: background removed

4 years agoPY-22376: New test runners: Filter out DocTest configurations
Ilya.Kazakevich [Wed, 25 Jan 2017 14:20:53 +0000 (17:20 +0300)]
PY-22376: New test runners: Filter out DocTest configurations
* When RunConfigurationProducer finds config with id "test" it provides
it to new configuration producer to check. But it could be doctest
configuration and it leads to classcast

4 years agoNew test runners: Disable one of two configuration producers
Ilya.Kazakevich [Tue, 24 Jan 2017 13:13:23 +0000 (16:13 +0300)]
New test runners: Disable one of two configuration producers
* See disableUnneededConfigurationProducer doc

4 years agoNew test runners: Support "unittest pattern"
Ilya.Kazakevich [Tue, 24 Jan 2017 11:49:57 +0000 (14:49 +0300)]
New test runners: Support "unittest pattern"

4 years agoNew test runners: convert old configurations to new format
Ilya.Kazakevich [Mon, 23 Jan 2017 21:24:09 +0000 (00:24 +0300)]
New test runners: convert old configurations to new format
* We can't loose old configurations. This change allows them to be
 imported and saved as new one.
 * Old configurations renamed to "legacy"
 * All legacy-specific code moved to PyUniversalTestLegacyInterop.kt
 to be removed later.
 * One type is now used for old and new configurations

4 years agoNew test runners: ReflectionUtil delegation property bug fixed
Ilya.Kazakevich [Sat, 21 Jan 2017 12:11:47 +0000 (15:11 +0300)]
New test runners: ReflectionUtil delegation property bug fixed

4 years agoNew test runners: folder renamed to path according to protocol
Ilya.Kazakevich [Sat, 21 Jan 2017 11:20:35 +0000 (14:20 +0300)]
New test runners: folder renamed to path according to protocol

4 years agoNew test runners: factory parametrized with configuration type to improve type safety
Ilya.Kazakevich [Wed, 18 Jan 2017 20:26:19 +0000 (23:26 +0300)]
New test runners: factory parametrized with configuration type to improve type safety

4 years agoNew test runners: findElement renamed to toElement and moved to QualifiedNameExt...
Ilya.Kazakevich [Tue, 17 Jan 2017 22:45:58 +0000 (01:45 +0300)]
New test runners: findElement renamed to toElement and moved to QualifiedNameExt according to review IDEA-CR-17341

4 years agoNew python test runners API based on Leonid s TC runners
Ilya.Kazakevich [Mon, 16 Jan 2017 20:02:31 +0000 (23:02 +0300)]
New python test runners API based on Leonid s TC runners

* Fixing according to review:/IDEA-CR-17341

4 years agoNew python test runners API based on Leonid s TC runners
Ilya.Kazakevich [Sat, 14 Jan 2017 02:10:03 +0000 (05:10 +0300)]
New python test runners API based on Leonid s TC runners

 * See https://confluence.jetbrains.com/display/~link/PyCharm+test+runners+protocol
 * See "universalTests" package

4 years agoATTest removed
Ilya.Kazakevich [Sat, 14 Jan 2017 02:06:54 +0000 (05:06 +0300)]
ATTest removed
 * Beta version does not have any updates since 2012

4 years agoTypes added to raw classes
Ilya.Kazakevich [Sat, 14 Jan 2017 02:05:41 +0000 (05:05 +0300)]
Types added to raw classes

* Test classes are now typesafe

4 years agoMake ConsoleViewImpl.rehighlightHyperlinksAndFoldings public (used in Rider)
Andrey Akinshin [Wed, 1 Feb 2017 13:17:16 +0000 (16:17 +0300)]
Make ConsoleViewImpl.rehighlightHyperlinksAndFoldings public (used in Rider)

4 years agoIDEA-166860 Method with generics and annotation incorrectly parsed
alexey.afanasiev [Wed, 1 Feb 2017 12:59:49 +0000 (15:59 +0300)]
IDEA-166860 Method with generics and annotation incorrectly parsed

4 years agoAdd todo note
Dmitry Trofimov [Wed, 1 Feb 2017 12:32:29 +0000 (13:32 +0100)]
Add todo note

4 years agoqualified module names: don't show module name in Project View if it matches director... appcode/171.2875 clion/171.2874 phpstorm/171.2876 pycharm/171.2873
nik [Wed, 1 Feb 2017 11:43:27 +0000 (14:43 +0300)]
qualified module names: don't show module name in Project View if it matches directory structure (IDEA-166061)

If module name can be composed by appending its directory name to a module name for the parent directory it makes no sense to show the full module name on the directory node in Project View.

4 years agoDisable terminal emulation mode on Windows
Dmitry Trofimov [Wed, 1 Feb 2017 11:34:51 +0000 (12:34 +0100)]
Disable terminal emulation mode on Windows

4 years agoOption to run python process in a terminal emulation mode (PY-22487)
Dmitry Trofimov [Wed, 1 Feb 2017 09:54:38 +0000 (10:54 +0100)]
Option to run python process in a terminal emulation mode (PY-22487)

4 years agotry a bit harder to gc leaky projects
peter [Wed, 1 Feb 2017 11:21:52 +0000 (12:21 +0100)]
try a bit harder to gc leaky projects

4 years agoIDEA-167189 Incorrect inspection for Ratpack's Promise.next()
alexey.afanasiev [Wed, 1 Feb 2017 11:18:26 +0000 (14:18 +0300)]
IDEA-167189 Incorrect inspection for Ratpack's Promise.next()

4 years agocleanup
Alexey Kudravtsev [Fri, 27 Jan 2017 15:12:34 +0000 (18:12 +0300)]
cleanup

4 years agoproject is already disposed fixed
Alexey Kudravtsev [Fri, 27 Jan 2017 15:08:45 +0000 (18:08 +0300)]
project is already disposed fixed

4 years agoblinking test fixed
Alexey Kudravtsev [Fri, 27 Jan 2017 15:05:50 +0000 (18:05 +0300)]
blinking test fixed

4 years agorenamed to match field
Alexey Kudravtsev [Fri, 27 Jan 2017 14:41:57 +0000 (17:41 +0300)]
renamed to match field

4 years agoproject leak fixed
Alexey Kudravtsev [Fri, 27 Jan 2017 14:36:27 +0000 (17:36 +0300)]
project leak fixed

4 years agodisposed project leak via later invocator queue fixed
Alexey Kudravtsev [Fri, 27 Jan 2017 13:43:25 +0000 (16:43 +0300)]
disposed project leak via later invocator queue fixed

4 years agocleanup
Alexey Kudravtsev [Fri, 27 Jan 2017 11:52:35 +0000 (14:52 +0300)]
cleanup

4 years agofix collecting completion stats for methods with argument suggestions
peter [Wed, 1 Feb 2017 10:34:35 +0000 (11:34 +0100)]
fix collecting completion stats for methods with argument suggestions

ensure that we don't change the tracked document range when starting live template

4 years agoextract delayed completion statistics logic out of CompletionLookupArranger
peter [Wed, 1 Feb 2017 10:25:38 +0000 (11:25 +0100)]
extract delayed completion statistics logic out of CompletionLookupArranger

4 years agoPlatformTestUtil: extracted method which allows testing real presentation of Abstract...
nik [Wed, 1 Feb 2017 10:45:50 +0000 (13:45 +0300)]
PlatformTestUtil: extracted method which allows testing real presentation of AbstractTreeNodes

4 years agoPlatformTestUtil simplified: some methods inlined, methods used only internally marke...
nik [Wed, 1 Feb 2017 09:31:21 +0000 (12:31 +0300)]
PlatformTestUtil simplified: some methods inlined, methods used only internally marked as private

4 years agoStreamToLoopInspection: support some simple StreamEx scenarios; support Java 9 takeWh...
Tagir Valeev [Wed, 1 Feb 2017 10:32:15 +0000 (13:32 +0300)]
StreamToLoopInspection: support some simple StreamEx scenarios; support Java 9 takeWhile/dropWhile

4 years agoper-project temp directory to avoid conflics when two or more projects are building
Eugene Zhuravlev [Wed, 1 Feb 2017 10:36:10 +0000 (11:36 +0100)]
per-project temp directory to avoid conflics when two or more projects are building

4 years agoasync debugger: capture strings
Egor.Ushakov [Wed, 1 Feb 2017 10:31:03 +0000 (13:31 +0300)]
async debugger: capture strings

4 years agoWEB-20921 Add support for valid HTML syntax for including LESS/SCSS in <style> tags
Alexander Zolotov [Tue, 31 Jan 2017 20:55:11 +0000 (23:55 +0300)]
WEB-20921 Add support for valid HTML syntax for including LESS/SCSS in <style> tags

4 years agoIDEA-CR-17158 javadoc
Vladimir Krivosheev [Wed, 1 Feb 2017 10:19:55 +0000 (11:19 +0100)]
IDEA-CR-17158 javadoc

4 years agoIDEA-CR-17843 give a meaningful name dbe/171.2870
Vladimir Krivosheev [Wed, 1 Feb 2017 09:54:57 +0000 (10:54 +0100)]
IDEA-CR-17843  give a meaningful name

4 years agoIDEA-167459 [windows] balloons text are cut in multi-dpi-monitor env w/ new hidpi idea/171.2869
Anton Tarasov [Wed, 1 Feb 2017 09:00:13 +0000 (12:00 +0300)]
IDEA-167459 [windows] balloons text are cut in multi-dpi-monitor env w/ new hidpi

4 years agoexecute refactoring listeners with alternative resolve enabled
Anna.Kozlova [Tue, 31 Jan 2017 15:14:32 +0000 (16:14 +0100)]
execute refactoring listeners with alternative resolve enabled
EA-95396 - INRE: FileBasedIndexImpl.handleDumbMode

4 years agoEA-95510 - assert: SMTestProxy$.printOn
Anna.Kozlova [Tue, 31 Jan 2017 15:07:31 +0000 (16:07 +0100)]
EA-95510 - assert: SMTestProxy$.printOn

4 years agoasync debugger: allow to specify empty insert class name
Egor.Ushakov [Wed, 1 Feb 2017 08:59:56 +0000 (11:59 +0300)]
async debugger: allow to specify empty insert class name

4 years agoModifierFilter: Typos fixed, toString() optimized appcode/171.2868 clion/171.2867
Tagir Valeev [Wed, 1 Feb 2017 08:32:51 +0000 (11:32 +0300)]
ModifierFilter: Typos fixed, toString() optimized

4 years agoIDEA-167452 Reduce false-positives in "string concatenation in loop" inspection
Tagir Valeev [Wed, 1 Feb 2017 08:18:37 +0000 (11:18 +0300)]
IDEA-167452 Reduce false-positives in "string concatenation in loop" inspection

4 years agoprefer lookup items with shorter tail text (e.g. List#add(element) without index)
peter [Wed, 1 Feb 2017 08:22:15 +0000 (09:22 +0100)]
prefer lookup items with shorter tail text (e.g. List#add(element) without index)

4 years agodon't drop completion stats on prefix change, it's now prefix-independent
peter [Wed, 1 Feb 2017 08:16:14 +0000 (09:16 +0100)]
don't drop completion stats on prefix change, it's now prefix-independent

4 years agosimplification: use generified TreeUtil.sortRecursively to avoid casts idea/171.2866
nik [Tue, 31 Jan 2017 15:53:50 +0000 (18:53 +0300)]
simplification: use generified TreeUtil.sortRecursively to avoid casts

4 years agosimplification: use TreeUtil.sortChildren method
nik [Tue, 31 Jan 2017 15:43:15 +0000 (18:43 +0300)]
simplification: use TreeUtil.sortChildren method

4 years agoIDEA-167444 Deletion of css dialect or template data language left an artefact and... appcode/171.2861 clion/171.2863 dbe/171.2857 phpstorm/171.2859 pycharm/171.2858 rubymine/171.2862 webstorm/171.2864
Gregory.Shrago [Wed, 1 Feb 2017 00:32:10 +0000 (03:32 +0300)]
IDEA-167444 Deletion of css dialect or template data language left an artefact and causes an IOOBE

4 years agoMerge remote-tracking branch 'origin/master'
Konstantin Bulenkov [Tue, 31 Jan 2017 23:17:21 +0000 (02:17 +0300)]
Merge remote-tracking branch 'origin/master'

4 years agoALL-1311 Clicking on an project which is already open does not bring that project...
Konstantin Bulenkov [Tue, 31 Jan 2017 23:15:52 +0000 (02:15 +0300)]
ALL-1311 Clicking on an project which is already open does not bring that project to foreground

4 years agodon't loose right selection during the focus ping-pong from the path field
Sergey Ignatov [Tue, 31 Jan 2017 22:44:05 +0000 (01:44 +0300)]
don't loose right selection during the focus ping-pong from the path field

4 years agoupdate completion test expectations
peter [Tue, 31 Jan 2017 21:30:02 +0000 (22:30 +0100)]
update completion test expectations

4 years agoless garbage: no new instance on empty collection
Gregory.Shrago [Tue, 31 Jan 2017 20:57:16 +0000 (23:57 +0300)]
less garbage: no new instance on empty collection

4 years agomove TraverserBasedASTNode to lang-impl
Gregory.Shrago [Tue, 31 Jan 2017 17:03:36 +0000 (20:03 +0300)]
move TraverserBasedASTNode to lang-impl

4 years ago[file-history] return unmodified visible graph if can not find current row
Julia Beliaeva [Mon, 30 Jan 2017 19:34:44 +0000 (22:34 +0300)]
[file-history] return unmodified visible graph if can not find current row