Egor.Eliseev
0c73c9eff9
PY-72274 separating content for python core/pro plugins
...
1. Delete `intellij.python.community.impl.xml` (move content to `PythonCore` plugin). It is necessary to fix incorrect dependencies: `PythonCore`, `Pythonid` include the same module.
2. Fixed dependencies: if some plugin/module needs Python core functionality, then it should depend on `PythonCore`.
Co-authored-by: Vladimir Koshelev <Vladimir.Koshelev@jetbrains.com >
Merge-request: IJ-MR-136158
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com >
GitOrigin-RevId: ce9ed4c17f601ee1ca2b6cf608f4e30fdac1d879
2024-06-19 21:39:24 +00:00
Ilya.Kazakevich
9d4751f238
[python, ds, jupyter]: Migrate Python support to V2
...
Layout:
JPS modules
`intellij.python.community`
`intellij.python.community.impl`
`intellij.python.parser`
`intellij.python.psi`
`intellij.python.psi.impl`
`intellij.python.ast`
use package `com.jetbrains.python`
and go to `intellij.python.community.impl` v2 module
JPS module
`intellij.python`
uses package `com.intellij.python.pro`
and goes to `intellij.python/pro` v2 module
Both v2 modules (along with lots of others) come with
`PythonId` (prof) or `PythonCore` (community) plugins
DS bundles `intellij.python.community.impl`
Idea and other Mini IDEs get `PythonCore` or `PythonId` plugin that bundle modules for Idea and mini IDEs
GitOrigin-RevId: 98f418c52d90d51b9adf3250c561f2c36c767e2d
2024-01-22 20:26:58 +00:00
Ilya.Kazakevich
b533e29ce0
[python] get rid of classes registered in wrong modules
...
You must register class in the same v2 module class sits
GitOrigin-RevId: c7fcccd27c2fcaa3d9391d1173f61ad43fe2b076
2024-01-17 04:59:01 +00:00
Ilya.Kazakevich
19ed89fec2
Migrate python intelliLang to v2
...
GitOrigin-RevId: ffcac639cf73ac332731101939b5bdc906f47372
2023-12-21 21:23:27 +00:00
Andrey Cherkasov
06342a71b3
[python] Make extension classes final
...
GitOrigin-RevId: d650b5e733d806a06911f942cfd1dec70197b061
2023-12-13 20:02:09 +00:00
Nikolay Chashnikov
4899a5a210
cleanup: remove redundant '@author' tags from javadoc comments - 6
...
Now we have Code Vision hints which determine the author via Git history and show it in the editor automatically, and this information is more accurate than the tags which were automatically added when files were created.
GitOrigin-RevId: 30586ed1915e3b35394ff3ee6251607c64bbabdd
2023-01-18 17:01:44 +00:00
Dmitry Jemerov
749ce8a332
Cleanup: remove @author tags
...
GitOrigin-RevId: 9174eb8d77215b16f9f6c6074e6aced654d95ef1
2021-05-03 13:07:48 +00:00
Tagir Valeev
78a91459c4
Array annotations changed to type-use style (not compilable now)
...
GitOrigin-RevId: 68aa4ba200618083684599228e13dfdba35967a4
2020-01-16 08:11:51 +00:00
Vladimir Krivosheev
1a50cd3c35
cleanup
...
GitOrigin-RevId: f0443bff2c6d27842797c6e1ca7b18deb30bc987
2019-11-09 08:39:44 +00:00
Gregory.Shrago
92f5adff73
PY-38312 Reuse Python plugin in PyCharm
...
GitOrigin-RevId: 614aecfde6c57cb8f2b99c01c7085c5ae33a1d5d
2019-10-08 17:03:50 +00:00
Alexander Zolotov
4f5dbd65a4
Make python auxiliary plugins incompatible with IntelliJ IDEA as they are bundled into python plugin
...
+ get rid of python plugin without auxiliary plugins inside
GitOrigin-RevId: 4a74b542be95aa012b7d74755bfffab21c8c0cfe
2019-09-30 15:03:47 +00:00
Alexander Zolotov
aab264bb0b
Delete version tags from plugin.xml files
...
They don't make any sense since
- they are not required for bundled plugins (com.intellij.ide.plugins.IdeaPluginDescriptorImpl#myVersion will be filled with IDE version)
- they will be overwritten during the build for pluginsToPublish (org.jetbrains.intellij.build.impl.DistributionJARsBuilder#setPluginVersionAndSince)
Still they may affect plugins loading mechanism, e.g. see https://youtrack.jetbrains.com/issue/GO-6741 or https://youtrack.jetbrains.com/issue/IDEA-188964
2019-01-18 15:59:46 +03:00
Semyon Proshev
b1ede49516
Support INSERT OR IGNORE ... (PY-31748)
2018-11-09 15:43:31 +03:00
Mikhail Golubev
86b0f92e59
PY-31442 Disable f-string injections, check that warnings about backslashes are not duplicated
2018-10-01 12:46:45 +03:00
peter
285ff5cfcf
python injectors: perform cheap checks first
2018-09-06 17:17:07 +02:00
Mikhail Golubev
1121d314bb
PY-21493 PY-23270 Python IntelliLang injectors are aware of f-strings
...
and considered before the dedicated injector for f-strings takes place.
Also, PyInjectionUtil.registerStringLiteralInjection now takes care of
f-string injections itself.
2018-07-16 22:38:21 +03:00
Semyon Proshev
a086f1c413
Support INSERT IGNORE ... (PY-30794)
2018-07-10 20:03:19 +03:00
nik
c9620ce099
IDEA project configuration: the great module rename
...
Rename all modules in IntelliJ IDEA sources to ensure that they follow a consistent naming scheme.
Update *.iml files.
2018-01-25 12:59:02 +03:00
nik
16410c2321
IDEA project configuration: the great module rename
...
Rename all modules in IntelliJ IDEA sources to ensure that they follow a consistent naming scheme.
Rename iml files.
2018-01-25 12:59:02 +03:00
Alexey Kudravtsev
d81f59d434
removed redundant method overriders after "Method is identical to its supermethod" inspection run
2018-01-18 16:28:43 +03:00
Ilya.Kazakevich
775e5847db
PY-26963: Use IntelliLang to inject language + test
2017-12-18 23:23:20 +03:00
Alexey Kudravtsev
95e03ff344
removed ugly dirty unsafe hacks
2017-11-21 15:41:47 +03:00
Semyon Proshev
4586bcbbd0
Simplify multiline comments part in sql regexp (PY-26036)
2017-11-02 15:19:59 +03:00
Semyon Proshev
8f4d31d439
PY-23311 Fixed: Postgres Create Extension doesn't get syntax highlighting
...
Add PostgreSQL extensions support.
2017-06-05 20:29:40 +03:00
Yann Cébron
81d29f9bd5
Plugin descriptors: remove deprecated attribute idea-plugin@version (IDEA-163694)
2016-11-11 17:08:58 +01:00
Semyon Proshev
68d99378ee
PY-19506 Fixed: CREATE TEMP TABLE not recognized as SQL-statement within Python-String
...
Support temp tables creating
2016-06-23 14:27:44 +03:00
Semyon Proshev
4925746bf7
PY-19473 Fixed: Incorrect sql injection detected
...
Update "COPY FROM/TO" regexp to decrease false positives
2016-05-18 19:17:34 +03:00
Semyon Proshev
621158c494
PY-19075 Fixed: PyCharm 2016.1.1 freezes immediately after the update
...
Improve SQL injection regexps so performance become better. Also add test for whitespace string injection
2016-04-08 20:51:19 +03:00
Semyon Proshev
5c7d96e49e
PY-19075 Fixed: PyCharm 2016.1.1 freezes immediately after the update
...
The problem was in SQL regexps, in comments matching. It runs exponential on the strings like "/**//**//**//**//**//**/"
2016-04-07 18:21:27 +03:00
Semyon Proshev
cf8a80f3c0
PY-19075 Fixed: PyCharm 2016.1.1 freezes immediately after the update
...
The problem was in SQL regexps, in comments matching. It runs exponential on the strings like "-----------------------------"
2016-04-07 16:29:10 +03:00
Semyon Proshev
4722816635
PY-16814 Fixed: No Language Injection for PostgresQL WITH statements
...
PY-18345 Fixed: SQL dialect incorrect after update to 5.0.4
PY-18871 Fixed: Wrong SQL detection
Improve SQL injection by pyInjections.xml enhancement
2016-03-28 14:10:03 +03:00
Andrey Vlasovskikh
18e0685313
Inject SQL into strings with "CREATE VIEW" (PY-17414)
2015-12-23 19:27:49 +03:00
Andrey Vlasovskikh
8db8aa0cf2
Search for SQL patterns in string literals not only in the begginning (PY-12041, PY-16814)
2015-12-23 19:27:48 +03:00
nik
65d50f97c9
don't specify ITNReporter as errorHandler explicitly, it is automatically used for exception from plugins which vendor is JetBrains
2015-12-17 12:11:27 +03:00
Andrey Vlasovskikh
e083779793
Updated copyright
2014-10-16 17:56:38 +04:00
Andrey Vlasovskikh
bf58d9d3ca
Added copyright
2014-10-16 17:54:28 +04:00
Dmitry Trofimov
120a5e8db8
Fixed python-intellilang dependencies, moved configs to better place.
2014-07-31 15:41:30 +02:00
Gregory.Shrago
5d4ad8a0c4
Python: turn comment injector back on
2014-07-30 01:03:07 +04:00
Anna Kozlova
c8b9be70fe
make python depends on IntelliLang as all others plugins do (IDEA-127778)
2014-07-25 20:41:54 +02:00
Andrey Vlasovskikh
5fd0a911b0
Fixed SQL 'select/insert/...' rule injection into indented string literals (PY-11970)
2014-01-29 21:53:58 +04:00
Andrey Vlasovskikh
6e66b227d6
Don't run code analysis for injections with interpolation in string formatting (PY-11962)
2014-01-29 20:58:08 +04:00
Andrey Vlasovskikh
a185876d3a
Disabled comment injector for Python for performance reasons
...
Searching for comments in the AST takes some time, we need to improve
it.
2014-01-24 14:31:53 +04:00
Andrey Vlasovskikh
7ca0e527f8
Inject SQL only into strings that have SELECT/UPDATE... at the beginning
2014-01-22 19:44:57 +04:00
Andrey Vlasovskikh
cfe29d7846
Revert "Detect SQL fragments only in the beginning of string literals" (PY-11828)
...
It was a temporary solution for injecting SQL into concatenated fragments of
strings. Now fragment injection handles it well.
This reverts commit 546c532128 .
2014-01-15 16:54:44 +04:00
Andrey Vlasovskikh
546c532128
Detect SQL fragments only in the beginning of string literals
2013-12-05 21:00:22 +04:00
Andrey Vlasovskikh
b0fa5ca1f5
Added comment-based language injector for Python
2013-11-25 18:37:47 +04:00
Andrey Vlasovskikh
78fc601818
Fixed un-inject language availability for temporary Python injections
2013-11-25 17:47:28 +04:00
Andrey Vlasovskikh
67c086f0bc
Fixed SQL select IntelliLang pattern (PY-10926)
2013-11-22 21:05:44 +04:00
Andrey Vlasovskikh
fd11bd29dd
Support for temporary and configuration-based IntelliLang injections in Python (PY-10983, PY-10721)
2013-11-22 20:55:02 +04:00
Dmitry Jemerov
2067b87220
help for Python language injection settings (PY-10753)
2013-10-31 21:00:15 +01:00