idea/community.git
5 years agoMerge remote-tracking branch 'origin/master'
Roman Shevchenko [Tue, 23 Aug 2016 12:27:05 +0000 (15:27 +0300)]
Merge remote-tracking branch 'origin/master'

5 years ago[java] highlights duplicate 'requires' statements
Roman Shevchenko [Tue, 23 Aug 2016 12:22:23 +0000 (15:22 +0300)]
[java] highlights duplicate 'requires' statements

5 years agohighlight names: do not highlight in huge chunks because there maybe whitespaces... appcode/163.3118 clion/163.3126
Alexey Kudravtsev [Tue, 23 Aug 2016 11:54:58 +0000 (14:54 +0300)]
highlight names: do not highlight in huge chunks because there maybe whitespaces or comments between tokens; instead, highlight identifiers only

5 years agoalways mark this pass as up-to-date after apply; use dirty region LINE_MARKERS for...
Alexey Kudravtsev [Tue, 23 Aug 2016 11:53:46 +0000 (14:53 +0300)]
always mark this pass as up-to-date after apply; use dirty region LINE_MARKERS for LineMarkerPass to avoid confusion when GHP is finished and applied but LMP doesn't start because region was marked up-to-date already.

5 years agodetect CME
Alexey Kudravtsev [Tue, 23 Aug 2016 11:52:47 +0000 (14:52 +0300)]
detect CME

5 years agocleanup
Alexey Kudravtsev [Tue, 23 Aug 2016 11:52:39 +0000 (14:52 +0300)]
cleanup

5 years agoEA-87092 - IAE: ShowUsagesAction.collectData
Alexey Kudravtsev [Tue, 23 Aug 2016 11:52:18 +0000 (14:52 +0300)]
EA-87092 - IAE: ShowUsagesAction.collectData

5 years agocache and share Divider.divide() psi elements to avoid expensive PSI traverse on...
Alexey Kudravtsev [Mon, 22 Aug 2016 15:06:29 +0000 (18:06 +0300)]
cache and share Divider.divide() psi elements to avoid expensive PSI traverse on each pass start

5 years agomethod "text" extracted
Alexey Kudravtsev [Mon, 22 Aug 2016 14:07:19 +0000 (17:07 +0300)]
method "text" extracted

5 years agodo not highlight spaces and comments embedded inside type params
Alexey Kudravtsev [Mon, 22 Aug 2016 12:30:44 +0000 (15:30 +0300)]
do not highlight spaces and comments embedded inside type params

5 years agotest
Alexey Kudravtsev [Mon, 22 Aug 2016 12:29:49 +0000 (15:29 +0300)]
test

5 years agodiagnostics
Alexey Kudravtsev [Mon, 22 Aug 2016 10:36:39 +0000 (13:36 +0300)]
diagnostics

5 years agodiagnostics
Alexey Kudravtsev [Mon, 22 Aug 2016 10:25:02 +0000 (13:25 +0300)]
diagnostics

5 years agogit: move "In All Repositories" action group to the top in log menu phpstorm/163.3117
Aleksey Pivovarov [Tue, 23 Aug 2016 11:17:29 +0000 (14:17 +0300)]
git: move "In All Repositories" action group to the top in log menu

5 years agoCompilerMessage#getSourcePath return null in case of multiple sources (fast fix for...
Dmitry Batkovich [Tue, 23 Aug 2016 11:38:33 +0000 (14:38 +0300)]
CompilerMessage#getSourcePath return null in case of multiple sources (fast fix for IDEA-CR-13211)

5 years agoMerge remote-tracking branch 'origin/master' idea/163.3116
Vladimir.Orlov [Tue, 23 Aug 2016 11:11:25 +0000 (14:11 +0300)]
Merge remote-tracking branch 'origin/master'

5 years agoQuick indent after semicolon ';'
Rustam Vishnyakov [Tue, 23 Aug 2016 10:55:36 +0000 (13:55 +0300)]
Quick indent after semicolon ';'

5 years agoMerge remote-tracking branch 'origin/master'
Vladimir.Orlov [Tue, 23 Aug 2016 11:05:21 +0000 (14:05 +0300)]
Merge remote-tracking branch 'origin/master'

