Tagir Valeev
4fb7bcbadb
[inspections] Experimentally inject field names
...
GitOrigin-RevId: 8de92f5de8409806e67cb0e834cd01b24c06d044
2022-12-11 17:22:57 +00:00
Tagir Valeev
6d23486911
[inspections] Use getOptionsPane()
...
GitOrigin-RevId: 9c5a7cbbf569d13ff16ae3597df14d369cb86be9
2022-12-11 13:00:35 +00:00
Tagir Valeev
0a55db0c8e
[inspections] Allow custom read/write of options (IDEA-306800)
...
GitOrigin-RevId: 56fd02bbdb675b5eeeb3ed790b22aa7f95c550a9
2022-12-11 13:00:34 +00:00
Ruslan Cheremin
5d04c3e72d
[core] yak shaving & code motions
...
- renamed PersistentFSRecordsStorage.put{Timestamp,Length} -> set{Timestamp,Length} to unify modification methods naming
- made FSRecords.handleError() return Exception to be used in 'throw' statements -- make it usages shorter and clearer
- few additional comments/javadocs
GitOrigin-RevId: 1921c59c1c55c198cae9f30a486c214095cda424
2022-12-10 20:26:54 +00:00
Tagir Valeev
cd82cab9af
Semi-automatically convert some inspections to getOptionsPane()
...
GitOrigin-RevId: 278738b94a3c275ce6c4d739aab5abcd99f3ba94
2022-12-10 17:06:46 +00:00
Tagir Valeev
394fd38cb5
[inspections] Automatically convert createOptionsPanel() to getOptionsPane() in simple cases
...
GitOrigin-RevId: 8377376db858deac58eead81e92b286c1b099e10
2022-12-10 17:06:42 +00:00
Bas Leijdekkers
88fb2cea2a
Java: fix false positive on foreach loop parameter (IDEA-307650)
...
for "Parameter name differs from parameter in overridden or overloaded method" inspection
GitOrigin-RevId: f6f4875e14ad5fe83b218cb0f7b14f7fab6a6294
2022-12-10 14:52:16 +00:00
Bas Leijdekkers
e08548c149
global inspections: enable visit psi in parallel
...
GitOrigin-RevId: 76022cf38d2e1796ee834385c035b6c51a8310d2
2022-12-10 14:52:12 +00:00
Bas Leijdekkers
0559aa643f
implement isAcceptableInContext() for Python live template macro so that it is not available in other contexts
...
GitOrigin-RevId: daba7819e9ff621142e07df43bf2047415f0af8e
2022-12-10 14:52:09 +00:00
Tagir Valeev
faa476c41c
[java-psi] Fix annotation handling in records
...
1. Methods on PsiModifierList and PsiModifierListOwner should produce consistent result
2. getAnnotations() should be consistent with hasAnnotation() and findAnnotation/getAnnotation()
3. Compact constructor parameters should also have annotations
4. It's wrong to mix annotations on field type/method return type and annotations on field/method itself. Problems especially arise when component type is an array: in this case, it has separate set of annotations (declared before []). Also, it's unnecessary to filter annotations on type: they are already filtered; only type_use annotations are there.
Fixes IDEA-302340 'Constant values' false positive for record @Nullable array when DefaultQualifier NonNull is used in package-info
GitOrigin-RevId: 39f7bcd8fca652fb50c92c52b95a5d39b4400fc8
2022-12-10 11:46:57 +00:00
Tagir Valeev
fb66fb758a
[java-analysis] Prefer nullity from contract over nullity from default type annotation
...
Under @DefaultQualifier, all simple type instances are assumed to be notnull. Type of argument for Object obj = Objects.requireNonNull(xyz) is inferred to be `Object` type mention. As a result, it's believed to be notnull.
While we are not fixing the issue in general, in this particular case, we can disable type-based nullability, as we know requireNonNull contract
Fixes IDEA-303382 Incorrect inspection for requireNonNull with DefaultQualifier annotation
GitOrigin-RevId: fa010ac638be4a78b9464c1a6faa4d4d7f08ec34
2022-12-10 11:46:54 +00:00
Vitaly Provodin
8aff96f9a4
Updating versions of project dependencies: runtimeBuild->17.0.5b730.2, jdkBuild->17.0.5b730.2
...
GitOrigin-RevId: bc52b218eaa25cc2eefca4b45881c5772d3d4b1d
2022-12-10 10:36:31 +00:00
Dmitry Batkovich
3e1c4cd2bc
index & vfs: do not mark them as corrupted when storages were accessed after they has been closed in shutdown hook (graceful app exit on sigterm)
...
GitOrigin-RevId: d12d5677b5f93310f142c83a6e1f47249adb8a07
2022-12-10 09:14:56 +00:00
Vladimir Krivosheev
38a40f3746
fix CodeStyleStatusBarPanel border
...
GitOrigin-RevId: e78dd435565b1e62ad41776c4e2c6453135646b0
2022-12-10 06:54:10 +00:00
Vladimir Krivosheev
b83a562abc
fix spacing in indent tooltip
...
GitOrigin-RevId: d57262cf6251034adf057299505627998382ab05
2022-12-10 06:54:06 +00:00
Vladimir Krivosheev
69c9e5b2b1
mark addListener as internal - API not intended for public use
...
GitOrigin-RevId: ae2b5b4bd967d14cc1c53bcea86e3278555106bf
2022-12-10 06:54:03 +00:00
Louis Vignier
604961c3cc
[lang] Remove dependency on miglayout-swing
...
GitOrigin-RevId: 003b5956741d45145dfe0a7aa4e5b4a061ef93b0
2022-12-10 06:27:29 +00:00
Louis Vignier
5386e8ee9c
[codeInspection.ui] Fix the inspection table layout after pressing space
...
#IDEA-303715 Fixed
GitOrigin-RevId: cd4f086c9c4db33b3a4053f3fd1b7eddbbd2be17
2022-12-10 06:27:27 +00:00
Louis Vignier
fb04b61677
[codeInspection.ui] Update inspection options using growing components
...
- tables need to use `InspectionOptionsPanel#addGrowing` to grow vertically when there is space available
- some components don't need to use `#addGrowingX` because they are correctly sized (eg. checkboxes)
GitOrigin-RevId: c30c8d0f683e9f4fe4409b4583808db6c01ff21f
2022-12-10 06:27:26 +00:00
Louis Vignier
8f6ed5ca32
[codeInspection.ui] Fix InspectionOptionsPanel and update class/annotation panels
...
GitOrigin-RevId: 488b31c348baa5e0a496ed3f1a63b476a23522ad
2022-12-10 06:27:24 +00:00
Louis Vignier
9ff5c10364
[codeInspection.ui] Get rid of MigLayout in InspectionOptionsPanel
...
#IDEA-307785 Fixed
GitOrigin-RevId: e6c351ee8262b937579d129afe84f845600d22dc
2022-12-10 06:27:22 +00:00
Louis Vignier
78e00acf6e
[codeInspection.ui] Use String#equals in SingleInspectionProfilePanel
...
GitOrigin-RevId: 486e5627ea161b31c81e25b415e034a321281282
2022-12-10 06:27:20 +00:00
Louis Vignier
838656a30a
[intention-preview] Add a custom diff preview for XmlEntitiesInspection intentions
...
GitOrigin-RevId: ef6d778fbf761c96593a23ae9b0fad01df0f26bc
2022-12-10 06:27:19 +00:00
Louis Vignier
04a88cf36c
[ui] Make customization functions in GroupedComboBoxRenderer not abstract
...
If we override customize then getText, getSecondaryText and getIcon don't need to be overridden.
GitOrigin-RevId: e8aa2f06aa628ed8aa1d973d52a185753917b077
2022-12-10 06:27:17 +00:00
Dmitry Kichinsky
603b1b5fa3
IDEA-302307 icon classes regenerated
...
GitOrigin-RevId: 0f9fb73280cbc2a1a4be24632308ca12e687ec19
2022-12-10 01:37:21 +00:00
Dmitry Kichinsky
02cf85017c
EA-769349 - NPE: MavenProjectImporter$Companion.createImporter
...
GitOrigin-RevId: 6351e8d44d784d43e85fb332d6608103787e11fa
2022-12-10 01:37:17 +00:00
Dmitry Kichinsky
a04f470dfc
IDEA-302307 store ignored projects in workspace model
...
GitOrigin-RevId: 6870d87b4f8aa97bc0beb903a5e75a2a5c8792fb
2022-12-10 01:37:13 +00:00
Mikhail Mazurkevich
2c0d2d085c
Revert "[Workspace Model] [IDEA-306056] Do not load javaSettingsEntity if it's attributes in iml are empty"
...
This reverts commit 220f5a0f962685838e888902cf121d748c5a7e4b.
GitOrigin-RevId: 254bfd3fbca409dd0076d7f17cbe7c2649ccba90
2022-12-10 01:07:00 +00:00
Semyon Proshev
e700c94521
Put only visible plugins to shared index metadata
...
GitOrigin-RevId: 6904e7bc5b10dfc2f7d8cc71ad9361a06041d8b5
2022-12-09 21:49:24 +00:00
Roland Illig
839984e9dd
Cleanup: reduce nesting of 'if' in HotSwapUIImpl
...
GitOrigin-RevId: f74dbf11ae7e1f6a791e74d4fb981b5dcf7b1bd7
2022-12-09 21:32:45 +00:00
Roland Illig
c93816e9c3
Cleanup: use simpler type for output paths in HotSwapUIImpl
...
GitOrigin-RevId: 4d23ca9d9d82645d704f7be9b8fb70fdf16d3d58
2022-12-09 21:32:43 +00:00
Roland Illig
11adb0a7ae
Cleanup: rename local variable in HotSwapUIImpl
...
GitOrigin-RevId: 67c3f4e2488e16c42c21d9d2f199fb9f32ab639a
2022-12-09 21:32:42 +00:00
Roland Illig
04c75fdd5e
Clean up the comments in DebuggerSession
...
GitOrigin-RevId: 1759412235db6dd9e8e9d599ee9b435fb7b3b065
2022-12-09 21:32:40 +00:00
Roland Illig
ea78939bf9
Cleanup: fix indentation in HotSwapUIImpl
...
GitOrigin-RevId: 9eb3fbc8166659c4d4724406829484ace0f64d59
2022-12-09 21:32:39 +00:00
Roland Illig
f0676b19c5
Cleanup: extract collectGeneratedPaths in HotSwapUIImpl
...
GitOrigin-RevId: fd116a3ebc3f6c5ce02a12b44021f5ba0233637c
2022-12-09 21:32:37 +00:00
Denis Konoplev
25f4c50e95
[gtw] Ability to disable icons in list
...
GitOrigin-RevId: 2fba168dbf71869ce22838afa9330c2a12a38b29
2022-12-09 21:25:15 +00:00
Manuel Ceron
e1618ce0b5
[fleet] Not showing exceptions when LSP text convertions fail.
...
FL-16324
GitOrigin-RevId: b7f6b3db05db9530d0963e2cfba96410b90ce78f
2022-12-09 18:42:16 +00:00
Dmitry Zhuravlev
c8795e39c9
git: allow focusing popup in git toolbar widget
...
Otherwise, even explicit selection of search field doesn't show caret there.
GitOrigin-RevId: 0cc64d215ca013984f664479e23691ff620b84c2
2022-12-09 18:25:46 +00:00
Mikhail Mazurkevich
653ad9d7b4
[build process] Log messages in integration test
...
GitOrigin-RevId: 115422124ad0dc87e14d9d198b5f02ec827c2895
2022-12-09 18:04:21 +00:00
Dmitry Avdeev
d509b6abf1
IDEA-308125 Cannot select JDK in Java run configuration dialog
...
GitOrigin-RevId: 2dee8a63d2cc38038e5c77818062bb99cf7bc258
2022-12-09 17:46:38 +00:00
Ivan Posti
033ea57460
[Markdown] Update intellij-markdown to 0.3.4
...
This should fix a bunch of issues with incorrect rendering of escaped pipes in code spans inside tables (IDEA-275308, IDEA-283181, IDEA-213124).
GitOrigin-RevId: 09f7cdffbc77c7c1beab58c4446ae4106e9d8ff2
2022-12-09 17:42:18 +00:00
Ivan Posti
5fdc0dc800
[Markdown] Use TableAwareCodeSpanGeneratingProvider as a base for CodeSpanRunnerGeneratingProvider
...
GitOrigin-RevId: 7224a9a7339128b0c87097e6bcad7aba4388e650
2022-12-09 17:42:14 +00:00
Ivan Posti
bf891f1911
[Spellchecker] Use guessProjectDir instead of getBaseDir for file chooser
...
GitOrigin-RevId: e17a038b21a6b879e592853e438db3df6b9a020b
2022-12-09 17:42:11 +00:00
Ilya Kirillov
d8cf3c0f29
[kotlin] do not suggest completion of classifiers from indices when on empty prefix
...
Needed to optimize performance
GitOrigin-RevId: afff7102ca680255bdeb58b71ddc41653a5ab9cb
2022-12-09 17:36:54 +00:00
Alexey Kudravtsev
e4b862b119
do not call project index in EDT to fix EA-740920 T: DirectoryIndexImpl.getInfoForFile
...
GitOrigin-RevId: 84d87ffe0156c12a2e9b0d2addbb1c9baf302970
2022-12-09 17:14:56 +00:00
Alexey Kudravtsev
c367578d3f
notnull
...
GitOrigin-RevId: d9ba8a71340e0c8a21dc7a5c4c0f120f7d5634f4
2022-12-09 17:14:53 +00:00
Alexey Kudravtsev
a08b9a3e01
remove getPsiFile() from HighlightingPass.getExpireCondition which is computed in EDT to fix EA-657358 T: DirectoryIndexImpl.getInfoForFile
...
GitOrigin-RevId: 571494cc4bd8eb0e8c508d1ca1c446a19f280c77
2022-12-09 17:14:49 +00:00
Alexey Kudravtsev
5260b32c9d
cleanup
...
GitOrigin-RevId: 56034b782d3c297501ee4e9b5eaeb1e0353f5ae3
2022-12-09 17:14:46 +00:00
Alexey Kudravtsev
69188ed466
do analysis in BGT to fix EA-659845 T: DirectoryIndexImpl.getInfoForFile
...
GitOrigin-RevId: 326b62b0b6e71754cfd4d4462a4547d064e2c126
2022-12-09 17:14:42 +00:00
Pavel Porvatov
77cb97227a
IDEA-308166 Rows jumped a little after rollback icon is shown in advanced settings
...
GitOrigin-RevId: 7d940ea6323b65d908f7ae849a31766cd5bda5fb
2022-12-09 16:50:08 +00:00