Commit Graph
229781 Commits
Author SHA1 Message Date
Mikhail Golubev 0300a411d6 PY-31442 Parse type conversions (!r/!s/!a) inside fragments
Also, improved handling of incomplete fragments inside f-strings.
2018-10-01 12:46:42 +03:00
Mikhail Golubev 40c1e8b949 PY-31442 Parse format parts of f-string fragments 2018-10-01 12:46:42 +03:00
Mikhail Golubev 81afd74ed9 PY-31442 Started working on format parts of fragments 2018-10-01 12:46:41 +03:00
Mikhail Golubev c13a63958d PY-31442 Parse simplest possible f-strings together with other expressions
- no nested f-strings
- no formatting parts after colon
- no illegal escapes detection
- no quote mismatch detection
2018-10-01 12:46:41 +03:00
Mikhail Golubev b8f2aa3a7d PY-31442 Start incorporating f-string specific tokens into the lexer 2018-10-01 12:46:41 +03:00
Mikhail Golubev d87b2134f8 PY-31442 Get rid of ubiquitous usages of PyStringLiteralExpressionImpl#getNoteTextRange 2018-10-01 12:46:41 +03:00
Mikhail Golubev 79189b4f5e PY-31442 Move PyStringLiteralExpressionImpl#getPrefixLength to PyStringLiteralUtil 2018-10-01 12:46:41 +03:00
Mikhail Golubev d74cfa71f5 PY-31442 Methods of StringLiteralExpression delegate to those of RichStringNode
First of all, getDecodedFragments() and getStringLiteralTextRanges().
Moreover, all the logic related to unescaping of string literal content is moved to
the dedicated class PyStringLiteralDecoder.
2018-10-01 12:46:41 +03:00
Mikhail Golubev f335699107 PY-31442 For some reason parsing tests disable registering of ASTFactory later on
Register it explicitly as a temporary workaround.
2018-10-01 12:46:41 +03:00
Mikhail Golubev 53333427d4 PY-31442 Revive the idea of PyRichStringNodes -- LeafPsiElements with helper methods for strings
It will allow to uniformly work with formatted and literal string nodes in future,
and makes API prettier overall, since we don't need to use StringNodeInfo and
methods of PyStringLiteralUtil to get all this information about strings in Python.
2018-10-01 12:46:40 +03:00
Dmitry Batrak cc09dd3f27 IDEA-197915 Unable to set unix line separator for iml file 2018-10-01 12:44:49 +03:00
Anton Lobov 7f6972776b WEB-35067 fix handling with newlines before and after 2018-10-01 11:42:51 +02:00
Alexandr Evstigneev 63399624bd Removed unused code 2018-10-01 12:40:33 +03:00
Jonathan Leitschuh f0be733b83 IDEA-199485: org.gradle.api.Incubating in Unstable API Inspection 2018-10-01 12:33:53 +03:00
Tagir Valeev 763ad22de9 Support local classes 2018-10-01 16:31:37 +07:00
Fedor Korotkov 90f61a9546 Ignore Multiple External Projects
Ability to ignore multiple projects at once

Related to IDEA-198453
2018-10-01 12:18:13 +03:00
Daniil Ovchinnikov 8bdb4ace6e [groovy] inline and remove GroovyResolverProcessor#allProcessors 2018-10-01 12:11:17 +03:00
Daniil Ovchinnikov 024eba915b [groovy] extract multi-processor logic into separate class 2018-10-01 12:11:17 +03:00
Tagir Valeev bbcc8ca24d IDEA-199693 Unreachable switch statements are not highlighted after always reachable branch 2018-10-01 16:08:54 +07:00
Mikhail Golubev 841fcbc914 PY-20159 Add an option to make optimize imports case-insensitive
Both packages/module names and names of individual imported symbols in
"from" imports are sorted case-insensitively if it's enabled.
To keep things simple I decided not to replicate the exact scheme used
by isort to order names in "from" imports where they have different priority
depending on whether they are ALL_CAPS or CamelCased (check the issue for
related discussion).
2018-10-01 12:07:13 +03:00
Ivan Buryak dc67ca84f1 IDEA-199187 OpenShift: Add quick fix to create project while edit run configuration 2018-10-01 16:01:13 +07:00
nik 167d881e5d build scripts: don't fail if icon-eap element is not specified in ApplicationInfo.xml file 2018-10-01 11:49:48 +03:00
Tagir Valeev 4580bf04d9 'Switch' statements with single case converted to 'if', other warnings fixed 2018-10-01 15:45:13 +07:00
nik a1271710ce ApplicationInfo: add javadoc 2018-10-01 11:39:12 +03:00
nik ec9a6a4b24 ui: use special icon for EAP builds when running from sources under Linux (IDEA-192585) 2018-10-01 11:39:12 +03:00
nik a157d71166 ApplicationInfo: deprecate 'size128' attribute in 'icon' element 2018-10-01 11:39:12 +03:00
nik e8306a0a0b ui: use old 128x128 png icon for application window on Linux if svg isn't specified for compatibility (IDEA-199662) 2018-10-01 11:39:11 +03:00
Vladislav.Soroka a11ac9f29a cleanup 2018-10-01 11:38:06 +03:00
Kirill Kirichenko 1a2dfab1af IDEA-198309 Rename resource 2018-10-01 11:29:16 +03:00
Fedor Korotkov d703a34fb7 Filter out more Gradle progress events
Hide more events under `gradle.progress.verbose.events` flag

