Commit Graph
93 Commits
Author SHA1 Message Date
Vladimir Lagunovandintellij-monorepo-bot c9260bd5be IDEA-CR-48777: PY-34633 Python docker-compose: support debugger for Python Console and Docker for Mac
(cherry picked from commit 12640e452f8a17fe63ae9adf4fd31620ebba80a6)

GitOrigin-RevId: 3002704426b9e086f5939d8b0c9ff7d22e234edb
2019-07-04 09:02:24 +03:00
Semyon Proshevandintellij-monorepo-bot e13675f384 Fix parsing assignment expressions inside f-strings (PEP 572) (PY-33886)
Every expression on top-level inside f-string that could be considered as an assignment expression is actually a format expression.

GitOrigin-RevId: a375543c80d549d5c08166f33b401206ab31f8b8
2019-07-02 06:52:16 +03:00
Semyon Proshevandintellij-monorepo-bot ccc2156cf9 Add parsing for assignment expressions (PEP 572) (PY-33886)
Highlight expressions that are invalid by grammar or unacceptable in runtime
Highlight expressions in pythons < 3.8

GitOrigin-RevId: 89acec9db5b3a931da31c33778185e147240ec01
2019-07-02 06:52:16 +03:00
Rustam Vishnyakovandintellij-monorepo-bot 123242c4b2 EditorConfig documentation test
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
2019-06-16 04:03:21 +03:00
Egor Zhdanandintellij-monorepo-bot c1813cfb52 Cleanup: NotNull/Nullable
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-16 04:02:08 +03:00
Anna Kozlovaandintellij-monorepo-bot 91f7445298 constructor reference: don't ignore constructor parameters during method reference inference (IDEA-185578)
GitOrigin-RevId: e836468e05db28157713e9edd3c70382f8ecdebc
2019-06-13 03:15:49 +03:00
Egor Zhdanandintellij-monorepo-bot 39d2d77155 Cleanup: NotNull/Nullable
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-13 03:14:35 +03:00
Aleksey Rostovskiyandintellij-monorepo-bot 185284cee6 get rid of intellij.build.toolbox.litegen parameter and use BuildOptions.TOOLBOX_LITE_GEN_STEP to skip it instead
GitOrigin-RevId: 9aac8ee4ed1ebf2a29de18a238825fafb1ab88f9
2019-05-27 15:08:08 +03:00
Alexandr Suhininandintellij-monorepo-bot 9215f4240b [duplicates] enable duplicates analysis in PyCharm/WebStorm/PhpStorm/RubyMine
GitOrigin-RevId: 1545b79fdca4888f4b94f47f22703fd37694fa7a
2019-05-27 15:07:30 +03:00
Vladimir Krivosheevandintellij-monorepo-bot 51945b4e04 extract core-ui module
GitOrigin-RevId: 022003cca3662405e3f5f06bfd5807199704d86a
2019-05-22 22:10:00 +03:00
Anton Makeevandintellij-monorepo-bot aa103fd53c Merge branch 'master' into amakeev/gradle
# Conflicts:
#	community/plugins/gradle/src/org/jetbrains/plugins/gradle/service/settings/IdeaGradleProjectSettingsControlBuilder.java

GitOrigin-RevId: d931e798108685731bf185f7c2e3221680b8e5a2
2019-05-17 19:11:16 +03:00
Anton Makeevandintellij-monorepo-bot b54aaf7e4e IDEA-210281 Cleanup Gradle settings: separate Runner configurable removed
GitOrigin-RevId: adbc39121fe91beb633e125b4cf39bfe0a422e4b
2019-05-17 19:02:16 +03:00
Alexander Koshevoyandintellij-monorepo-bot 7eaa94c7cf IDEA-CR-46968: PY-33216 Fix IDE freeze on "View as Array" action for an array with more than two dimensions
(cherry picked from commit 7b8180485e201cc20db3d2ab3296f55bed23b70f)

