idea/community.git
4 years agoAdd missing python-community-configure-common.xml to the plugin build
Dmitry Trofimov [Thu, 23 Feb 2017 13:29:07 +0000 (14:29 +0100)]
Add missing python-community-configure-common.xml to the plugin build

4 years agoIG: ignore optional parameter in overriding method (IDEA-168410)
Bas Leijdekkers [Thu, 23 Feb 2017 13:55:24 +0000 (14:55 +0100)]
IG: ignore optional parameter in overriding method (IDEA-168410)

4 years agoIG: little cleanup (IDEA-CR-18187)
Bas Leijdekkers [Thu, 23 Feb 2017 11:24:03 +0000 (12:24 +0100)]
IG: little cleanup (IDEA-CR-18187)

4 years agodisable move via Cut action during indexing (EA-97309 - INRE: FileBasedIndexImpl...
peter [Thu, 23 Feb 2017 13:19:00 +0000 (14:19 +0100)]
disable move via Cut action during indexing (EA-97309 - INRE: FileBasedIndexImpl.handleDumbMode)

4 years agodon't waste CPU on status bar progress animation in power save mode
peter [Thu, 23 Feb 2017 13:01:11 +0000 (14:01 +0100)]
don't waste CPU on status bar progress animation in power save mode

4 years agoEA-96961 - assert: NoSwingUnderWriteAction.lambda$watchForEvents$: in Undo
Anton Makeev [Thu, 23 Feb 2017 13:22:34 +0000 (16:22 +0300)]
EA-96961 - assert: NoSwingUnderWriteAction.lambda$watchForEvents$: in Undo

4 years agomore diagnostics
Alexey Kudravtsev [Thu, 23 Feb 2017 12:00:18 +0000 (15:00 +0300)]
more diagnostics

4 years agoinsert dummy identifier for live templates like it's done in completion appcode/172.50 clion/172.51
peter [Thu, 23 Feb 2017 11:27:29 +0000 (12:27 +0100)]
insert dummy identifier for live templates like it's done in completion

insert to the host file copy and try to find an injected file at that offset

fixes:
* EA-83969 - assert: PsiFileImpl.clone
* EA-82795 - SIOOBE: DocumentWindowImpl.replaceString
* EA-82566 - assert: DocumentWindowImpl.calculateMinEditSequence

4 years ago[ui] DumbUnawareHider: muted "not available" text color
Yann Cébron [Thu, 23 Feb 2017 11:23:37 +0000 (12:23 +0100)]
[ui] DumbUnawareHider: muted "not available" text color

4 years agomake the path stable in VfsUtilPerformanceTest.testGetPathPerformance
peter [Thu, 23 Feb 2017 11:13:24 +0000 (12:13 +0100)]
make the path stable in VfsUtilPerformanceTest.testGetPathPerformance

4 years agouse only one registry key to limit maximum width for completion popup
Konstantin Bulenkov [Thu, 23 Feb 2017 11:04:23 +0000 (12:04 +0100)]
use only one registry key to limit maximum width for completion popup

4 years agoBatch consumption for completion 'addItems' API. phpstorm/172.49
kskrygan [Tue, 21 Feb 2017 15:57:43 +0000 (16:57 +0100)]
Batch consumption for completion 'addItems' API.

(cherry picked from commit ca5dd14)

4 years agotestFramework: do not try to register disposable on application after shutdown appcode/172.48 clion/172.47
Anton Makeev [Thu, 23 Feb 2017 08:06:34 +0000 (11:06 +0300)]
testFramework: do not try to register disposable on application after shutdown

fix for: Sorry but parent: Application (Disposed) (Unit test) (Internal) (Headless) (Command line) has already been disposed (see the cause for stacktrace) so the child: com.intellij.testFramework.ThreadTracker$$Lambda$1483/1809995046@42435b98 will never be disposed

4 years agotranslate injected->host offsets after all contributors' duringCompletion (IDEA-CR...
peter [Thu, 23 Feb 2017 07:21:24 +0000 (08:21 +0100)]
translate injected->host offsets after all contributors' duringCompletion (IDEA-CR-18487)

4 years agoSettings dialog: action to focus a search field appcode/172.43 clion/172.38 dbe/172.44 idea/172.37 phpstorm/172.42 pycharm/172.40 pycharm/172.41 rubymine/172.36 webstorm/172.45
Sergey Malenkov [Wed, 22 Feb 2017 23:05:44 +0000 (02:05 +0300)]
Settings dialog: action to focus a search field

4 years agoselect word: commit only current document (EA-93036 - assert: PsiDocumentManagerBase...
peter [Wed, 22 Feb 2017 21:21:43 +0000 (22:21 +0100)]
select word: commit only current document (EA-93036 - assert: PsiDocumentManagerBase.commitAllDocuments)

to avoid model modifications from dialogs shown in write-unsafe contexts
committing non-physical documents (in dialog editors) doesn't cause such assertions

4 years agomore diagnostics and fail-fast for EA-93279 - assert: SmartPointerManagerImpl.createS...
peter [Wed, 22 Feb 2017 21:14:51 +0000 (22:14 +0100)]
more diagnostics and fail-fast for EA-93279 - assert: SmartPointerManagerImpl.createSmartPsiFileRangePointer

4 years agoability to see all registry keys in search everywhere and edit them
Konstantin Bulenkov [Wed, 22 Feb 2017 21:26:07 +0000 (22:26 +0100)]
ability to see all registry keys in search everywhere and edit them

4 years agoadd methods for editing OptionDescriptor in GoToAction and SearchEverywhere
Konstantin Bulenkov [Wed, 22 Feb 2017 21:25:09 +0000 (22:25 +0100)]
add methods for editing OptionDescriptor in GoToAction and SearchEverywhere

4 years agodo check line markers if present in testData
Gregory.Shrago [Wed, 22 Feb 2017 21:00:08 +0000 (00:00 +0300)]
do check line markers if present in testData

4 years agoUse read action when necessary
Andrey Vlasovskikh [Wed, 22 Feb 2017 20:53:16 +0000 (23:53 +0300)]
Use read action when necessary

4 years agoMoved open().xreadlines() test to Typeshed test data
Andrey Vlasovskikh [Wed, 22 Feb 2017 20:33:23 +0000 (23:33 +0300)]
Moved open().xreadlines() test to Typeshed test data

4 years agoAdded pytest cache dir to .gitignore
Andrey Vlasovskikh [Wed, 22 Feb 2017 20:20:15 +0000 (23:20 +0300)]
Added pytest cache dir to .gitignore

4 years agoMoved map() and filter() for PY2 test into Typeshed test data
Andrey Vlasovskikh [Wed, 22 Feb 2017 20:07:45 +0000 (23:07 +0300)]
Moved map() and filter() for PY2 test into Typeshed test data

4 years agoUpdated test data to match Typeshed defitions appcode/172.35
Andrey Vlasovskikh [Wed, 22 Feb 2017 19:44:40 +0000 (22:44 +0300)]
Updated test data to match Typeshed defitions

We'll revert it as soon as https://github.com/python/typeshed/pull/876
is merged.

4 years agotry to fix failing tests
Dmitry Batkovich [Wed, 22 Feb 2017 19:39:36 +0000 (22:39 +0300)]
try to fix failing tests

4 years agoPY-18958: Always use case-sensitive resolve, even on Windows (PEP 235)
Ilya.Kazakevich [Wed, 22 Feb 2017 19:23:08 +0000 (22:23 +0300)]
PY-18958: Always use case-sensitive resolve, even on Windows (PEP 235)

4 years agoIDEA-144857 Find in Path layout
Vassiliy.Kudryashov [Wed, 22 Feb 2017 19:11:24 +0000 (22:11 +0300)]
IDEA-144857 Find in Path layout

Layout improvements; filemask checkbox trigger focus movement to filemask field or back to search field

4 years agoMoved typing.AsyncGenerator methods test into Typeshed test data
Andrey Vlasovskikh [Wed, 22 Feb 2017 19:15:21 +0000 (22:15 +0300)]
Moved typing.AsyncGenerator methods test into Typeshed test data

4 years agofix test data
Dmitry Batkovich [Wed, 22 Feb 2017 19:03:47 +0000 (22:03 +0300)]
fix test data

4 years agoMerge remote-tracking branch 'origin/master' clion/172.33
Alexey Utkin [Wed, 22 Feb 2017 18:15:00 +0000 (21:15 +0300)]
Merge remote-tracking branch 'origin/master'

4 years agoFix race condition while initializing of debugger session
Vitaliy.Bibaev [Wed, 22 Feb 2017 17:21:37 +0000 (20:21 +0300)]
Fix race condition while initializing of debugger session

4 years agoMove a registration of the memory view to the XDebugTabLayouter
Vitaliy.Bibaev [Tue, 21 Feb 2017 13:56:14 +0000 (16:56 +0300)]
Move a registration of the memory view to the XDebugTabLayouter

4 years agoFix handling enter in 'Emulate terminal' mode (PY-22610)
Dmitry Trofimov [Wed, 22 Feb 2017 17:37:55 +0000 (18:37 +0100)]
Fix handling enter in 'Emulate terminal' mode (PY-22610)

4 years agoDisable 'Enumlate terminal option' for remote interpreter (PY-22601)
Dmitry Trofimov [Wed, 22 Feb 2017 13:44:13 +0000 (14:44 +0100)]
Disable 'Enumlate terminal option' for remote interpreter (PY-22601)

4 years agoInitial value true prevents execution of the change listener when the checkbox is...
Dmitry Trofimov [Wed, 22 Feb 2017 12:46:39 +0000 (13:46 +0100)]
Initial value true prevents execution of the change listener when the checkbox is set to true (PY-22611)

4 years agofixed IllegalArgumentException on separated capture and insert points
Egor.Ushakov [Wed, 22 Feb 2017 17:36:36 +0000 (20:36 +0300)]
fixed IllegalArgumentException on separated capture and insert points

4 years agosplit declaration: fix CCE
Dmitry Batkovich [Wed, 22 Feb 2017 17:34:09 +0000 (20:34 +0300)]
split declaration: fix CCE

4 years agoMerge remote-tracking branch 'origin/uta/catch'
Alexey Utkin [Wed, 22 Feb 2017 17:24:28 +0000 (20:24 +0300)]
Merge remote-tracking branch 'origin/uta/catch'

4 years agocapture tests (invokeLater)
Egor.Ushakov [Wed, 22 Feb 2017 16:34:53 +0000 (19:34 +0300)]
capture tests (invokeLater)

4 years agoextracted doWhenXSessionPausedThenResume
Egor.Ushakov [Wed, 22 Feb 2017 15:37:58 +0000 (18:37 +0300)]
extracted doWhenXSessionPausedThenResume

4 years agoFixed the return type of 'object.__new__' after switching to Typeshed
Andrey Vlasovskikh [Wed, 22 Feb 2017 16:36:40 +0000 (19:36 +0300)]
Fixed the return type of 'object.__new__' after switching to Typeshed

For a while we will have it specified programmatically in our code
instead of Typeshed since we don't support Type[C] yet.

4 years agoUse faster 'getQualifiedName()' for stdlib
Andrey Vlasovskikh [Wed, 22 Feb 2017 16:22:11 +0000 (19:22 +0300)]
Use faster 'getQualifiedName()' for stdlib

It could return non-canonical names like '_io' instead of 'io', but
we can detect them as well.

4 years agoDelete dead code
Alexander Zolotov [Wed, 22 Feb 2017 15:38:59 +0000 (18:38 +0300)]
Delete dead code

4 years agoIDEA-168595 StackOverflow in PathThroughIdeFocusManager on License Dialog show
Denis Fokin [Wed, 22 Feb 2017 15:14:15 +0000 (18:14 +0300)]
IDEA-168595 StackOverflow in PathThroughIdeFocusManager on License Dialog show

4 years agoFix test data for PyArgumentListInspectionTest.testDictFromKeys.
Semyon Proshev [Wed, 22 Feb 2017 15:05:01 +0000 (18:05 +0300)]
Fix test data for PyArgumentListInspectionTest.testDictFromKeys.

4 years agoFixed regression in type inference for tuple elements after switching to Typeshed
Andrey Vlasovskikh [Wed, 22 Feb 2017 15:03:39 +0000 (18:03 +0300)]
Fixed regression in type inference for tuple elements after switching to Typeshed

This fixes PyTypeTest.testTupleTest().

4 years agojs psi elements do not include leading comment. Add treeElementsIncludeComment flag... appcode/172.29 clion/172.30
Maxim Kropotov [Wed, 22 Feb 2017 14:42:53 +0000 (17:42 +0300)]
js psi elements do not include leading comment. Add treeElementsIncludeComment flag that forces comment injection detection to skip a level. Fixes WEB-25568

4 years agoadd NotNull
Maxim Kropotov [Tue, 21 Feb 2017 18:01:04 +0000 (21:01 +0300)]
add NotNull

4 years agocleanup
Alexey Kudravtsev [Wed, 22 Feb 2017 14:37:28 +0000 (17:37 +0300)]
cleanup

4 years agoFixed NPE (PY-22827)
Andrey Vlasovskikh [Wed, 22 Feb 2017 13:59:10 +0000 (16:59 +0300)]
Fixed NPE (PY-22827)

4 years agopump swing events during AsyncHighlighterUpdater.completeAsyncTasks to allow the...
peter [Wed, 22 Feb 2017 13:51:32 +0000 (14:51 +0100)]
pump swing events during AsyncHighlighterUpdater.completeAsyncTasks to allow the future to complete at all (IDEA-CR-18495)

4 years agoavoid attaching document text
Alexey Kudravtsev [Wed, 22 Feb 2017 13:25:12 +0000 (16:25 +0300)]
avoid attaching document text

4 years agotake care to not access myTree in detached mode to fix EA-97339 - NPE: UsageViewImpl...
Alexey Kudravtsev [Wed, 22 Feb 2017 11:52:00 +0000 (14:52 +0300)]
take care to not access myTree in detached mode to fix EA-97339 - NPE: UsageViewImpl.rulesChanged

4 years agoextracted joinAll()
Alexey Kudravtsev [Tue, 21 Feb 2017 16:12:17 +0000 (19:12 +0300)]
extracted joinAll()

4 years agocleanup
Alexey Kudravtsev [Tue, 21 Feb 2017 15:33:21 +0000 (18:33 +0300)]
cleanup

4 years agoless console spam
Alexey Kudravtsev [Tue, 21 Feb 2017 14:25:15 +0000 (17:25 +0300)]
less console spam

4 years agohard limit on the test duration since the teamcity agents can be absolutely crazy
Alexey Kudravtsev [Tue, 21 Feb 2017 14:23:27 +0000 (17:23 +0300)]
hard limit on the test duration since the teamcity agents can be absolutely crazy

4 years agoone more test
Alexey Kudravtsev [Tue, 21 Feb 2017 14:15:27 +0000 (17:15 +0300)]
one more test

4 years agoa test for IDEA-CR-18486 run dumb mode listeners outside write action
peter [Wed, 22 Feb 2017 13:19:58 +0000 (14:19 +0100)]
a test for IDEA-CR-18486 run dumb mode listeners outside write action

4 years agohandle INRE in package project view nodes (EA-97460 - INRE: FileBasedIndexImpl.handle...
peter [Wed, 22 Feb 2017 12:27:06 +0000 (13:27 +0100)]
handle INRE in package project view nodes (EA-97460 - INRE: FileBasedIndexImpl.handleDumbMode)

4 years agointroduce variable displays dialogs, so no write action (EA-97466 - assert: NoSwingUn...
peter [Wed, 22 Feb 2017 12:24:15 +0000 (13:24 +0100)]
introduce variable displays dialogs, so no write action (EA-97466 - assert: NoSwingUnderWriteAction.lambda$watchForEvents$)

4 years agoAbility to limit max width of completion popup
Konstantin Bulenkov [Wed, 22 Feb 2017 13:35:11 +0000 (14:35 +0100)]
Ability to limit max width of completion popup

4 years agoRegistry editor shows color for 3/6 digit int values
Konstantin Bulenkov [Wed, 22 Feb 2017 13:34:04 +0000 (14:34 +0100)]
Registry editor shows color for 3/6 digit int values

4 years agoPY-22750: Use better py.test API to prevent "Module already imported"
Ilya.Kazakevich [Wed, 22 Feb 2017 13:31:31 +0000 (16:31 +0300)]
PY-22750: Use better py.test API to prevent "Module already imported"
warning

4 years agoPY-22775 (Python regex: incorrect "redundant character escape" for '{')
Bas Leijdekkers [Wed, 22 Feb 2017 13:09:04 +0000 (14:09 +0100)]
PY-22775 (Python regex: incorrect "redundant character escape" for '{')

4 years agoRegExp: python allows omitting both numbers in counted quantifier
Bas Leijdekkers [Wed, 22 Feb 2017 12:56:38 +0000 (13:56 +0100)]
RegExp: python allows omitting both numbers in counted quantifier

4 years agoIG: cleanup
Bas Leijdekkers [Wed, 22 Feb 2017 09:54:53 +0000 (10:54 +0100)]
IG: cleanup

4 years agoentities completion should be case sensitive (WEB-25553)
Dennis Ushakov [Wed, 22 Feb 2017 13:05:45 +0000 (16:05 +0300)]
entities completion should be case sensitive (WEB-25553)

4 years agoallow to specify param_N in capture expression
Egor.Ushakov [Wed, 22 Feb 2017 12:57:28 +0000 (15:57 +0300)]
allow to specify param_N in capture expression

4 years agoInit XSRf token using correct url for remote notebooks
Valentina Kiryushkina [Tue, 21 Feb 2017 11:39:24 +0000 (14:39 +0300)]
Init XSRf token using correct url for remote notebooks

4 years agoFix PY-22615 Jupyterhub: switching username to a bad one on the fly raises an exception
Valentina Kiryushkina [Mon, 13 Feb 2017 12:57:58 +0000 (15:57 +0300)]
Fix PY-22615 Jupyterhub: switching username to a bad one on the fly raises an exception

4 years agoPY-22587 Allow to save only password for a remote single user jupyter notebook
Valentina Kiryushkina [Thu, 9 Feb 2017 13:03:09 +0000 (16:03 +0300)]
PY-22587 Allow to save only password for a remote single user jupyter notebook

4 years agoPY-22568 Remote Jupyter Notebook: wrong URL causes NPE
Valentina Kiryushkina [Wed, 8 Feb 2017 11:27:04 +0000 (14:27 +0300)]
PY-22568 Remote Jupyter Notebook: wrong URL causes NPE

4 years agoPY-22567 Remote Jupyter Notebook: port out of range - IllegalArgumentException exception
Valentina Kiryushkina [Wed, 8 Feb 2017 09:31:29 +0000 (12:31 +0300)]
PY-22567 Remote Jupyter Notebook: port out of range - IllegalArgumentException exception

4 years agodisabled caching for now because it does not work in case of many different overrides
Egor.Ushakov [Wed, 22 Feb 2017 12:35:44 +0000 (15:35 +0300)]
disabled caching for now because it does not work in case of many different overrides

4 years agoAdd tests for PyParameterInfoHandler about overloads in imported module
Semyon Proshev [Thu, 16 Feb 2017 12:41:17 +0000 (15:41 +0300)]
Add tests for PyParameterInfoHandler about overloads in imported module

4 years agoReturn all members that are found inside a class while resolving class member. It...
Semyon Proshev [Thu, 16 Feb 2017 11:22:16 +0000 (14:22 +0300)]
Return all members that are found inside a class while resolving class member. It is useful in case of class in pyi-stubs.
Add tests for PyParameterInfoHandler about overloads in imported class.

4 years agojson schema for javascript refactoring, when looking what properties json object...
irengrig [Wed, 22 Feb 2017 12:11:50 +0000 (13:11 +0100)]
json schema for javascript refactoring, when looking what properties json object has (to remove duplicates from completion variants), ignore non-quoted properties

4 years agojson schema for javascript refactoring, fix completion insert handler to correctly...
irengrig [Wed, 22 Feb 2017 11:56:50 +0000 (12:56 +0100)]
json schema for javascript refactoring, fix completion insert handler to correctly insert comma -> fixes a couple of tests

4 years agoDBE: fix com.intellij.sql.highlighting.SqlRemapAndChangeHighlightingTest.testRemap
Alexander Kass [Wed, 22 Feb 2017 12:08:20 +0000 (15:08 +0300)]
DBE: fix com.intellij.sql.highlighting.SqlRemapAndChangeHighlightingTest.testRemap

4 years ago[parameter hints] "do not show for setters" logic moved into blacklist pattern clion/172.21
Yaroslav Lepenkin [Wed, 22 Feb 2017 11:57:57 +0000 (14:57 +0300)]
[parameter hints] "do not show for setters" logic moved into blacklist pattern

4 years ago[parameter hints] extracted option "Do not show for builder-like methods"
Yaroslav Lepenkin [Wed, 22 Feb 2017 11:42:21 +0000 (14:42 +0300)]
[parameter hints] extracted option "Do not show for builder-like methods"

4 years agoadd maven surefire plugin and maven dom inspection tests to the MAVEN_INTEGRATION_TES... appcode/172.20
Vladislav.Soroka [Wed, 22 Feb 2017 11:23:02 +0000 (14:23 +0300)]
add maven surefire plugin and maven dom inspection tests to the MAVEN_INTEGRATION_TESTS group

4 years agoWEB-25463 Module Dependencies Diagram: HTML: recognize CDN link if it's resolved... phpstorm/172.18 webstorm/172.17
irengrig [Wed, 22 Feb 2017 10:29:15 +0000 (11:29 +0100)]
WEB-25463 Module Dependencies Diagram: HTML: recognize CDN link if it's resolved via External library

4 years agoIDEA-101953: remove illegal node from its parent and allow to process other nodes
Sergey Malenkov [Wed, 22 Feb 2017 10:08:49 +0000 (13:08 +0300)]
IDEA-101953: remove illegal node from its parent and allow to process other nodes

4 years agoIDEA-101953: free a created anchor
Sergey Malenkov [Tue, 21 Feb 2017 12:34:20 +0000 (15:34 +0300)]
IDEA-101953: free a created anchor

4 years agoIDEA-101953: try to get a node for every parent element
Sergey Malenkov [Tue, 21 Feb 2017 12:33:05 +0000 (15:33 +0300)]
IDEA-101953: try to get a node for every parent element

4 years agoautomatically revert enabled/disabled renderers in tearDown
Egor.Ushakov [Wed, 22 Feb 2017 09:54:46 +0000 (12:54 +0300)]
automatically revert enabled/disabled renderers in tearDown

4 years agoIDEA-124950 Good code is red: Reference to array class is not detected correctly
alexey.afanasiev [Wed, 22 Feb 2017 09:46:35 +0000 (12:46 +0300)]
IDEA-124950 Good code is red: Reference to array class is not detected correctly

4 years agoDouble semicolons cleanup
Denis Fokin [Wed, 22 Feb 2017 09:42:57 +0000 (12:42 +0300)]
Double semicolons cleanup

4 years agoworkaround for IDEA-155240
Bas Leijdekkers [Tue, 21 Feb 2017 13:31:47 +0000 (14:31 +0100)]
workaround for IDEA-155240

4 years agoIDEA-168385 Widen Balloon API for new error selection feature
Kirill Kirichenko [Wed, 22 Feb 2017 06:18:38 +0000 (09:18 +0300)]
IDEA-168385 Widen Balloon API for new error selection feature

4 years agoIDEA-168578 Broken type inference in range expressions
alexey.afanasiev [Wed, 22 Feb 2017 09:23:22 +0000 (12:23 +0300)]
IDEA-168578 Broken type inference in range expressions

4 years agoextract OffsetMap host<->injected conversion out of completion internals appcode/172.15 clion/172.14
peter [Wed, 22 Feb 2017 08:27:57 +0000 (09:27 +0100)]
extract OffsetMap host<->injected conversion out of completion internals

to be reused in live templates (to fix EA-83969 - assert: PsiFileImpl.clone)
in addition, make file-offset correspondence more clear and keep host offsets as pivot (might fix EA-58373, EA-85230)

4 years agorun dumb mode listeners outside write action (IDEA-167905, EA-96966, EA-97005)
peter [Wed, 22 Feb 2017 07:36:11 +0000 (08:36 +0100)]
run dumb mode listeners outside write action (IDEA-167905, EA-96966, EA-97005)

4 years agodebug logging automake cancel/schedule events appcode/172.12 clion/172.8 dbe/172.9 idea/172.6 phpstorm/172.11 pycharm/172.10 pycharm/172.4 rubymine/172.5 webstorm/172.13
Eugene Zhuravlev [Tue, 21 Feb 2017 23:56:33 +0000 (00:56 +0100)]
debug logging automake cancel/schedule events

4 years agoDon't autodelete directory after deleting the last file in it idea/172.2
Kirill Likhodedov [Tue, 21 Feb 2017 22:05:19 +0000 (22:05 +0000)]
Don't autodelete directory after deleting the last file in it

Executing `git rm` on the last file in a directory makes Git remove not
only this file, but its parent directory as well.

Although it is Git's behavior, it is not convenient, and it is also
unexpected since `git rm` is not explicitly triggered by user who
deletes a file from the Project View.

GitVFSListener is triggered _after_ actual deletion of the file,
so the only thing Git should do is to delete the file from the index:
git rm --cached. This does the same as `git rm`, but prevents Git from
removing the directory (since files are not touched on disk, only
in the index).

Fixes IDEA-75590

4 years agocleanup, lambdify, use proper invokeLater
Kirill Likhodedov [Tue, 21 Feb 2017 21:56:21 +0000 (21:56 +0000)]
cleanup, lambdify, use proper invokeLater

4 years ago2017.2
Maxim.Mossienko [Tue, 21 Feb 2017 21:39:24 +0000 (22:39 +0100)]
2017.2