Fixes [IDEA-198560](https://youtrack.jetbrains.com/issue/IDEA-198560)
2018-10-01 11:27:52 +03:00
Anna Kozlova 9e62401a83 junit 5: jvm references for inner classes in @MethodSource refs (IDEA-199719) 2018-10-01 10:06:40 +02:00
Anna Kozlova 46e9be7f76 tests: navigate to correct offset in plain text files (IDEA-198881) 2018-10-01 10:06:40 +02:00
Anna Kozlova 5cdd7a9292 check exceptions inside anonymous: don't get one level up when visitor was called from inside (IDEA-199568)
IDEA-CR-37113
2018-10-01 10:06:39 +02:00
Tagir Valeev 157891d0a3 IDEA-199617 Warning about Object comparison with '==' not 'equals()' complains about enum compared to Object 2018-10-01 14:58:57 +07:00
Tagir Valeev 5fc3612fa9 DeleteSwitchLabelFix: delete unreachable switch branch
Fixes IDEA-199692 Quickfix to delete unreachable switch branch reported by "constant conditions & exceptions"
2018-10-01 14:54:36 +07:00
Tagir Valeev 27b2efd106 LengthOneStringInIndexOf: unit-test, fix for parentheses, unescape "\"" -> '"'; cleanup warning message 2018-10-01 14:54:35 +07:00
Tagir Valeev e1e1ed9bef JavaParenthesesPolicy: disable when parent is PsiAnnotationMethod (default value cannot be parenthesized) 2018-10-01 14:54:34 +07:00
Sergey Karashevich 3d714f08eb [gui-test] major param suites changes (2) 2018-10-01 10:44:31 +03:00
Sergey Karashevich a4bffe4ebc [gui-test] update IdeaUpdateGuiTest 2018-10-01 10:44:31 +03:00
Sergey Karashevich 9306db22c4 [gui-test] add SystemProperties annotation 2018-10-01 10:44:30 +03:00
Sergey Karashevich 0c989159b0 [gui-test] major param suites changes 2018-10-01 10:44:30 +03:00
Sergey Karashevich 0dc3ca9d42 [gui-test] reorganize GuiTestRunner and Launcher hierarchy 2018-10-01 10:44:30 +03:00
Vladislav.Soroka bf5c2069b4 Gradle/C++: migrate to new built-in gradle C++ tooling models 2018-10-01 10:21:13 +03:00
Julia Beliaeva 6cda901c68 [vcs-log] use enum for IntelliSort statistic 2018-09-30 23:08:25 +03:00
Julia Beliaeva 7c2425c5ae [vcs-log] statistics for diff preview 2018-09-30 23:05:13 +03:00
Vladimir Krivosheev 8abff0a432 remove masterKeyProvider (not used externally anymore) 2018-09-30 09:00:44 +02:00
Vladimir Krivosheev 6d0d85aa7a add action to open settings on error during load keepass store 2018-09-30 08:58:51 +02:00
Vladimir Krivosheev f453b03fe2 add note that NotificationAction is more preferable way 2018-09-30 08:58:51 +02:00
Vladimir Krivosheev 16e39ec16b type safe showSettingsDialog 2018-09-30 08:58:50 +02:00
Vitaly Provodin 6b43b10ca7 Updating versions of project dependencies: jdkBuild->u152b1343.3
Vitaly Provodin
2018-09-30 07:14:55 +03:00