GitOrigin-RevId: 312248a973714f7bd491b7d5d54f66bfaea76110
2019-05-13 19:06:46 +03:00
Dmitriy.Panov 4e34c86389 generating icon classes with size in javadoc instead of plain comment: one-liner javadoc 2019-02-23 12:47:17 +03:00
Dmitriy.Panov 88d8c771ba generating icon classes with size in javadoc instead of plain comment 2019-01-11 14:06:11 +03:00
Icons_Sync_RobotandAndrey Vlasovskikh 161380a7ba Synchronization of changed icons from git@github.com:JetBrains/IntelliJIcons.git: 1d121f46e46e8178f51b6bc868557e35d3516e20 2018-12-04 09:58:25 +03:00
Andrey Vlasovskikh 22d5da416a PY-32670 Icons for SSH and Django template tag in Python 2018-11-29 18:47:41 +03:00
Andrey Vlasovskikh f63f64052e PY-32670 Removed unused Python icons 2018-11-29 18:47:41 +03:00
Andrey Vlasovskikh 014e061d09 PY-32670 Updated Python icons
There are a few Python icons in question, we've left them untouched for now.
2018-11-29 18:47:40 +03:00
Alexander Koshevoy 8b7e322fa9 PY-32247 Response with KeyboardInterruptException in Python Console's requestInput() when hitting Ctrl+C in the IDE 2018-11-01 18:14:40 +03:00
Alexey Kudravtsev e85316ce23 annotate @Override to cleanup 2018-10-13 17:25:58 +03:00
Mikhail Golubev 274ca1e19a PY-31442 As in lexers of other languages, reset the state in the skeleton
This way it's more self-contained, and we no longer require to use PythonLexer instead
everywhere. Thus I reverted previously made changes.
2018-10-01 12:46:47 +03:00
Mikhail Golubev 16dea81d1a PY-31442 Fix detection of terminating quotes inside triple-quoted f-strings 2018-10-01 12:46:47 +03:00
Mikhail Golubev 1841956e1e PY-31442 Experiment with restoring f-string state in highlighting lexer 2018-10-01 12:46:47 +03:00
Mikhail Golubev 6c49b63b11 PY-31442 Better handling of single backslashes (e.g. before braces) in literal parts
There is actually no need to match them together with braces and then return
the second character back to the stream. The longest match rule will ensure
that all allowed escape sequences will be recognised as one unit, so it seems
safe to match backslash individually for all remaining cases.
2018-10-01 12:46:45 +03:00
Mikhail Golubev 2e8b9f7a9f PY-31442 Handle hash signs in literal parts of f-strings
Made the corresponding states of the lexer exclusive so that the pattern
for line comments doesn't match literal fragments starting with a hash sign
as the longest (together with closing braces and quotes). It also means that
we need to replicate the BAD_CHARACTER rule in these states as a fallback
pattern for unmatched input.
2018-10-01 12:46:45 +03:00
Mikhail Golubev 2287a27ed0 PY-31442 Handles escape sequences in format parts and backslashes before curly braces 2018-10-01 12:46:44 +03:00
Mikhail Golubev 88119d9c59 PY-31442 Handle all types of terminating quotes in fragment format parts 2018-10-01 12:46:44 +03:00
Mikhail Golubev 5691edb8b4 PY-31442 Lexer can handle named unicode escapes inside f-strings 2018-10-01 12:46:44 +03:00
Mikhail Golubev 36fb61ffbb PY-31442 Disable debug output in the lexer 2018-10-01 12:46:43 +03:00
Mikhail Golubev 99d8ee7bbc PY-31442 Lexer handles line breaks in single quoted f-strings 2018-10-01 12:46:43 +03:00
Mikhail Golubev 0115f78402 PY-31442 Move all complex logic and state from Python.flex to a separate class 2018-10-01 12:46:42 +03:00
Mikhail Golubev cd3122c7c1 PY-31442 Implement "rich" methods of PyFormattedStringNode including decoding
Also fixed the problem that whitespaces inside literal parts of f-strings were
matched as PsiWhitespaces instead of FSTRING_TEXT tokens and updated all relevant
test data.
2018-10-01 12:46:42 +03:00
Mikhail Golubev 68f72f3dd9 PY-31442 Handle f-strings terminated by other string literals in fragments
When the terminating quote is either at the beginning of a string literal or
inside it, either in the given f-string itself or inside a nested one and
either in normal fragment or in a fragment located inside a format part of
another fragment. Normal string literals and nested f-strings are also checked
separately.
2018-10-01 12:46:42 +03:00
Mikhail Golubev 50383b4768 PY-31442 Properly detect end quotes inside literal and format parts of f-strings 2018-10-01 12:46:42 +03:00
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
Vladimir Krivosheev d9d353ef58 make icon classes final 2018-09-27 11:58:24 +02:00
Vladimir Krivosheev 1df8e797c7 make icon classes final 2018-09-27 11:58:23 +02:00
Alexander Koshevoy 3c714802b4 PY-18029 Move the content of intellij.python.console module to intellij.python.community.impl and remove it 2018-08-22 23:16:40 +03:00
Gregory.Shrago 35f3995ee9 regen 2018-07-13 20:37:23 +03:00
Aleksey Pivovarov a7ff86da68 icons.gant: remove trailing spaces 2018-04-26 13:58:49 +03:00
Sergey Malenkov f1b772703b fix CommunityImageResourcesSanityTest: remove PNGs 2018-04-23 20:20:42 +03:00
Sergey Malenkov 3577438f96 remove debugger PNG icons, which replaced with SVG icons 2018-04-17 12:06:18 +03:00
Andrey Vlasovskikh a20a4f5cbd PY-28603 New icons for remote Python interpreters
The new icons cover SSH, Vagrant, Docker, Docker Compose.
2018-03-12 15:49:26 +03:00
Anton Bragin 9ebc05bda6 PY-14111 Cython icons moved to PythonIcons class
To preserve API backward compatibility Cython icons moved to PythonIcons
 class.
2018-02-01 17:12:23 +03:00
Ekaterina Tuzova ca4c9823e7 extract conda interpreter flavor from virtual env
gives us ability to add custom icons and rules
2017-09-06 11:07:54 +03:00
Aleksey Pivovarov 56c0b37e48 icon classes generation: update warning message 2017-07-17 21:12:14 +03:00