Tagir Valeev
6cc1a148ac
Use hierarchical method signature to find super methods (IDEA-CR-48492)
...
GitOrigin-RevId: aade4d1be9f064bef096e9be2a2c228184aa0686
2019-07-02 06:52:16 +03:00
Tagir Valeev
5907d8eed1
IDEA-216381 Stream.min and Collections.reverseOrder is not simplified to Stream.max
...
GitOrigin-RevId: 2c91b1cf5b8bc8c3c8beb2a07d65b86654eda425
2019-07-02 06:52:16 +03:00
Gregory.Shrago
a6051efe2c
show colored scopes
...
GitOrigin-RevId: e95167b5a80fa8ce941cf9ab0358a01862321d23
2019-07-02 06:52:16 +03:00
Gregory.Shrago
da907ef8c6
support colored buttons
...
GitOrigin-RevId: 4078b5e320e01b703c7bd748d36bd9affbd42a18
2019-07-02 06:52:16 +03:00
Gregory.Shrago
d80a465b53
support ColoredItem in combos
...
GitOrigin-RevId: 397adcfde7a572b5eb87faf74974fbb04fb4d002
2019-07-02 06:52:16 +03:00
Gregory.Shrago
f0aebc526a
introduce NamedScope#getDefaultColorName and drop FileColorName
...
GitOrigin-RevId: ebb719c32738c39f93c847481ff077cd2d87e35d
2019-07-02 06:52:16 +03:00
Gregory.Shrago
00618933d3
let user scopes have color
...
GitOrigin-RevId: 244c32358722b9e04191bda8878b31b38ac297b4
2019-07-02 06:52:16 +03:00
Gregory.Shrago
fc44f9b724
introduce ColoredItem interface
...
GitOrigin-RevId: 1a27db56d5046eb2e0b0f3241b354078088f80c6
2019-07-02 06:52:16 +03:00
Semyon Proshev
58ab6cce3a
Highlight type hints for non-self attributes
...
GitOrigin-RevId: 5afecdc4f073bb5ba5a495956fe30985b092634a
2019-07-02 06:52:16 +03:00
Semyon Proshev
5c4eb9b772
Fix determining if there is installed package for some third-party stub in typeshed (PEP 591) (PY-34945)
...
Previously `typing_extensions.pyi` had not been considered as stub because pypi package is called `typing-extensions`
GitOrigin-RevId: a72abc97248b641a901a70213d6be410324d3322
2019-07-02 06:52:16 +03:00
Semyon Proshev
5f2630859c
Fix highlighting method that overrides final method without qualified name (PEP 591) (PY-34945)
...
GitOrigin-RevId: c7f0b0fdb0472850bfdd6d768fbad3a935cc3e6a
2019-07-02 06:52:16 +03:00
Semyon Proshev
88995dba66
Raise a warning for augment assignments (PEP 591) (PY-34945)
...
GitOrigin-RevId: 746f77484ad96452b58cc571ba234600483cbfeb
2019-07-02 06:52:16 +03:00
Semyon Proshev
9094332d2e
Fix highlighting classes that use 'Final' classes as metaclasses (PEP 591) (PY-34945)
...
GitOrigin-RevId: dce7e7f371a46f00b0e6847b417a477842d4e709
2019-07-02 06:52:16 +03:00
Semyon Proshev
19d5784874
Raise a warning on mixing Finals and abstract decorators (PEP 591) (PY-34945)
...
GitOrigin-RevId: 65e07e7bbc723e5d3b15ea11a8a22f1c1c014323
2019-07-02 06:52:16 +03:00
Semyon Proshev
bd64af9d62
Raise a warning on Final in return value annotation (PEP 591) (PY-34945)
...
And fix a bug with highlighting outermost `Final` in it as non-outermost
GitOrigin-RevId: 80396ec069aedbc28e7c76ec33ca83302ac087d8
2019-07-02 06:52:16 +03:00
Semyon Proshev
b306ec32c0
Raise a warning on Final inside a loop (PEP 591) (PY-34945)
...
GitOrigin-RevId: 0685b853f2971af91539f4776024b2ca682c62d8
2019-07-02 06:52:16 +03:00
Semyon Proshev
73123cc435
Raise a warning on nonlocal and global Finals reassignments (PEP 591) (PY-34945)
...
GitOrigin-RevId: 1d57c3d4ff771c71ba909f1a8da3ce38b8e81f0a
2019-07-02 06:52:16 +03:00
Semyon Proshev
77b461420d
Fix resolving global variable reassignment
...
GitOrigin-RevId: 235f566771e9bd83c5b04e47c170501830b5c66a
2019-07-02 06:52:16 +03:00
Semyon Proshev
3cb186667e
Raise a warning on inherited Finals reassignment on class level (PEP 591) (PY-34945)
...
GitOrigin-RevId: 8d06617819ab21c83a053a0c36da5495b503288b
2019-07-02 06:52:16 +03:00
Semyon Proshev
b70415af67
Raise a warning on Finals overriding (PEP 591) (PY-34945)
...
GitOrigin-RevId: 53c741c0ba2467b0fde342ec7e95bca952651522
2019-07-02 06:52:16 +03:00
Semyon Proshev
0509475adc
Reduce unstubbing and cache a result of computation if element is type hinted as Final or not (PEP 591) (PY-34945)
...
GitOrigin-RevId: d58ed70519f86c15f3aa454e6f014c6190e08fbd
2019-07-02 06:52:16 +03:00
Semyon Proshev
b0e57d5d3a
Raise a warning on Finals reassignments (PEP 591) (PY-34945)
...
GitOrigin-RevId: 10729d211a99d3d1542e26752e2e103eb94396dc
2019-07-02 06:52:16 +03:00
Semyon Proshev
f2ca243d2e
Raise a warning on same name class and instance level Finals (PEP 591) (PY-34945)
...
GitOrigin-RevId: e8eaad47c5a06cb8471e06d7c1e0890f02266820
2019-07-02 06:52:16 +03:00
Semyon Proshev
66defb9207
Raise a warning on Final instance attributes outside __init__ (PEP 591) (PY-34945)
...
GitOrigin-RevId: 74f4aab3a879d74815945a6f33d5a66afabd25c7
2019-07-02 06:52:16 +03:00
Semyon Proshev
1dd5ee7103
Update inspection for Final variables without assigned values (PEP 591) (PY-34945)
...
Highlight class level finals that have no assignments in `__init__`
GitOrigin-RevId: 28f5f655889df475d6a7b1084cd951a80e31e2cf
2019-07-02 06:52:16 +03:00
Semyon Proshev
61cbd62808
Warn about Final redeclarations (PEP 591) (PY-34945)
...
GitOrigin-RevId: 6b060e99c3d69c74b67c0d501cbde51d2a777161
2019-07-02 06:52:16 +03:00
Semyon Proshev
eee21530db
Update inspection for Final variables without assigned values (PEP 591) (PY-34945)
...
Raise a warning about explicit type argument only in stubs or on class level
In other scopes raise a warning about necessity to initialize such values
GitOrigin-RevId: 97759220d67b174b54d4ff90186b4109a5256354
2019-07-02 06:52:16 +03:00
Semyon Proshev
163bddf739
Raise a warning on isinstance and issubclass checks with Final (PEP 591) (PY-34945)
...
GitOrigin-RevId: c084604a96fbe0c61e149f40da47619e2fc4b12e
2019-07-02 06:52:16 +03:00
Semyon Proshev
9709256ca6
Warn about non-outer most Final (PEP 591) (PY-34945)
...
GitOrigin-RevId: 57be34d3f7d6574ade00be2cbef34228cdf3a882
2019-07-02 06:52:16 +03:00
Semyon Proshev
67a0f2f9c0
Raise a warning on Final parameters (PEP 591) (PY-34945)
...
GitOrigin-RevId: 42cc2e46ade7564581ab7bde30dd45bdaea84983
2019-07-02 06:52:16 +03:00
Semyon Proshev
b5fe834814
Warn incorrect usages of @overload and @final (PEP 591) (PY-34945)
...
GitOrigin-RevId: fd9c3acc6b67d9ac1c46512573df3e936c683e29
2019-07-02 06:52:16 +03:00
Semyon Proshev
c61d1c4e84
Warn about using pure Final with targets with no assigned value (PEP 591) (PY-34945)
...
GitOrigin-RevId: 87cc6c0f6655f49df5ca74bb40e3c1e4e6b7a1ef
2019-07-02 06:52:16 +03:00
Semyon Proshev
ad877946f7
Warn about non-method functions marked with @final (PEP 591) (PY-34945)
...
GitOrigin-RevId: 62061ff6cf28d2a0d5f3996d5befc1f2cbe59d2e
2019-07-02 06:52:16 +03:00
Semyon Proshev
1b35081553
Warn about overriding methods marked with @final (PEP 591) (PY-34945)
...
GitOrigin-RevId: 4e2b8f69bb38b5b20946e1e1fd782c68be0a9550
2019-07-02 06:52:16 +03:00
Semyon Proshev
3399546577
Warn about subclassing classes marked with @final (PEP 591) (PY-34945)
...
GitOrigin-RevId: 40e2faffc4215359c5c18341b512b04da59b318a
2019-07-02 06:52:16 +03:00
Semyon Proshev
0c63a3d7ca
Fix type inference for types with Final qualifier (PEP 591) (PY-34945)
...
GitOrigin-RevId: 1b2b580273df4d6edc0411849183b142392745b8
2019-07-02 06:52:16 +03:00
Aleksei Kniazev
c6e4181228
IDEA-CR-48018: inline function refactoring for python (PY-21287)
...
- ability to inline single/all invocations and keep/remove the declaration
- handled name conflicts of local and imported vars/functions
- cases when this refactoring is not applicable can be found in PyInlineFunctionHandler
(cherry picked from commit 40e298ba2b833a4408ee774628b84fe422468b91)
GitOrigin-RevId: dd3fab59800163b4f300b410cd28a62c1ee1b6f3
2019-07-02 06:52:16 +03:00
Roman Shevchenko
ce764be06a
[vfs] returns logging; some smart-asses disable assertions (EA-145256)
...
GitOrigin-RevId: c788f988b7760460c0f47d354f0ffcdcaae53ead
2019-07-02 06:52:16 +03:00
Gregory.Shrago
057004fc1f
record script engine created event
...
GitOrigin-RevId: 96de58cdf5f6bc0b72e599df72b8a2d51b979453
2019-07-02 06:52:16 +03:00
Gregory.Shrago
a5009a9886
move IdeScriptEngine API to platform-impl/com.intellij.ide.script package
...
GitOrigin-RevId: 454e75d663b634dc5477e6791a8ab04ee822e8f4
2019-07-02 06:52:16 +03:00
Roman Shevchenko
1936f047e3
[platform] more descriptive message in 'cannot sudo' exception (EA-145268)
...
GitOrigin-RevId: bb1771619a017cb626458484d5046c9a9468a625
2019-07-02 06:52:16 +03:00
Konstantin Bulenkov
cb8768af6a
Support semi-transparent colors in editor color schemes
...
GitOrigin-RevId: a733f5df2a0156724e0383ff1035f4ca991afe15
2019-07-02 06:52:16 +03:00
Roman Shevchenko
63b7bb0490
Cleanup (renames a containing file to match the class)
...
GitOrigin-RevId: 58122f5e37aaca283c0576d1eeff479d5141b123
2019-07-02 06:52:16 +03:00
Gregory.Shrago
90da5d0a96
IDEA-205899 Allow to restart IDE scripting console
...
An engine is now attached to output content instead of a file,
so the engine is retained when the file is closed due to tab mode.
GitOrigin-RevId: 081fdae954fe41365e3acd92f7f6a729b99c79e2
2019-07-02 06:52:16 +03:00
Semyon Proshev
1a24b38ef1
Fix formatting assignment expressions (PEP 572) (PY-33886, PY-35975)
...
GitOrigin-RevId: 0d5624fbd1ee659421b831980593d9ecf93b39f0
2019-07-02 06:52:16 +03:00
Semyon Proshev
b78c1750d6
Don't exclude assignment expressions in top-level comprehensions from stubbing as they are put to file scope (PEP 572) (PY-33886)
...
GitOrigin-RevId: cc3466aeec9d4cedb77844584712970e5d43a859
2019-07-02 06:52:16 +03:00
Semyon Proshev
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 Proshev
a86c0b2bbe
Fix building CFG for assignment expressions so target is visited after assigned value (PEP 572) (PY-33886)
...
GitOrigin-RevId: ac57729f8a9188a9fccf12936675c5818969435c
2019-07-02 06:52:16 +03:00
Semyon Proshev
b600a9bebf
Suppress "Unbound local variable" for targets defined in assignment expressions inside comprehensions under conditions (PEP 572) (PY-33886)
...
GitOrigin-RevId: ef7edfd58d6c36037903c54ed2c832696c4ff0b6
2019-07-02 06:52:16 +03:00
Semyon Proshev
aa1da541de
Highlight assignment expressions within a comprehension in a class body as errors (PEP 572) (PY-33886)
...
GitOrigin-RevId: 1b63427a4c5e4927be07fdc4bcec91bd952e26c7
2019-07-02 06:52:16 +03:00