idea/community.git
4 years agoUpdate jediterm lib to fix the input of some characters with alt button (IDEA-115276)
Dmitry Trofimov [Thu, 19 Jan 2017 18:21:28 +0000 (19:21 +0100)]
Update jediterm lib to fix the input of some characters with alt button (IDEA-115276)

4 years agoIDEA-166059 Corrupted zero latency typing with the new hidpi - preserve caret consistency
Egor.Ushakov [Thu, 19 Jan 2017 18:08:01 +0000 (21:08 +0300)]
IDEA-166059 Corrupted zero latency typing with the new hidpi - preserve caret consistency

4 years agoOracle Introspector: limit the source line width with a registry value (but by defaul... appcode/171.2533
Leonid Bushuev [Thu, 19 Jan 2017 17:42:44 +0000 (18:42 +0100)]
Oracle Introspector: limit the source line width with a registry value (but by default 4000 that means no limits). It's a fix of DBE-3863 that's compatible with DataGrip version 2016.3.

4 years agoIDEA-166059 Corrupted zero latency typing with the new hidpi
Egor.Ushakov [Thu, 19 Jan 2017 17:34:30 +0000 (20:34 +0300)]
IDEA-166059 Corrupted zero latency typing with the new hidpi

4 years agoMerge remote-tracking branch 'origin/master'
Dmitry Trofimov [Thu, 19 Jan 2017 17:12:35 +0000 (18:12 +0100)]
Merge remote-tracking branch 'origin/master'

4 years agoVisibility fixes in UsagesViewImpl and UsagesViewManagerImpl (IDEA-CR-17463) clion/171.2532
Andrey Akinshin [Thu, 19 Jan 2017 16:15:13 +0000 (21:15 +0500)]
Visibility fixes in UsagesViewImpl and UsagesViewManagerImpl (IDEA-CR-17463)

4 years agoMerge branch 'traff/terminal-urls'
Dmitry Trofimov [Thu, 19 Jan 2017 15:59:36 +0000 (16:59 +0100)]
Merge branch 'traff/terminal-urls'

4 years ago[groovy] modify original logback tests to test IDEA-159869
Daniil Ovchinnikov [Thu, 19 Jan 2017 15:55:13 +0000 (18:55 +0300)]
[groovy] modify original logback tests to test IDEA-159869

4 years ago[test fw] allow to specify source root type
Daniil Ovchinnikov [Thu, 19 Jan 2017 15:51:28 +0000 (18:51 +0300)]
[test fw] allow to specify source root type

4 years agoEDU-853 IOException when failing any subtask with several placeholders idea/171.2531
liana.bakradze [Thu, 19 Jan 2017 15:19:44 +0000 (18:19 +0300)]
EDU-853 IOException when failing any subtask with several placeholders

4 years agoIDEA-166362 Show warning notification concerning outdated boot java runtime
Alexey Ushakov [Thu, 19 Jan 2017 15:14:52 +0000 (18:14 +0300)]
IDEA-166362 Show warning notification concerning outdated boot java runtime

Corrected jdk bundle path logic

4 years agorunnerw: update usage docs appcode/171.2529 clion/171.2528
Sergey Simonchik [Thu, 19 Jan 2017 14:51:38 +0000 (17:51 +0300)]
runnerw: update usage docs

4 years agomake CompositeFoldingBuilder more dumb-aware, provide a fallback if INRE is thrown...
peter [Thu, 19 Jan 2017 13:54:19 +0000 (14:54 +0100)]
make CompositeFoldingBuilder more dumb-aware, provide a fallback if INRE is thrown (IDEA-165853)

4 years agoallow getStub to return something after AST is GC-ed
peter [Thu, 19 Jan 2017 13:52:03 +0000 (14:52 +0100)]
allow getStub to return something after AST is GC-ed

4 years agoasync debugger: capture locals values, show captured stack inside the frames view
Egor.Ushakov [Thu, 19 Jan 2017 13:29:17 +0000 (16:29 +0300)]
async debugger: capture locals values, show captured stack inside the frames view

4 years agoadded NotNull
Egor.Ushakov [Wed, 18 Jan 2017 14:33:18 +0000 (17:33 +0300)]
added NotNull

4 years agoadded toString
Egor.Ushakov [Wed, 18 Jan 2017 13:59:42 +0000 (16:59 +0300)]
added toString

4 years agoIDEA-CR-17497
Dennis Ushakov [Thu, 19 Jan 2017 13:17:07 +0000 (16:17 +0300)]
IDEA-CR-17497

4 years agoIDEA-165329 Can't copy class reference by hitting Ctrl+C in Navigate/Class list
peter [Thu, 19 Jan 2017 11:02:45 +0000 (12:02 +0100)]
IDEA-165329 Can't copy class reference by hitting Ctrl+C in Navigate/Class list

4 years agoMouseWheelEventEx: don't warn on absent getScrollingDelta method
Pavel Fatin [Thu, 19 Jan 2017 12:42:32 +0000 (13:42 +0100)]
MouseWheelEventEx: don't warn on absent getScrollingDelta method

4 years agoComponentSettings.isInterpolationEligibleFor heuristics improved
Pavel Fatin [Thu, 19 Jan 2017 12:38:17 +0000 (13:38 +0100)]
ComponentSettings.isInterpolationEligibleFor heuristics improved

4 years agocreate factory for "Configure annotations" button/action listener to reduce code...
Bas Leijdekkers [Thu, 19 Jan 2017 11:08:51 +0000 (12:08 +0100)]
create factory for "Configure annotations" button/action listener to reduce code duplication

4 years agocleanup intention description and template
Bas Leijdekkers [Wed, 18 Jan 2017 16:53:02 +0000 (17:53 +0100)]
cleanup intention description and template

4 years agomake intention template consistent with other java intentions
Bas Leijdekkers [Wed, 18 Jan 2017 16:52:37 +0000 (17:52 +0100)]
make intention template consistent with other java intentions

4 years agorevert fix for IDEA-166160 - it causes regression when copying to LibreOffice
Dmitry Batrak [Thu, 19 Jan 2017 12:17:56 +0000 (15:17 +0300)]
revert fix for IDEA-166160 - it causes regression when copying to LibreOffice

4 years agoavoid "project already disposed" when invoking runWhenSmart() from background
Alexey Kudravtsev [Wed, 18 Jan 2017 13:34:16 +0000 (16:34 +0300)]
avoid "project already disposed" when invoking runWhenSmart() from background

4 years agoModify JSON grammar to match more general text as IDENTIFIER tokens
Mikhail Golubev [Mon, 16 Jan 2017 13:56:19 +0000 (16:56 +0300)]
Modify JSON grammar to match more general text as IDENTIFIER tokens

It simplifies implementation of completion contributors that
are supposed to give aid in writing various configuration files
making it's possible to start typing some structured content
of a string literal (in particular, name of npm package) not
putting it in quotes first and without need to deal with a series
of TokenType.BAD_CHARACTERs in PSI.

Additionally, in the standard compliance inspection IDENTIFIERS are now
reported as "illegal tokens", since, striclty speaking, they're no
longer just identifiers (though the name is quite confusing now).

4 years agoi18n for Tabs Placement actions appcode/171.2525 clion/171.2526
Konstantin Bulenkov [Thu, 19 Jan 2017 11:44:34 +0000 (12:44 +0100)]
i18n for Tabs Placement actions

4 years agoEDU-846 Task doesn't change failed to successful status on successful subtask completion
liana.bakradze [Thu, 19 Jan 2017 11:41:52 +0000 (14:41 +0300)]
EDU-846 Task doesn't change failed to successful status on successful subtask completion

4 years agoextend editor API: add conversion from/to floating point coordinates (relevant for...
Dmitry Batrak [Thu, 19 Jan 2017 11:17:13 +0000 (14:17 +0300)]
extend editor API: add conversion from/to floating point coordinates (relevant for HiDPI support)

4 years agoremove @Nullable from ActionManager#getAction to avoid too many false NPE warnings... phpstorm/171.2524
peter [Thu, 19 Jan 2017 10:49:12 +0000 (11:49 +0100)]
remove @Nullable from ActionManager#getAction to avoid too many false NPE warnings (IDEA-CR-17512)

4 years agoexclude jdk from groovyc compilation classpath (IDEA-166169)
peter [Thu, 19 Jan 2017 10:36:06 +0000 (11:36 +0100)]
exclude jdk from groovyc compilation classpath (IDEA-166169)

4 years agoIDEA-166747 Freeze after calling duplicate action repeatedly
peter [Thu, 19 Jan 2017 10:33:22 +0000 (11:33 +0100)]
IDEA-166747 Freeze after calling duplicate action repeatedly

evaluateLanguageInRange can be called with a range from the editor with
uncommitted document. There's no point in repeatedly doing findElementAt for offsets outside PsiFile. It should be enough to just traverse the hierarchy up until an element that covers the selection or the file, and return the language of the found element

4 years agoIDEA-166796 @MagicConstant completion improvements
peter [Thu, 19 Jan 2017 10:14:20 +0000 (11:14 +0100)]
IDEA-166796 @MagicConstant completion improvements

* provide @MagicConstant variants even in annotations.jar absence
* exclude other constants from the same class

4 years agojson schema, listen config file changes also through the document adapter
irengrig [Tue, 17 Jan 2017 13:52:26 +0000 (14:52 +0100)]
json schema, listen config file changes also through the document adapter

4 years agoIDEA-166160 Copy with format (rtf) pastes in separate text box in powerpoint
Dmitry Batrak [Thu, 19 Jan 2017 09:28:18 +0000 (12:28 +0300)]
IDEA-166160 Copy with format (rtf) pastes in separate text box in powerpoint

4 years agoMerge remote-tracking branch 'origin/master' appcode/171.2521 clion/171.2520
Vladislav.Soroka [Thu, 19 Jan 2017 08:57:07 +0000 (11:57 +0300)]
Merge remote-tracking branch 'origin/master'

4 years agoanonymous base type: detect diamond by text for java 9
Anna Kozlova [Thu, 19 Jan 2017 08:21:23 +0000 (11:21 +0300)]
anonymous base type: detect diamond by text for java 9

4 years agosimplify (IDEA-CR-17407)
Anna Kozlova [Wed, 18 Jan 2017 17:39:58 +0000 (20:39 +0300)]
simplify (IDEA-CR-17407)

4 years agoEA-94848 - NPE: ChangeContextUtil.decodeReferenceExpression
Anna Kozlova [Wed, 18 Jan 2017 17:26:50 +0000 (20:26 +0300)]
EA-94848 - NPE: ChangeContextUtil.decodeReferenceExpression

4 years agoEA-94850 - AIOOBE: PsiMethodReferenceExpressionImpl.getPotentiallyApplicableMemberInt...
Anna Kozlova [Wed, 18 Jan 2017 17:23:22 +0000 (20:23 +0300)]
EA-94850 - AIOOBE: PsiMethodReferenceExpressionImpl.getPotentiallyApplicableMemberInternal

4 years agoavoid CCE caused by jdk bug
Anna Kozlova [Wed, 18 Jan 2017 17:12:51 +0000 (20:12 +0300)]
avoid CCE caused by jdk bug
EA-94856 - CCE: HistoryDialog$.run

4 years agodon't repeat name suggestions if prefix is empty
Anna Kozlova [Wed, 18 Jan 2017 16:33:17 +0000 (19:33 +0300)]
don't repeat name suggestions if prefix is empty

4 years agoMerge branch 'gradle-performance' of https://github.com/ingokegel/intellij-community
Vladislav.Soroka [Thu, 19 Jan 2017 08:27:14 +0000 (11:27 +0300)]
Merge branch 'gradle-performance' of https://github.com/ingokegel/intellij-community

4 years agoMethodCallUtils#isFunctionalReferenceTo moved to FunctionalExpressionUtils; theck...
Tagir Valeev [Thu, 19 Jan 2017 08:17:44 +0000 (15:17 +0700)]
MethodCallUtils#isFunctionalReferenceTo moved to FunctionalExpressionUtils; theck that methodName is referenceName before resolve (IDEA-CR-17462)

4 years agocheck if application is disposed
Dmitry Avdeev [Thu, 19 Jan 2017 07:58:56 +0000 (10:58 +0300)]
check if application is disposed

4 years agoIDEA-156888 Simplify JDK setup for new projects: filter out dependent jdk types
Dmitry Avdeev [Thu, 19 Jan 2017 07:57:46 +0000 (10:57 +0300)]
IDEA-156888 Simplify JDK setup for new projects: filter out dependent jdk types

4 years agoIDEA-156888 Simplify JDK setup for new projects: filter out dependent jdk types
Dmitry Avdeev [Thu, 19 Jan 2017 07:21:01 +0000 (10:21 +0300)]
IDEA-156888 Simplify JDK setup for new projects: filter out dependent jdk types

4 years agoIDEA-166814 Stream API migration: support more post-loop steps
Tagir Valeev [Thu, 19 Jan 2017 07:12:27 +0000 (14:12 +0700)]
IDEA-166814 Stream API migration: support more post-loop steps

4 years agoIDEA-165396 Don't start indexing after the project is disposed appcode/171.2516 clion/171.2512 dbe/171.2513 phpstorm/171.2514 pycharm/171.2511 pycharm/171.2515 rubymine/171.2510 webstorm/171.2518
peter [Wed, 18 Jan 2017 19:41:58 +0000 (20:41 +0100)]
IDEA-165396 Don't start indexing after the project is disposed

4 years agoIDEA-166007 Tolerate plugin.xml errors when actions aren't instanceof AnAction
peter [Wed, 18 Jan 2017 19:03:45 +0000 (20:03 +0100)]
IDEA-166007 Tolerate plugin.xml errors when actions aren't instanceof AnAction

4 years agodon't dispose test light project explicitly, it should be disposed after being closed...
peter [Wed, 18 Jan 2017 18:47:50 +0000 (19:47 +0100)]
don't dispose test light project explicitly, it should be disposed after being closed, elsewhere

4 years agoIDEA-166444 Good code yellow: Not annotated method with primitive return type is...
peter [Wed, 18 Jan 2017 18:17:29 +0000 (19:17 +0100)]
IDEA-166444 Good code yellow: Not annotated method with primitive return type is used as an override for a method annotated with NotNull

4 years agoIDEA-166582 No completion inside lambda when instance of contains lambda
peter [Wed, 18 Jan 2017 18:09:20 +0000 (19:09 +0100)]
IDEA-166582 No completion inside lambda when instance of contains lambda

4 years agoIDEA-166602 Duplicate Structural Search Inspection breaks feature in IDEA 2016.3...
peter [Wed, 18 Jan 2017 17:49:47 +0000 (18:49 +0100)]
IDEA-166602 Duplicate Structural Search Inspection breaks feature in IDEA 2016.3.2 and 2016.3.3EA

4 years agoMake com.intellij.usages.impl.ExporterToTextFile public (IDEA-CR-17471)
Andrey Akinshin [Wed, 18 Jan 2017 06:57:19 +0000 (11:57 +0500)]
Make com.intellij.usages.impl.ExporterToTextFile public (IDEA-CR-17471)

4 years agoNo popup dialog in "Copy to IDE" action, default name suggestion from project name
Rustam Vishnyakov [Wed, 18 Jan 2017 18:01:58 +0000 (21:01 +0300)]
No popup dialog in "Copy to IDE" action, default name suggestion from project name

4 years agouse utility method
Dmitry Batkovich [Wed, 18 Jan 2017 17:25:49 +0000 (20:25 +0300)]
use utility method

4 years ago[groovy] resolve to runtime dependencies from groovy resources (IDEA-159869)
Daniil Ovchinnikov [Wed, 18 Jan 2017 17:11:58 +0000 (20:11 +0300)]
[groovy] resolve to runtime dependencies from groovy resources (IDEA-159869)

4 years agojava usages highlighting: add an additional test for multiple jdk configuration
Dmitry Batkovich [Wed, 18 Jan 2017 16:47:29 +0000 (19:47 +0300)]
java usages highlighting: add an additional test for multiple jdk configuration

4 years agojavac ast indices: do not close index for a project if compilation for other project...
Dmitry Batkovich [Wed, 18 Jan 2017 16:39:47 +0000 (19:39 +0300)]
javac ast indices: do not close index for a project if compilation for other project was invoked

4 years agojava highlight usages in file: highlight usages of a method when its super method...
Dmitry Batkovich [Wed, 18 Jan 2017 16:16:21 +0000 (19:16 +0300)]
java highlight usages in file: highlight usages of a method when its super method is from alternative jdk

4 years agolambda -> method ref: don't transform by default array access qualifiers (IDEA-166740)
Anna Kozlova [Wed, 18 Jan 2017 15:20:34 +0000 (18:20 +0300)]
lambda -> method ref: don't transform by default array access qualifiers (IDEA-166740)

4 years agoallow expanding live templates in unfinished property
Dennis Ushakov [Wed, 18 Jan 2017 15:34:23 +0000 (18:34 +0300)]
allow expanding live templates in unfinished property

4 years agouse psi file to check context instead of file type (WEB-17049)
Dennis Ushakov [Wed, 18 Jan 2017 14:46:23 +0000 (17:46 +0300)]
use psi file to check context instead of file type (WEB-17049)

4 years agoIG: recognize ListIterator.hasPrevious() (IDEA-166729) appcode/171.2507 clion/171.2506
Bas Leijdekkers [Wed, 18 Jan 2017 14:46:07 +0000 (15:46 +0100)]
IG: recognize ListIterator.hasPrevious() (IDEA-166729)

4 years agoIDEA-156888 Simplify JDK setup for new projects: check for jdk validity
Dmitry Avdeev [Wed, 18 Jan 2017 14:48:35 +0000 (17:48 +0300)]
IDEA-156888 Simplify JDK setup for new projects: check for jdk validity

4 years agoCleanup
Rustam Vishnyakov [Wed, 18 Jan 2017 14:38:55 +0000 (17:38 +0300)]
Cleanup

4 years agoModuleLoadingStressTest
Dmitry Avdeev [Wed, 18 Jan 2017 14:31:27 +0000 (17:31 +0300)]
ModuleLoadingStressTest

4 years agojavadoc
Dmitry Avdeev [Wed, 18 Jan 2017 12:57:33 +0000 (15:57 +0300)]
javadoc

4 years agorandom IDEA warnings fixed
Michael Golubev [Wed, 18 Jan 2017 14:11:56 +0000 (15:11 +0100)]
random IDEA warnings fixed

4 years agoprovide accessibility and static modifier fixes for method references (IDEA-166707)
Anna Kozlova [Wed, 18 Jan 2017 13:51:50 +0000 (16:51 +0300)]
provide accessibility and static modifier fixes for method references (IDEA-166707)

4 years agoprovide super parameter name during equals generation (IDEA-166727)
Anna Kozlova [Wed, 18 Jan 2017 13:15:57 +0000 (16:15 +0300)]
provide super parameter name during equals generation (IDEA-166727)

4 years agosearch for tests to rename by the same pattern as for test navigation (IDEA-166768)
Anna Kozlova [Wed, 18 Jan 2017 12:36:18 +0000 (15:36 +0300)]
search for tests to rename by the same pattern as for test navigation (IDEA-166768)

4 years agodisable editable console by default until fixed
Anna Kozlova [Wed, 18 Jan 2017 11:13:44 +0000 (14:13 +0300)]
disable editable console by default until fixed

4 years agorename to JumpToColorsAndFonts
Gregory.Shrago [Wed, 18 Jan 2017 13:38:21 +0000 (16:38 +0300)]
rename to JumpToColorsAndFonts

4 years agocleanup: reformatting, unused imports and finals removed clion/171.2504
nik [Wed, 18 Jan 2017 13:24:51 +0000 (16:24 +0300)]
cleanup: reformatting, unused imports and finals removed

4 years ago'Project Structure' dialog: additional validation for qualified module names
nik [Wed, 18 Jan 2017 13:19:27 +0000 (16:19 +0300)]
'Project Structure' dialog: additional validation for qualified module names

4 years agocleanup: removed unnecessary calls
nik [Wed, 18 Jan 2017 11:46:01 +0000 (14:46 +0300)]
cleanup: removed unnecessary calls

Now name is trimmed in NamedConfigurable.

4 years ago'Project Structure' dialog: show error if user tries to specify empty name for a...
nik [Wed, 18 Jan 2017 11:44:55 +0000 (14:44 +0300)]
'Project Structure' dialog: show error if user tries to specify empty name for a project element

4 years agocleanup
Alexey Kudravtsev [Wed, 18 Jan 2017 12:25:43 +0000 (15:25 +0300)]
cleanup

4 years agotreat "Stress" tests as performance
Alexey Kudravtsev [Tue, 17 Jan 2017 13:50:06 +0000 (16:50 +0300)]
treat "Stress" tests as performance

4 years agodo not highlight members inside deprecated class as "deprecated member is still used"
Alexey Kudravtsev [Tue, 17 Jan 2017 12:19:50 +0000 (15:19 +0300)]
do not highlight members inside deprecated class as "deprecated member is still used"

4 years agouse editor default bg & fg if missing (good for darcula)
Gregory.Shrago [Wed, 18 Jan 2017 12:53:59 +0000 (15:53 +0300)]
use editor default bg & fg if missing (good for darcula)

4 years ago[platform]: ability to switch off statistics in listPopup autoselection
Nadya Zabrodina [Wed, 18 Jan 2017 12:51:43 +0000 (15:51 +0300)]
[platform]: ability to switch off statistics in listPopup autoselection

* (IDEA-166730) Switch off statistics for BranchPopup;

4 years agoIDEA-166734 Code folding should unfold when I hit F2 to find the next error/warning
Dmitry Batrak [Wed, 18 Jan 2017 12:35:23 +0000 (15:35 +0300)]
IDEA-166734 Code folding should unfold when I hit F2 to find the next error/warning

4 years agoallow \r in escapeToRegexp (see EA-94755)
Egor.Ushakov [Wed, 18 Jan 2017 12:35:07 +0000 (15:35 +0300)]
allow \r in escapeToRegexp (see EA-94755)

4 years agoconsole: preserve printed hyperlinks when rehighlighting (IDEA-164211) appcode/171.2503 clion/171.2502
peter [Wed, 18 Jan 2017 11:49:44 +0000 (12:49 +0100)]
console: preserve printed hyperlinks when rehighlighting (IDEA-164211)

4 years agoshow bytecode for any class file (e.g. from the output)
Egor.Ushakov [Wed, 18 Jan 2017 11:21:50 +0000 (14:21 +0300)]
show bytecode for any class file (e.g. from the output)

4 years agomake sure scheduled or running automake builds are canceled before a process starts
Eugene Zhuravlev [Wed, 18 Jan 2017 11:15:43 +0000 (12:15 +0100)]
make sure scheduled or running automake builds are canceled before a process starts

4 years agocorrected statistics by language level: add default project language level only if...
nik [Wed, 18 Jan 2017 11:00:35 +0000 (14:00 +0300)]
corrected statistics by language level: add default project language level only if it is inherited in some module

4 years agovisibility: fix target phpstorm/171.2501
Anna Kozlova [Wed, 18 Jan 2017 10:25:27 +0000 (13:25 +0300)]
visibility: fix target

4 years agofix testdata
Anna Kozlova [Wed, 18 Jan 2017 09:58:23 +0000 (12:58 +0300)]
fix testdata

4 years agoAdd rehighlightHyperlinksAndFoldings in ConsoleViewImpl (IDEA-CR-17470)
Andrey Akinshin [Wed, 18 Jan 2017 06:39:53 +0000 (11:39 +0500)]
Add rehighlightHyperlinksAndFoldings in ConsoleViewImpl (IDEA-CR-17470)

4 years agogradle: replace usages of deprecated method GroovyPsiManager.findClassWithCache
Vladislav.Soroka [Wed, 18 Jan 2017 10:11:26 +0000 (13:11 +0300)]
gradle: replace usages of deprecated  method GroovyPsiManager.findClassWithCache

4 years agoground type for explicitly typed lambda: add sam to target class substitution (IDEA...
Anna Kozlova [Wed, 18 Jan 2017 09:08:05 +0000 (12:08 +0300)]
ground type for explicitly typed lambda: add sam to target class substitution (IDEA-166662)

4 years agoMinor Remove unused logger appcode/171.2500 clion/171.2499 phpstorm/171.2498
Valentina Kiryushkina [Wed, 18 Jan 2017 08:51:17 +0000 (11:51 +0300)]
Minor Remove unused logger

4 years agoLibraryPresentationProvider#getIcon method generified
nik [Wed, 18 Jan 2017 08:28:52 +0000 (11:28 +0300)]
LibraryPresentationProvider#getIcon method generified

4 years agocustom library types: javadocs added
nik [Wed, 18 Jan 2017 08:25:00 +0000 (11:25 +0300)]
custom library types: javadocs added

4 years ago'Project Structure' dialog: fix moving module node to a group node if it was initiall...
nik [Wed, 18 Jan 2017 08:01:38 +0000 (11:01 +0300)]
'Project Structure' dialog: fix moving module node to a group node if it was initially located directly the tree root