5 years agoIDEA-CR-13184 cleanup
Vladimir.Orlov [Tue, 23 Aug 2016 11:00:29 +0000 (14:00 +0300)]
IDEA-CR-13184 cleanup

5 years agoPsiClass#getMethods et al: don't allow clients to modify shared arrays
peter [Tue, 23 Aug 2016 10:49:15 +0000 (12:49 +0200)]
PsiClass#getMethods et al: don't allow clients to modify shared arrays

5 years agoIDEA-159262 Incorrect treating of the <link> element in the jsp page
Dmitry Avdeev [Tue, 23 Aug 2016 10:31:50 +0000 (13:31 +0300)]
IDEA-159262 Incorrect treating of the <link> element in the jsp page
showing the problem like unused symbol

5 years agodo not search null-literal argument for notnull var-arg parameter IDEA-160134
Dmitry Batkovich [Tue, 23 Aug 2016 10:13:03 +0000 (13:13 +0300)]
do not search null-literal argument for notnull var-arg parameter IDEA-160134

5 years agounused declaration: ensure context is not stored in tool, so parallel run of the...
Anna Kozlova [Tue, 23 Aug 2016 10:05:49 +0000 (13:05 +0300)]
unused declaration: ensure context is not stored in tool, so parallel run of the same tool is possible (IDEA-160043)

5 years agocleanup
Anna Kozlova [Mon, 22 Aug 2016 17:21:48 +0000 (20:21 +0300)]
cleanup

5 years agoCleanup (formatting)
Roman Shevchenko [Tue, 23 Aug 2016 09:28:40 +0000 (12:28 +0300)]
Cleanup (formatting)

5 years agoCleanup (missing final; unused import)
Roman Shevchenko [Tue, 23 Aug 2016 09:21:40 +0000 (12:21 +0300)]
Cleanup (missing final; unused import)

5 years agojps: CompiledClass accepts multiple source files appcode/163.3103 clion/163.3102
Dmitry Batkovich [Tue, 23 Aug 2016 08:49:15 +0000 (11:49 +0300)]
jps: CompiledClass accepts multiple source files

5 years agoremove obsolete dialog
liana.bakradze [Tue, 23 Aug 2016 08:38:01 +0000 (11:38 +0300)]
remove obsolete dialog

5 years ago[platform] minor optimization
Roman Shevchenko [Tue, 23 Aug 2016 08:31:18 +0000 (11:31 +0300)]
[platform] minor optimization

5 years agoIDEA-159965 reload links style on UI update e.g. when switching LaF
Kirill Likhodedov [Tue, 23 Aug 2016 08:26:49 +0000 (11:26 +0300)]
IDEA-159965 reload links style on UI update e.g. when switching LaF

5 years ago[vcs-log] minor: remove unused method, reformat, optimize imports appcode/162.844.48 appcode/163.3097 clion/162.844.47 clion/163.3092 dbe/163.3090 idea/163.3094 idea/163.3094.1 idea/163.3094.3 phpstorm/163.3095 pycharm/163.3093 pycharm/163.3098 rubymine/163.3096 webstorm/163.3099 webstorm/163.3100
Julia Beliaeva [Mon, 22 Aug 2016 21:25:49 +0000 (00:25 +0300)]
[vcs-log] minor: remove unused method, reformat, optimize imports

5 years agonull argument index: do not update default settings of inspections
Dmitry Batkovich [Mon, 22 Aug 2016 19:16:07 +0000 (22:16 +0300)]
null argument index: do not update default settings of inspections

5 years ago[vcs-log] minor: remove unused LOG field
Julia Beliaeva [Mon, 22 Aug 2016 18:46:43 +0000 (21:46 +0300)]
[vcs-log] minor: remove unused LOG field

5 years ago[vcs-log] minor: remove unused myDataPack fields
Julia Beliaeva [Mon, 22 Aug 2016 18:31:44 +0000 (21:31 +0300)]
[vcs-log] minor: remove unused myDataPack fields

5 years agoincluding aether-based dependency resolving builder to standalone jps distribution
Eugene Zhuravlev [Mon, 22 Aug 2016 18:40:48 +0000 (20:40 +0200)]
including aether-based dependency resolving builder to standalone jps distribution

