Commit Graph
79268 Commits
Author SHA1 Message Date
Maxim.Medvedev b9820ecfb8 fix implementing methods if invoked on class name 2012-03-15 12:51:42 +04:00
Maxim.Medvedev 24482db847 remove 'Replace qualifier reference with import' intention and enable by default 'Unnecessary qualified reference' inspection 2012-03-15 12:51:41 +04:00
Maxim.Medvedev a6a041e77c EA-34589 - SIOOBE: StringPattern$.accepts 2012-03-15 12:51:40 +04:00
Kirill Likhodedov 2e2f988f48 Extension point vcsChangesViewRefresher to provide additional custom refreshes on pressing "Refresh" in the Changes View.
Untracked files in Git are not queried within the normal refresh procedure - they are watched separately.
I.e. to make a full refresh when user presses "Refresh" in the Changes View it is needed to fairly refresh untracked files.
2012-03-15 12:40:32 +04:00
Dmitry Avdeev 11077868c8 cleanup 2012-03-15 12:33:50 +04:00
Denis.Zhdanov 3d1db2c8f3 IDEA-76142: Gradle support - cannot update IDEA projects once one of build.gradle files changes
Showing module dependency changes as well
2012-03-15 12:23:13 +04:00
Denis.Zhdanov 62a5e15186 IDEA-76142: Gradle support - cannot update IDEA projects once one of build.gradle files changes
1. Added support for showing dependency scope and 'exported' state changes;
2. Refactorings;
2012-03-15 12:14:37 +04:00
Denis.Zhdanov c3fbd93cd8 IDEA-59553 Make it possible to select code blocks via clicks on gutter
Tweak editor selection only on 'line numbers' gutter area
2012-03-15 12:14:37 +04:00
Sergey Simonchik cf4a5c9d62 FileUtil.notNullize() method added 2012-03-15 11:04:18 +04:00
Alexey Kudravtsev c0d12b171e persistent highlighter update bug 2012-03-15 09:39:24 +04:00
Alexey Kudravtsev d2cd1c33a1 correctly store reference 2012-03-15 09:39:23 +04:00
Alexey Kudravtsev 4ff3a83df5 performance: cache package name 2012-03-15 09:39:22 +04:00
Alexey Kudravtsev ae8945091e do not clear "exceptional read access" flag during stealing other jobs, or otherwise deadlock is possible when the stolen task tries to acquire the real read action 2012-03-15 09:39:21 +04:00
Alexey Kudravtsev 6454b34f90 make RefCountHolder soft-reacheable to avoid hard refs to PSI elements 2012-03-15 09:39:20 +04:00
Roman Shevchenko 4a599e6916 IDEA-82764 (use xdg-open for starting file manager) 2012-03-15 01:02:36 +01:00
Maxim.Mossienko 8668be5f52 WI-10268 htmlspecialchars_decode is not highlighted as predifined symbol 2012-03-15 01:13:08 +04:00
Roman Shevchenko d2e91a0d87 Deprecate an awfully named method 2012-03-14 21:17:22 +01:00
Maxim.Mossienko 720ce0cebd in headless environment do not create identifier highlighter pass 2012-03-14 23:46:52 +04:00
Roman Shevchenko b6fc858faf Do not invoke callback with an empty list 2012-03-14 20:30:22 +01:00
Roman Shevchenko ebed8435d8 Drop no longer needed path APIs 2012-03-14 19:31:05 +01:00
Roman Shevchenko 4491afc450 Common method extracted 2012-03-14 19:31:05 +01:00
anna 457a3dad14 setup antialiasing during gap in inplace rename 2012-03-14 18:18:32 +01:00
Roman Shevchenko 8e766a9a8f Fix default implementation of getCanonicalPath() 2012-03-14 18:14:17 +01:00
Dmitry Boulytchev 0cc4c5a1ed Fixed class parsing (compile-server). 2012-03-14 20:54:59 +04:00
Pavel Fatin 68a562df7e GroupedLogMessage: set assignee ID in nested messages 2012-03-14 20:41:33 +04:00
Dmitry Boulytchev b215e8557a Fixed class parsing (compile-server). 2012-03-14 20:40:07 +04:00
anna 2c7d491f4b incorrect default deprecation is used (IDEA-82721) 2012-03-14 17:24:57 +01:00
Konstantin Bulenkov abf2dc4199 cleanup 2012-03-14 16:58:39 +01:00
peter df39999cb6 when creating a breakpoint by shift+click, replace the default value with selection from editor, but not with the reference under the caret 2012-03-14 19:56:10 +04:00
Sergey Evdokimov 015e92ba8a IDEA-81112 (Add support for resume-from (-rf) on failed maven builds) 2012-03-14 19:51:24 +04:00
Konstantin Bulenkov 3c944d1fac use GraphicsUtil 2012-03-14 16:41:03 +01:00
Maxim.Mossienko bb1aae2b73 highlight usage at caret by default 2012-03-14 19:31:00 +04:00
Sergey Evdokimov 647fdd49a1 IDEA-81112 (Add support for resume-from (-rf) on failed maven builds) 2012-03-14 19:27:22 +04:00
Kirill Likhodedov 98b259a868 Don't fail while creating GitRepository.
If an exception happens during GitRepository creation from GitRepositoryManager#updateRepositoriesCollection(), just log the error and go further.

