674 Commits

Author SHA1 Message Date
Karol Lewandowski
e87f195b80 Code samples: Change the CONTINUATION_INDENT_SIZE from 8 to 4 and reformat code.
We use INDENT_SIZE = 2 and continuation size should be at most 4 in this case.
2023-09-07 11:59:58 +02:00
Karol Lewandowski
9519c2e9e3 Fix ConditionalOperatorConverterTest 2023-09-05 17:13:22 +02:00
Karol Lewandowski
bfad7b781d ConditionalOperatorConverter: Remove redundant startInWriteAction() 2023-09-05 16:56:05 +02:00
Karol Lewandowski
1cde070dd6 ConditionalOperatorConverter: Cleanup: remove final modifiers 2023-09-05 16:56:05 +02:00
Karol Lewandowski
be7ac20f04 ConditionalOperatorConverter: Remove potential NPE warnings 2023-09-05 16:56:05 +02:00
Karol Lewandowski
d4c776e7cf Fix conditional_operator_intention code sample: Family name displayed in the inspections list is "ConditionalOperatorIntention" 2023-09-05 16:56:05 +02:00
Yann Cébron
2f296cb613 Kotlin 1.9.10 2023-08-24 09:12:43 +02:00
Jakub Chrzanowski
94e42c1839 code samples: Gradle 8.3 2023-08-17 11:13:58 +02:00
Yann Cébron
f483e89218 simple language: SimpleFoldingBuilder use visitor, cleanup 2023-08-10 14:04:28 +02:00
Yann Cébron
e52fcb44e6 simple language: SimpleFoldingBuilder cleanup, update folding on property value change 2023-08-10 13:48:04 +02:00
Karol Lewandowski
7ffca8f009 code_samples/project_view_pane: Cleanup (#1093)
* code_samples/project_view_pane: Cleanup:

- fix bug with not refreshing "svg" files and add supporting "jpeg" extension
- fix not working "Folders Always on Top" switch
- fix extracting file extension
- change disposable from Project to ProjectViewPane
- use BulkFileListener instead of VirtualFileListener with Alarm for updating the tree for immediate updates
- use Application.invokeLater instead of SwingUtilities.invokeLater
- code cleanup

* code_samples/project_view_pane: Add project.getDisposed() condition to the Application.invokeLater() call

* code_samples/project_view_pane: Do not count non-project files

* code_samples/project_view_pane: Do not update UI too often
2023-08-02 14:32:01 +02:00
Yann Cébron
d7dd55a7e0 2023.2 release (#1091) 2023-07-26 14:44:10 +02:00
Karol Lewandowski
8aa8712db7 Correction: "register as an extension point" -> "register in an extension point" 2023-07-19 10:18:25 +02:00
Yann Cébron
1d98a4aa15 code samples: Gradle 8.2.1 2023-07-12 09:01:20 +02:00
Yann Cébron
2feb940974 remove Kotlin 1.8.20 OOM workaround from code samples 2023-07-10 17:01:58 +02:00
Jakub Chrzanowski
991e7e7f4a Update Kotlin to 1.9.0 2023-07-07 16:37:54 +02:00
Jakub Chrzanowski
c40dd36d76 Update Gradle IntelliJ Plugin to 1.15.0 2023-07-07 16:37:11 +02:00
Karol Lewandowski
38b069b7cd Update Gradle IntelliJ Plugin to 1.14.2 2023-07-06 15:13:17 +02:00
Yann Cébron
dfcaad15ea code samples: add gradle.properties to enable caching and defaults for use of Kotlin 2023-06-15 12:47:44 +02:00
Karol Lewandowski
952dcd552e Execution API docs (#1065) 2023-06-15 10:51:07 +02:00
Yann Cébron
f0919033ea [code samples] update Gradle IntelliJ Plugin 1.14.1 2023-06-08 09:30:06 +02:00
dependabot[bot]
c1ea8f3df3 build(deps): bump org.jetbrains.kotlin.jvm in /code_samples/kotlin_demo (#1063)
Bumps [org.jetbrains.kotlin.jvm](https://github.com/JetBrains/kotlin) from 1.8.21 to 1.8.22.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin.jvm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-08 09:26:15 +02:00
Jakub Chrzanowski
5897a3326a code-samples: gradle-intellij-plugin 1.14.0 2023-06-02 09:25:32 +02:00
Vadim Tsindyaykin
14b940407e add Run IDE with Plugin configuration to all plugin samples. (#1038) 2023-05-22 18:00:54 +02:00
Patrick Scheibe
79c236498c Switch from DocumentationProvider to DocumentationTargetProvider (#1037)
* Include docs for Documentation Target API
* Rearrange the page to combine it with the deprecated Documentation Provider API
* Update API changes page
* Add notes to the language tutorial
* Include suggestions from Karol and Yann
2023-04-27 14:13:13 +02:00
Yann Cébron
ec1bfebdf2 code samples: Gradle 8.1.1 2023-04-25 10:30:47 +02:00
Yann Cébron
c1b06a41a5 code sample: kotlin 1.8.21 2023-04-25 09:38:52 +02:00
Jakub Chrzanowski
8f915a5c90 Update JBPlatform Twitter badge 2023-04-17 22:40:32 +02:00
Jakub Chrzanowski
c1524022ad Code Samples: bump Gradle to 8.1 2023-04-17 22:40:31 +02:00
Karol Lewandowski
82c299200a tool_window code sample: Update README.md 2023-04-11 16:18:07 +02:00
Karol Lewandowski
1b8d2dd142 tool_window code sample: Reimplement to get rid of the form created with GUI form designer 2023-04-11 15:08:50 +02:00
Karol Lewandowski
be06c8856d tool_window code sample: Fix deprecated API usage 2023-04-11 13:07:53 +02:00
Karol Lewandowski
ce89421f49 Use Light Service in max_open_projects code sample 2023-04-05 16:13:04 +02:00
Yann Cébron
a25e24cbcd code-samples: workaround for kotlin 1.8.20+, update link 2023-04-04 15:31:43 +02:00
Yann Cébron
3bec523d7c code-samples: workaround for kotlin 1.8.20+ 2023-04-04 10:21:39 +02:00
Yann Cébron
476b7f7dfb code-samples: add suggested Gradle plugin setup for kotlin_demo 2023-04-03 14:17:34 +02:00
dependabot[bot]
b09e27ccc3 build(deps): bump org.jetbrains.kotlin.jvm in /code_samples/kotlin_demo (#1033)
Bumps [org.jetbrains.kotlin.jvm](https://github.com/JetBrains/kotlin) from 1.8.10 to 1.8.20.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin.jvm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-03 14:07:18 +02:00
Yann Cébron
75f220a602 code samples: update gradle plugin 2023-03-29 10:26:28 +02:00
Yann Cébron
e57496774f 2023.1 release (#1010)
* 2023.1 release: update gh-links, re-gen EP lists

* code samples: update target version

* code samples: fix framework_basics missing dependency on Java plugin

* stub_indexes.md: update -master GH link

* EP lists: improve "Topic" presentation

* internal_ui_inspector.md: fix link

* kotlin_demo: fix link

* Generate Android Studio releases

* publishing_plugin.md: add note about plugin signing

* plugin_signing.md: Update information about providing `certificateChainFile` and `privateKeyFile` + minor changes

* tools_gradle_intellij_plugin.md: add `verifyPluginSignature` task

* plugin_signing.md: add Plugin Signature Verification

* plugin_signing.md: fixed anchor

* creating_plugin_project.md: update

* GH: set final 2023.1 tag

* GH code samples: update PV version

* code samples: ComparingStringReferencesInspection compatibility with 231.*
2023-03-28 20:09:23 +02:00
Yann Cébron
1fd9ebd759 remove obsolete "Preferences" term usage 2023-03-27 14:09:44 +02:00
Yann Cébron
22eb168ad0 code-samples: gradle-intellij-plugin 1.13.2 2023-03-13 10:10:00 +01:00
Yann Cébron
8b7c6c174a code samples: gradle intellij plugin 1.13.1 2023-03-02 14:24:36 +01:00
Karol Lewandowski
5ee347bb0e Update Go to Class/Symbol content 2023-03-01 10:55:40 +01:00
Karol Lewandowski
2fbcf27a1b Fix missing icon in "go to symbol contributor" + use newer ChooseByNameContributorEx API 2023-02-28 16:52:39 +01:00
Karol Lewandowski
f255166cc0 Remove unused idea.home.path from code samples 2023-02-28 09:36:18 +01:00
Karol Lewandowski
4d1b6e6789 New topic: Inspection options (#988) 2023-02-27 15:36:02 +01:00
Jakub Chrzanowski
148ce5b74f Code Samples: bump Gradle to 8.0.1 2023-02-25 11:54:11 +01:00
Karol Lewandowski
bc655b6459 Remove inspection_basics code sample 2023-02-21 13:18:48 +01:00
Yann Cébron
5352f62748 code samples: Gradle 8.0 2023-02-14 15:38:57 +01:00
Jakub Chrzanowski
1525f7448b gradle intellij plugin 1.13.0 2023-02-10 20:38:30 +01:00