5 years agoadded MagicConstant (javadoc added)
Vassiliy.Kudryashov [Mon, 22 Aug 2016 18:24:03 +0000 (21:24 +0300)]
added MagicConstant (javadoc added)

5 years agoadded MagicConstant
Vassiliy.Kudryashov [Mon, 22 Aug 2016 18:12:35 +0000 (21:12 +0300)]
added MagicConstant

5 years agoArgument parsing for subprocess under debugger (PY-20476 )
Elizaveta Shashkova [Mon, 22 Aug 2016 17:49:57 +0000 (20:49 +0300)]
Argument parsing for subprocess under debugger (PY-20476 )

When starting the process with `multiprocessing` module, we don't change script arguments, but we add tracing function. And if after that we want to connect to another new process we have no information about debugger. That's why we need to save pydevd arguments for all processes created with `-c` interpreter option.

5 years agounused parameters: recognize 'UnusedParameters' as old suppression, remove unused... appcode/162.844.45
Anna Kozlova [Mon, 22 Aug 2016 17:11:42 +0000 (20:11 +0300)]
unused parameters: recognize 'UnusedParameters' as old suppression, remove unused code

5 years agounused declaration: force table update (IDEA-160111)
Anna Kozlova [Mon, 22 Aug 2016 15:53:36 +0000 (18:53 +0300)]
unused declaration: force table update (IDEA-160111)

5 years agounused declaration: copy constructor (IDEA-160117)
Anna Kozlova [Mon, 22 Aug 2016 14:50:52 +0000 (17:50 +0300)]
unused declaration: copy constructor (IDEA-160117)

5 years ago[svn]: mark auto shelve before merge as system clion/162.844.46
Nadya Zabrodina [Mon, 22 Aug 2016 16:40:11 +0000 (19:40 +0300)]
[svn]: mark auto shelve before merge as system

* set to be deleted flag and delete after unshelve in a few days;

5 years ago[shelve]: predefine changelist only for system shelved changelist
Nadya Zabrodina [Mon, 22 Aug 2016 16:27:04 +0000 (19:27 +0300)]
[shelve]: predefine changelist only for system shelved changelist

* use max name matching logic when predefine existing changelist name only for system created;
* otherwise use full description name;

5 years ago[hg]: add an ability to define remote (for one push) via mouse click
Nadya Zabrodina [Mon, 22 Aug 2016 16:21:56 +0000 (19:21 +0300)]
[hg]: add an ability to define remote (for one push) via mouse click

5 years ago[patch]: IDEA-159931 No mnemonics for Encoding combo in Create patch dialog
Nadya Zabrodina [Mon, 22 Aug 2016 12:45:19 +0000 (15:45 +0300)]
[patch]: IDEA-159931 No mnemonics for Encoding combo in Create patch dialog

5 years agoIDEA-CR-13051 FlexAdapter: prevent infinite loop when exception is thrown
Gregory.Shrago [Mon, 22 Aug 2016 16:40:36 +0000 (19:40 +0300)]
IDEA-CR-13051 FlexAdapter: prevent infinite loop when exception is thrown

5 years agoremove library node on library itself removing
Dmitry.Krasilschikov [Thu, 18 Aug 2016 14:31:26 +0000 (17:31 +0300)]
remove library node on library itself removing

5 years agomore log.trace is DataFlowRunner (IDEA-CR-13192)
peter [Mon, 22 Aug 2016 15:00:40 +0000 (17:00 +0200)]
more log.trace is DataFlowRunner (IDEA-CR-13192)

5 years agoIDEA-159674 "Constant conditions & exceptions" false positive in GeneralCommandLine...
peter [Mon, 22 Aug 2016 14:10:57 +0000 (16:10 +0200)]
IDEA-159674 "Constant conditions & exceptions" false positive in GeneralCommandLine.MyTHashMap.putAll()

5 years ago[DF Terminal] restore proper state if DF mode was changed with hidden tool window
Yaroslav Lepenkin [Mon, 22 Aug 2016 15:03:17 +0000 (18:03 +0300)]
[DF Terminal] restore proper state if DF mode was changed with hidden tool window