Otherwise the repository wouldn't be detected ever unless another updateRepositoriesCollection() is called.
2012-03-14 19:24:14 +04:00
Kirill Likhodedov 9a7b237aeb GitRootConverter: cache detected roots
* GitRepositoryManager.GIT_ROOTS_CHANGE message bus Topic - to notify about git roots changes.
* Fire the GIT_ROOTS_CHANGE event on every scan in GitRootScanner.
* Listen to events in GitRootConverter and update the detected roots list.
* Supply the GitRootDetectInfo to the GitRootErrorsFinder for better control on when to detect.
2012-03-14 19:24:13 +04:00
Kirill Likhodedov 9b3286f9c4 Read action doesn't need to be in EDT 2012-03-14 19:24:12 +04:00
Kirill Likhodedov d3f23906a8 Detect nested roots in folders for <Project> mapping.
GitRootConverter is called each time when ProjectLevelVcsManager#getVcsRoots is called.
There all content roots (in the case of <Project> mapping) are converted to a set of Git roots.
If <Project> mapping is defined, all Git roots are found by GitRootDetector and returned.
Otherwise, the same strategy of finding the closest Git above the given root is used.

Update tests to reflect the possibility.

Note: This is not final version, because it queries GitRootDetector each time,
which is bad for performance.
2012-03-14 19:24:11 +04:00
peter 05bcacd788 dispose diff panel when the containing frame is disposed 2012-03-14 19:18:59 +04:00
peter 0f3d70bc09 GroovyEnterHandler shouldn't work for non-groovy files 2012-03-14 19:18:59 +04:00
Konstantin Bulenkov 68e293f16e anti aliasing 2012-03-14 16:13:25 +01:00
Konstantin Bulenkov c8d5ccc8c4 diff + intersection for maps 2012-03-14 16:13:25 +01:00
Roman Shevchenko e816eb7e84 Drop no longer needed path APIs 2012-03-14 16:00:11 +01:00
Roman Shevchenko ca5b78f9c2 Fix NCDFE on update 2012-03-14 15:42:02 +01:00
Vassiliy Kudryashov feafb02666 IDEA-68331 Mouse 4/Mouse 5 button not detected 2012-03-14 18:35:55 +04:00
Bas Leijdekkers 32ac88beec IDEA-82364 (Add intention converting if with similar one-statement branches to statement with ternary operator) 2012-03-14 15:34:21 +01:00
Bas Leijdekkers 8305504198 add option to report if statements containing method calls to "'if' statement could be replaced with conditional expression" inspection 2012-03-14 14:52:25 +01:00
Eugene Kudelevsky d64f5ecd2d tag tree highlighting: we should check all view providers (ex. erb file) 2012-03-14 17:50:14 +04:00
Bas Leijdekkers 7ae5c45604 handle polyadic expression, try-with-resources and class object access expressions in equivalence checker 2012-03-14 14:22:13 +01:00
Maxim.Mossienko 8b3bf4de44 limit pending write requests size to avoid OOME 2012-03-14 17:20:04 +04:00
peter 03ef367fc5 keep method signatures on soft references 2012-03-14 16:52:38 +04:00