Commit Graph
235262 Commits
Author SHA1 Message Date
Tagir Valeev 6ea7ea44c2 Code completion updates for enhanced switches (IDEA-202340)
- Support inside switch expression
- Support rule-based labels
- Support break inside expression
- Suggest 'switch' keyword in expressions
- Insert ':' or '->' depending on the switch type
2018-12-08 16:30:42 +07:00
Vladimir Krivosheev 86e1009135 deprecate jdom.kt loadElement methods because now JDOMUtil uses the same StAX parser (~ several month ago migrated from SAX to StAX and make new behaviour default) 2018-12-08 09:51:36 +01:00
Vladimir Krivosheev c544af0a0e SchemeDataHolder — add file name to error on read/updateDigest 2018-12-08 09:51:36 +01:00
Vladimir Krivosheev ab8f8688db simplify code — it can be not only fileName, avoid extra param to handler — better to make clear that it is the same passed file path/name 2018-12-08 09:51:35 +01:00
Bas Leijdekkers 42ddce4f7a IG: add test case for rule based switch 2018-12-08 09:16:56 +01:00
peter 7db77775f4 html/xml highlighter: synchronize read access to the map contributed to from plugins at random moments of time 2018-12-08 08:55:05 +01:00
Dmitriy.Panov b5e6e7acdd IJI-9: modified files sync fix 2018-12-08 04:02:38 +03:00
Dmitriy.Panov 610e9ff0e3 IDEA-CR-41075: Synchronization of changed icons from git@github.com:JetBrains/IntelliJIcons.git: c4a862dfd79f57e5d9da795df50998777aade429 Icons_Sync_Robot fixup 2018-12-08 03:59:50 +03:00
Gregory.Shrago aea7599888 DBE-6558 Color settings in datagrid different to database panel 2018-12-08 02:21:33 +03:00
Yann Cébron dd7997d62a UiDefaultsHardcodedKeys: more keys 2018-12-07 23:12:52 +01:00
Icons_Sync_Robot e34ac7692b IDEA-CR-41075: Synchronization of changed icons from git@github.com:JetBrains/IntelliJIcons.git: c4a862dfd79f57e5d9da795df50998777aade429
(cherry picked from commit b0a7a42e71e3eb681d0238a384616b28090c5bff)
2018-12-08 00:24:33 +03:00
peter 2b349f9a7a fix xml/html attribute name highlighting 2018-12-07 20:51:08 +01:00
peter 941dc4d294 async toolbar action update fixes
invoke EDT stuff in a correct modality state
allow (wrong and racy, but still used) DataContext creation from non-EDT non-cancellable read action (IDEA-203825, IDEA-203645)
2018-12-07 20:51:08 +01:00
Anna.Kozlova 6692c339e1 switch expression: display dedicated error on target type void (IDEA-203776) 2018-12-07 20:13:41 +01:00
Anna.Kozlova 9eee56e6b1 junit: test detection optimization
IDEA-CR-41022
2018-12-07 19:51:13 +01:00
Vladimir Krivosheev 12bef395b6 cleanup (fix compilation in kotlin code) 2018-12-07 19:44:44 +01:00
Vladimir Krivosheev b0737806d5 cleanup 2018-12-07 19:44:44 +01:00
Vladimir Krivosheev 21bcfbfa17 nullize only after element is successfully read, otherwise our state will be undefined - both myDataHolder and myCodeStyleSettings are null 2018-12-07 19:44:44 +01:00
Vladimir Krivosheev 5c6509d270 fix memory leak in XDebugSessionImpl — ensure that listeners are removed on reset
It is advantage and one of the reason why we migrated to message bus — such leaks discovered by Disposer and easily discoverable. Not silent as EventDispatcher.
2018-12-07 19:44:44 +01:00
Vladimir Krivosheev 50ce4b644e cleanup — unused 2018-12-07 19:44:44 +01:00
Anna.Kozlova c42f1bcd4e expand selection for type parameter (IDEA-201210) 2018-12-07 19:41:05 +01:00
Anna.Kozlova 2b64f13de2 check enum synthetic method by erased signatures (IDEA-203732) 2018-12-07 19:41:05 +01:00
Sergey Karashevich de81517313 [gui-test] smart delete recentProjects.xml or recentProjectDirectories.xml (GUI-191) 2018-12-07 21:12:43 +03:00
Eldar Abusalimov 326f3ea0d9 IDEA-177378: Support string escaping chars in registry key description 2018-12-07 20:56:51 +03:00
Anna.Kozlova 781a9602d7 new api usage inspection: recognize java 11 2018-12-07 18:25:54 +01:00
Anna.Kozlova 7996ebc0e9 new api usage inspection: fix highlighted range for anonymous classes (IDEA-203798)
convert old-style test to highlighted test case
2018-12-07 18:25:54 +01:00
Roman Shevchenko e88d00ed63 [project] correct definition of startup script and launcher names in PyCharm app descriptors 2018-12-07 18:10:15 +01:00
Dmitry Zhuravlev de6e8e6a4a vcs-ignore: deprecate IDEA level ignores in ChangeListManager 2018-12-07 19:37:13 +03:00
Dmitry Zhuravlev ce700deaea vcs-ignore: change gitignore generation
* generate ignore file in .idea directory silently
* silently generate gitignore after GitHub share action but before initial commit take place
* propose generate ignore file after git init action from IDE
* new setting and notification for manage ignore files
* fix IDEA-201596
2018-12-07 19:37:12 +03:00
Bas Leijdekkers 513b8e0c18 Switch expression update and quick fix (IDEA-203462)
for "Unnecessary 'default' for enum 'switch' statement" inspection
2018-12-07 17:35:14 +01:00
peter d7907f8845 a quick fix for CME during embedded token registration for XML/HTML 2018-12-07 17:29:36 +01:00
peter 45bde88c5a a cheaper groovy stub element type holder 2018-12-07 17:29:36 +01:00
peter ee6c94eecd a cheaper python stub element type holder 2018-12-07 17:29:36 +01:00
Sergei Vorobyov 27d7a039b0 update tests to latest gradle-idea-ext-plugin 2018-12-07 18:43:56 +03:00
Vladimir Krivosheev a82cd16814 broken code style scheme should not lead to not working compilation 2018-12-07 16:38:59 +01:00
Vladimir Krivosheev f826280efb add nullable 2018-12-07 16:38:59 +01:00
Dmitry Avdeev 28121dddb7 IDEA-191978 Tooltip for the "Run" icon on gutter shows 'Co_verage' and Profile which is unavailable action 2018-12-07 18:33:19 +03:00
Dmitry Avdeev 7ed3d64b0d javadoc 2018-12-07 18:33:19 +03:00
nik f59206f1bc analysis: show "Include test sources" option and production/tests scopes if there tests roots in the project
This way the option won't be shown if it makes no sense (IDEA-203829) and it'll properly handle custom test source root types (IDEA-203651).
2018-12-07 17:56:45 +03:00
peter 1f14a2522b improve custom-condition TokenSet combination performance 2018-12-07 15:54:08 +01:00
Anna.Kozlova 70afcb309b junit 5 fork mode: deal with multiple engines in one fork (IDEA-178882) 2018-12-07 15:52:04 +01:00
Dmitry Batrak 973ed0d00e IDEA-198297 Quick Documentation popup is sometimes placed off screen
prevent quick doc popup from splitting between screens - update fix to avoid NPE on showing popup
2018-12-07 17:35:28 +03:00
Roman Shevchenko 9e43d8b507 Cleanup (warnings; formatting) 2018-12-07 15:12:14 +01:00
Sergey Simonchik d633ea4419 terminal: no need in state defensive copying 2018-12-07 16:42:45 +03:00
Vladimir Krivosheev de87dd479e javadoc: make clear that defensive copying is not required 2018-12-07 14:34:11 +01:00
Dmitriy.Panov b0e3a2415b IJI-9: partial revert of 2852d1e53d 2018-12-07 16:24:51 +03:00
Alexey Kudravtsev 691b940b2b cleanup 2018-12-07 16:19:20 +03:00
Dmitry Zhuravlev f7aa865c64 vcs-ignore: save opened VCS ignore files before new file add 2018-12-07 16:14:16 +03:00
Alexander Lobas 5a4e2ceb59 IDEA-202957 New Plugins dialog: 503 server error causes two error dialogs - one after settings dialog is closed 2018-12-07 16:04:19 +03:00
Alexander Lobas 5a3dfc6c6d Use platform size formatting util 2018-12-07 16:04:15 +03:00