5 years agoCPP-7227 'Split group' action for CMake consoles breaks console rendering appcode/163.3067
Vassiliy.Kudryashov [Mon, 22 Aug 2016 14:53:58 +0000 (17:53 +0300)]
CPP-7227 'Split group' action for CMake consoles breaks console rendering

5 years agoIDEA-157763 Settings repository for IDE: keymap per os clion/163.3062
Alexander Lobas [Mon, 22 Aug 2016 14:24:56 +0000 (17:24 +0300)]
IDEA-157763 Settings repository for IDE: keymap per os

5 years agoMerge remote-tracking branch 'origin/master'
Dmitry Trofimov [Mon, 22 Aug 2016 14:17:47 +0000 (16:17 +0200)]
Merge remote-tracking branch 'origin/master'

5 years agoProvide way to setup default folder
Dmitry Trofimov [Mon, 22 Aug 2016 14:16:41 +0000 (16:16 +0200)]
Provide way to setup default folder

5 years agocorrect intention implementation and fix review comments: IDEA-CR-12757WEB-22639... clion/162.844.44 dbe/163.3061 dbe/163.3068 idea/163.3074
irengrig [Mon, 22 Aug 2016 13:56:25 +0000 (15:56 +0200)]
correct intention implementation and fix review comments: IDEA-CR-12757WEB-22639 ES6 string templates: create intention to convert between line separators
there should be two intentions, not one with changing direction, since the case with mixed line separators is possible
reuse logic from angular injection places search

5 years agounused declaration: don't allow popup for disabled label (IDEA-160116)
Anna Kozlova [Mon, 22 Aug 2016 13:25:58 +0000 (16:25 +0300)]
unused declaration: don't allow popup for disabled label (IDEA-160116)

5 years agoinspections presentation: don't calculate qualified name per hierarchy if name is...
Anna Kozlova [Mon, 22 Aug 2016 13:15:14 +0000 (16:15 +0300)]
inspections presentation: don't calculate qualified name per hierarchy if name is already qualified, e.g. package (IDEA-160046)

5 years agoinspections: disable whole tool if tool is disabled for all scopes and disabled for... clion/162.844.43
Dmitry Batkovich [Mon, 22 Aug 2016 13:27:50 +0000 (16:27 +0300)]
inspections: disable whole tool if tool is disabled for all scopes and disabled for "everything else"

5 years agorestore DataFlowRunner instruction logging and commented printlns
peter [Mon, 22 Aug 2016 13:23:25 +0000 (15:23 +0200)]
restore DataFlowRunner instruction logging and commented printlns

5 years agoIDEA-159678 Warn about possible NullPointerException on throw
peter [Mon, 22 Aug 2016 13:20:44 +0000 (15:20 +0200)]
IDEA-159678 Warn about possible NullPointerException on throw

5 years agoIDEA-159699 Error highlighting is different when using AssertJ descriptions
peter [Mon, 22 Aug 2016 12:28:24 +0000 (14:28 +0200)]
IDEA-159699 Error highlighting is different when using AssertJ descriptions

5 years agoIDEA-159977 inspector "Constant conditions & exceptions" not support org.springframew...
peter [Mon, 22 Aug 2016 11:43:52 +0000 (13:43 +0200)]
IDEA-159977 inspector "Constant conditions & exceptions" not support org.springframework.util.Assert

5 years agoextract HardcodedContractsTest
peter [Mon, 22 Aug 2016 11:20:57 +0000 (13:20 +0200)]
extract HardcodedContractsTest

5 years agoRegistry: move all changed values on top
Konstantin Bulenkov [Mon, 22 Aug 2016 12:50:49 +0000 (15:50 +0300)]
Registry: move all changed values on top

5 years agofix tests. Add OpenElementInNewWindow action to duplicates
Konstantin Bulenkov [Mon, 22 Aug 2016 12:26:15 +0000 (15:26 +0300)]
fix tests. Add OpenElementInNewWindow action to duplicates

5 years agofix compilation
Anna Kozlova [Mon, 22 Aug 2016 12:29:35 +0000 (15:29 +0300)]
fix compilation

