Commit Graph

58 Commits

Author SHA1 Message Date
Andrey Vlasovskikh
99c6577bd7 Fixed false positive for 'yield' expressions in lambdas (PY-11663) 2014-05-23 20:46:56 +04:00
Andrey Vlasovskikh
5de561b885 Fixed false negative for 'yield' expressions in default values of parameters 2014-05-23 20:40:51 +04:00
Ekaterina Tuzova
259a9c1f39 fixed tests 2014-03-13 13:19:42 +04:00
Dmitry Jemerov
a558b1d5d3 highlight star expression used outside of assignment context (PY-10177) 2013-10-31 21:00:20 +01:00
Dmitry Jemerov
70e628954f Apache 2 copyright headers 2013-10-21 15:29:20 +02:00
Ekaterina Tuzova
c97f24ee5f moved all configurations in Python Integrated Tools to module base
fixed PY-9018 Cannot create test run configuration from editor
2013-06-06 18:32:44 +04:00
Ekaterina Tuzova
e8fc047749 set docstring format for test PythonHighlightingTest 2013-02-22 15:30:58 +04:00
Ekaterina Tuzova
2d801a8dba fixed PY-8025 Enable rest, epytext and doctest highlighting in strings literal assigned to __doc__ 2013-02-20 15:47:57 +04:00
Dmitry Jemerov
c7eeb6d5ee highlight assignments as 'with' statement target as error (PY-7529) 2012-12-13 20:21:09 +01:00
Dmitry Jemerov
e04ae9a185 check for multiple * parameters in parameter list (PY-6456) 2012-08-07 14:55:35 +02:00
Dmitry Jemerov
ac79b9b143 highlight "Generator expression must be parenthesized if not sole argument" (PY-6926) 2012-08-07 12:58:27 +02:00
Andrey Vlasovskikh
b9939f1601 Support 'yield from' syntax (PY-6702) 2012-06-05 15:41:35 +04:00
Andrey Vlasovskikh
56a0c67e4a Don't highlight Unicode literals in Python 3.3 as errors (PY-6703) 2012-06-04 22:04:38 +04:00
Dmitry Jemerov
6eb5664191 test fix 2011-11-25 17:56:17 +01:00
Dmitry Jemerov
f1fd03a9e3 simpler names for testcase classes 2011-10-18 13:55:23 +02:00
Dmitry Jemerov
74e1094d76 get rid of ParentMatcher and Matcher altogether 2011-09-12 18:20:08 +02:00
Dmitry Jemerov
2438e7613e get rid of LoopControlMatcher 2011-09-12 18:20:02 +02:00
Ekaterina Tuzova
9493de2441 removed redundant test code 2011-07-11 21:38:56 +04:00
Ekaterina Tuzova
ef175a3436 separated token types for single/double and triple quoted strings
added lexer-level bytes/unicode detection
added lexer-level docstring detection
2011-07-10 17:59:57 +04:00
Dmitry Cheryasov
a01af2e223 PY-3363: don't highlight escapes in raw strings 2011-06-05 17:37:24 +03:00
Dmitry Cheryasov
1178cfb93f Unicode highlighting: fixes in octals, tests, updated colors page 2011-05-10 13:56:34 +03:00
Dmitry Cheryasov
93b2cd0508 Unicode highlighting moved to annotator, added a bit of tests; LanguageLevel linked to FutureFeature. 2011-05-06 18:09:17 +04:00
Dmitry Jemerov
ac6c054c56 false positive on escaped backslash in string literal (PY-2994) 2011-03-23 20:29:35 +01:00
Dmitry Jemerov
604d8dc4b3 StringConstantAnnotator performs all checks per node, doesn't do lexer's job again (PY-2802) 2011-02-22 19:17:55 +01:00
Dmitry Jemerov
803b545070 string constant annotator checks triple quote pairing separately for each string literal node (PY-2806) 2011-02-22 16:05:47 +01:00
Ekaterina Tuzova
4409191c74 UnsupportedFeatures and PyCompatiblityInspection refactored. 2011-02-15 13:22:41 +03:00
Ekaterina Tuzova
03f04c515e fixed failed tests. 2011-01-23 15:47:43 +03:00
Dmitry Jemerov
9a5169c43e highlight use of starred argument outside of list or tuple (PY-1474) 2010-07-29 19:49:57 +04:00
Dmitry Cheryasov
be545831ab Updated test. 2010-05-27 03:26:28 +03:00
Dmitry Jemerov
2d0d11ef85 force restore language level after all tests that change it 2010-03-12 17:21:36 +03:00
Dmitry Jemerov
b6bd02bd87 correct implementation of PyAssignmentStatement.getTargets() (PY-671) 2010-03-12 17:21:34 +03:00
alexey.ivanov
5098035f18 Unsupported features inspection is annotator now 2010-03-06 19:07:38 +03:00
Dmitry Cheryasov
d522e8cbe7 Merge branch 'master' of git.labs.intellij.net:idea/ultimate 2010-03-01 05:48:34 +02:00
Dmitry Cheryasov
6a4bc5643e Added a simple builtin names highlighting test. 2010-03-01 05:41:26 +02:00
alexey.ivanov
1b02b30eb3 Annotator to highlight unsupported features in Python2 2010-02-26 17:09:01 +03:00
Dmitry Jemerov
baa08ee6e0 correctly parse default values for tuple parameters (PY-350) 2010-01-25 19:02:07 +03:00
Dmitry Jemerov
3c8137a80f testdata discoverability 2010-01-21 17:36:06 +03:00
Dmitry Jemerov
44be31ae7f initial work in progress support for Py3K keyword-only arguments 2010-01-15 22:16:54 +03:00
Dmitry Jemerov
bea11cc987 support new literal types in Python 2.6 (PY-317) 2010-01-15 22:16:50 +03:00
Dmitry Jemerov
4f9a806b06 more fixes for unclosed string literal highlighting 2010-01-14 20:54:10 +03:00
Dmitry Jemerov
a2e32cde4c correct highlighting of string literals with mixed quotes (PY-299) 2010-01-14 14:22:43 +03:00
Dmitry Jemerov
ef05a7b80b PythonHighlightingTest fixed 2009-12-25 18:48:45 +03:00
Dmitry Jemerov
408bc8b2f3 convert test to PyLightFixtureTestCase 2009-12-24 20:25:02 +03:00
Dmitry Jemerov
ef316bfcae fix paths to python testdata 2009-09-28 18:14:32 +04:00
Dmitry Cheryasov
3112b7a14e Introduces an inspection marking reassignments of 'self' in methods. 2009-06-15 14:32:19 +04:00
Dmitry Cheryasov
4fb1bdba16 Fixed a false positive in a test. 2009-06-08 08:55:00 +04:00
Dmitry Cheryasov
2cdd275589 Efficient doc string annotator; tests. 2009-06-08 04:31:09 +04:00
Dmitry Cheryasov
ac1b2de892 Adds highligting of class and function definitions, decorators, and builtins.
Fixes PY-2.
       No test for builtin highlighting yet.
2009-01-15 14:48:48 +03:00
Dmitry Cheryasov
088391f22e Turns method params annotator to inspection. 2008-11-17 20:08:28 +03:00
Dmitry Cheryasov
26fb0759a4 Removed tests of highlighting that is now in inspections (and covered by its own tests). 2008-11-17 12:39:05 +03:00