5 years agounused declaration: mark as class pattern only implicit constructor (IDEA-160069...
Anna Kozlova [Mon, 22 Aug 2016 12:24:03 +0000 (15:24 +0300)]
unused declaration: mark as class pattern only implicit constructor (IDEA-160069; IDEA-160073)

5 years agoinspections presentation: don't calculate qualified name per hierarchy if name is...
Anna Kozlova [Mon, 22 Aug 2016 11:50:06 +0000 (14:50 +0300)]
inspections presentation: don't calculate qualified name per hierarchy if name is already qualified, e.g. package (IDEA-160046)

5 years agounused declaration: movable popup with visibilities
Anna Kozlova [Mon, 22 Aug 2016 10:29:10 +0000 (13:29 +0300)]
unused declaration: movable popup with visibilities

5 years agocheck if test library is present before calling `framework.isTestClass` or `framework... clion/163.3053
Nikolay.Tropin [Mon, 22 Aug 2016 11:32:35 +0000 (14:32 +0300)]
check if test library is present before calling `framework.isTestClass` or `framework.isPotentialTestClass` methods.

`findSuitableFrameworks` is called from EDT  and these methods are often require computation with class hierarchy. When caches are not ready it can take a significant time.

5 years agoMerge remote-tracking branch 'origin/master' appcode/163.3052
Dmitry Trofimov [Mon, 22 Aug 2016 11:58:50 +0000 (13:58 +0200)]
Merge remote-tracking branch 'origin/master'

5 years agoExtracted the method createSdk for Upsource.
Dmitry Trofimov [Mon, 22 Aug 2016 11:57:42 +0000 (13:57 +0200)]
Extracted the method createSdk for Upsource.

5 years agofix MultipleJdksHighlightingTest on windows phpstorm/163.3051 webstorm/163.3050
peter [Mon, 22 Aug 2016 11:01:52 +0000 (04:01 -0700)]
fix MultipleJdksHighlightingTest on windows

5 years agoIDEA-158543 Update in place for all versions idea/163.3049
Vladimir.Orlov [Mon, 22 Aug 2016 10:53:05 +0000 (13:53 +0300)]
IDEA-158543 Update in place for all versions
IDEA-152249 Patch update doesn't remove old folders from bundle
IDEA-139626 Installation update: vmoptions files get inadequate permissions (execute mode)
IDEA-120713 updater.jar makes incorrect patches on Linux
fixed patches for symlink files

5 years ago[java] removes unwanted pop-up from "Create module-info.java" action
Roman Shevchenko [Mon, 22 Aug 2016 10:37:29 +0000 (13:37 +0300)]
[java] removes unwanted pop-up from "Create module-info.java" action

5 years agounused declaration: update visibility on slider change, give title to popup to explai... idea/163.3048
Anna Kozlova [Mon, 22 Aug 2016 10:18:27 +0000 (13:18 +0300)]
unused declaration: update visibility on slider change, give title to popup to explain the meaning of the slider

5 years agounused declaration: implicit constructor visibility corresponds to its containing...
Anna Kozlova [Mon, 22 Aug 2016 10:02:50 +0000 (13:02 +0300)]
unused declaration: implicit constructor visibility corresponds to its containing class (IDEA-160013)

5 years agounused declaration: check method's visibility (IDEA-160072)
Anna Kozlova [Mon, 22 Aug 2016 09:01:05 +0000 (12:01 +0300)]
unused declaration: check method's visibility (IDEA-160072)

5 years agofix equals
Valentin Fondaratov [Fri, 19 Aug 2016 15:30:06 +0000 (18:30 +0300)]
fix equals

5 years agoPY-20102 Explicitly name each field of the bean to avoid problems with deserialization
Mikhail Golubev [Fri, 19 Aug 2016 16:52:51 +0000 (19:52 +0300)]
PY-20102 Explicitly name each field of the bean to avoid problems with deserialization

5 years agogive BoundedExecutor a name to help debug "already shutdown" errors appcode/163.3041 clion/163.3043
Alexey Kudravtsev [Mon, 22 Aug 2016 08:40:53 +0000 (11:40 +0300)]
give BoundedExecutor a name to help debug "already shutdown" errors

5 years ago[PasteMvnDependencyPreProcessor] use "compile scope" if nothing is specified
Yaroslav Lepenkin [Mon, 22 Aug 2016 08:16:18 +0000 (11:16 +0300)]
[PasteMvnDependencyPreProcessor] use "compile scope" if nothing is specified

5 years ago[java] NPE fix & diagnostics (EA-86973)
Roman Shevchenko [Mon, 22 Aug 2016 08:09:59 +0000 (11:09 +0300)]
[java] NPE fix & diagnostics (EA-86973)

5 years agofix CCE in tests when instantiating UnusedDeclarationBase
Anna Kozlova [Mon, 22 Aug 2016 08:00:09 +0000 (11:00 +0300)]
fix CCE in tests when instantiating UnusedDeclarationBase

5 years ago[java] better handling of JRT FS mounting errors (EA-87131)
Roman Shevchenko [Mon, 22 Aug 2016 07:52:41 +0000 (10:52 +0300)]
[java] better handling of JRT FS mounting errors (EA-87131)

5 years agojava null argument search: check that argument index < arguments.length (in case...
Dmitry Batkovich [Mon, 22 Aug 2016 06:39:47 +0000 (09:39 +0300)]
java null argument search: check that argument index < arguments.length (in case of red code)

5 years agoproperties: make code less yellow
Dmitry Batkovich [Thu, 18 Aug 2016 14:01:30 +0000 (17:01 +0300)]
properties: make code less yellow

5 years agoremove unusable logging
Dmitry Batkovich [Thu, 18 Aug 2016 10:01:41 +0000 (13:01 +0300)]
remove unusable logging

5 years agobuild scripts: reuse code which create plugin distribution to layout platform modules...
nik [Fri, 19 Aug 2016 18:04:47 +0000 (21:04 +0300)]
build scripts: reuse code which create plugin distribution to layout platform modules and libraries; improved collecting of *.jar files which need to be placed in product 'lib' directory

5 years agounused declaration: merge unused parameters inspection
Anna Kozlova [Mon, 22 Aug 2016 05:17:59 +0000 (08:17 +0300)]
unused declaration: merge unused parameters inspection

5 years agounused declaration: opposite direction of visibility labels
Anna Kozlova [Sat, 20 Aug 2016 14:13:23 +0000 (17:13 +0300)]
unused declaration: opposite direction of visibility labels

5 years agounused declaration: move entry points configurable back to inspection
Anna Kozlova [Sat, 20 Aug 2016 12:52:18 +0000 (15:52 +0300)]
unused declaration: move entry points configurable back to inspection

5 years agounused declaration: clarified parameters text
Anna Kozlova [Sat, 20 Aug 2016 12:40:11 +0000 (15:40 +0300)]
unused declaration: clarified parameters text

5 years agounused declaration: reuse super implementation
Anna Kozlova [Sat, 20 Aug 2016 11:55:25 +0000 (14:55 +0300)]
unused declaration: reuse super implementation

5 years agoduplicated class, allow to have same named class in tests: warn only if inside same...
Anna Kozlova [Sat, 20 Aug 2016 11:42:29 +0000 (14:42 +0300)]
duplicated class, allow to have same named class in tests: warn only if inside same source root type

5 years agoinline superclass: replace refs to super inside javadoc (IDEA-159913)
Anna Kozlova [Fri, 19 Aug 2016 13:42:12 +0000 (16:42 +0300)]
inline superclass: replace refs to super inside javadoc (IDEA-159913)

5 years agoreflect all visible highlightings in status bar (IDEA-111174)
Anna Kozlova [Fri, 19 Aug 2016 11:44:15 +0000 (14:44 +0300)]
reflect all visible highlightings in status bar (IDEA-111174)

5 years agoallow to delete cls file (IDEA-159270)
Anna Kozlova [Fri, 19 Aug 2016 11:29:24 +0000 (14:29 +0300)]
allow to delete cls file (IDEA-159270)

5 years agoautomatic renamer: validate all enabled rows (IDEA-159596)
Anna Kozlova [Fri, 19 Aug 2016 09:00:41 +0000 (12:00 +0300)]
automatic renamer: validate all enabled rows (IDEA-159596)

5 years agotarget renderer: functional expression aware (IDEA-159964)
Anna Kozlova [Fri, 19 Aug 2016 08:51:49 +0000 (11:51 +0300)]
target renderer: functional expression aware (IDEA-159964)