Commit Graph

181 Commits

Author SHA1 Message Date
Vladimir Krivosheev
3a9826fcc4 IJPL-148249 intellij.java.performancePlugin and intellij.java.featuresTrainer as a v2 module
GitOrigin-RevId: b2a8c10d07744219f644d8bc2507eb65e0597938
2024-04-16 17:06:28 +00:00
Maxim Banaev
abdb299e0a CPP-37769 Features Trainer: Add Code Assistant lessons
* better text in common lessons
* fix help links
* add some additional steps to Popups lesson

GitOrigin-RevId: 2a3824121599561882f7d6726e91a7334aa6307c
2024-03-04 12:59:30 +00:00
Maxim Banaev
f9690088ad CPP-35553 Features Trainer: Add Run / Debug workflow lesson
* add run Configuration lesson

GitOrigin-RevId: 3a28c5bb686c5d12db378b46d3c095783aa8e48f
2024-02-27 18:20:13 +00:00
Alexey Merkulov
a73b1e5713 [IFT] Refactoring: extract same logic about showing onboarding feedback
GitOrigin-RevId: 899001a8cd92e7dbe95c2ea1efcb0d00037f1df1
2024-02-27 17:50:22 +00:00
Konstantin Hudyakov
8d397b5b30 IFT-556 Edit the position of debug GotIt tooltips in onboarding lessons
Since the debug toolbar is showing on the left, edit the GotIt tooltips positions to not intersect with tool window stripes.

GitOrigin-RevId: a801c231e87728ae7bf16edfb8135660ef574266
2024-02-26 12:45:37 +00:00
Konstantin Hudyakov
6027da7a0b IFT-549 Enable the Main Toolbar forcefully in onboarding lessons
Previously we have enabled the navigation bar to make the actions of the IDE header visible, but in the New UI it makes no sense. So, we have to enable the Main Toolbar now.

GitOrigin-RevId: cc29207ecc86dd56280556b9a3b43df240acb53f
2024-02-20 18:40:46 +00:00
Konstantin Hudyakov
ff7ceba2fa IFT-555 Refactor: do not modify the lesson variables in the LessonContext
It would be better to get rid of using mutable lesson properties and store mutable lesson state inside the lesson context or something with a clear life cycle. But such a solution requires more work.

GitOrigin-RevId: 1ab2b16a9af2ecc9713f2b77501c68830cb61f33
2024-02-20 18:40:41 +00:00
Maxim Banaev
858b5e1e70 CPP-37550 IFT: Add Navigation Lessons to CLion
* add Next/previous occurence lesson

GitOrigin-RevId: 4fd345585e6ceacc7f989ff707941997d3502d59
2024-02-16 17:42:34 +00:00
Tagir Valeev
7625b3c7a2 [java] IDEA-345355 Refactor HighlightingFeature (in progress)
Merge JavaLanguageFeature into JavaFeature

GitOrigin-RevId: 212b31d072450df03fc9eeeeb2cf0861b2b32bc1
2024-02-08 10:07:28 +00:00
Tagir Valeev
d8aa739e97 [java] IDEA-345355 Refactor HighlightingFeature (in progress)
Use JavaLanguageFeature instead of HighlightingFeature

GitOrigin-RevId: ad24840c3e810521c82da3873ec42aa3fadb4c0d
2024-02-08 10:07:18 +00:00
Dmitry Pogrebnoy
c52e01c89c IDEA-338866 Set time scope for feedback collection for onboardings
(cherry picked from commit 0cba21a9137f10365bacb6d998601e570940b0cd)

IJ-CR-121256

GitOrigin-RevId: a90bc9c9ce1c6462c9719ed4ddd305a5e1a44f29
2023-12-11 11:54:11 +00:00
Konstantin Hudyakov
228b04489b IFT-525 Add Java or Kotlin onboarding tour promoter
Created the separate `intellij.kotlin.onboarding-promoter` module for the promoter extension.
This module is not bundled to Kotlin plugin because the promoter should be present only in IDEA Community/Ultimate (when Kotlin and Features Trainer plugins are enabled).
The name of this module is prefixed by `intellij`, because otherwise `KotlinModuleConsistencyTest` will fail. Also, there will be a lot of failed tests because this module won't be loaded in `ClassPathXmlPathResolver.resolveModuleFile` (`intellij` prefixed module descriptors can be missed when loading, by `kotlin` is not).

GitOrigin-RevId: 4b81ff2bfc0b60148e8b91fd35539edd113ab787
2023-11-29 16:48:11 +00:00
Konstantin Hudyakov
4798cf5858 IFT-525 Move onboarding tour banner image to Java lessons module
It will be required to reuse this image in the "Java or Kotlin" onboarding promoter and, so it should be accessible from the new module.

GitOrigin-RevId: 60d30d93cc3ef2b3ca9a9c05f009588338e257f0
2023-11-29 16:48:07 +00:00
Konstantin Hudyakov
c9ef3bcc4d IFT-525 Use single ID for Java and Kotlin onboarding lessons
Then, if one of these lessons is passed, the other will also be marked as passed.
Also, implement lesson passed state migration, so the Java onboarding lesson will stay passed after ID renaming, if it was passed before.

GitOrigin-RevId: 20b949355b5492c8626d764a4a60da9dcd974800
2023-11-29 16:48:04 +00:00
Frederik Haselmeier
30a5cc3323 [kotlin] Translated onboarding tour to Kotlin, added a few more lessons
^KTIJ-26048 fixed


Merge-request: IJ-MR-120001
Merged-by: Frederik Haselmeier <Frederik.Haselmeier@jetbrains.com>

GitOrigin-RevId: 355d7d61360183b72a190c1d092e629b9774e0d9
2023-11-27 12:14:20 +00:00
Konstantin Hudyakov
b04c281c69 IFT-518 Refactor: use PlatformUtils.isIntelliJ() instead of separate conditions
`PlatformUtils.isIntelliJ()` also true for IDEA EDU, but since it is not released anymore, it is ok to use this function to check for IDEA Community/Ultimate.

GitOrigin-RevId: 50b9b8e38ec7ba422d09e15f91b1c177f925c458
2023-11-20 10:25:23 +00:00
Konstantin Hudyakov
eee95f36ec IFT-518 Make Java onboarding lesson and promoter available only in IDEA Community/Ultimate
GitOrigin-RevId: a50cd450b5f6d446b904ac0c735a320a3fb38657
2023-11-10 11:21:13 +00:00
Alexey Merkulov
9ee1ff4780 [IFT] Fix icon in the Java Inheritance lesson
The problem reported in comment for IFT-120

GitOrigin-RevId: 2be6305ddf3c115c067f581f79f4863404e4c8ea
2023-10-31 18:38:27 +00:00
Frederik Haselmeier
7fa947f590 [kotlin] Extracted onboarding tips documentation provider logic to abstract class
KTIJ-27381

GitOrigin-RevId: 7b0b93c33d18242538c6cdebaf922d59cc4dc78d
2023-10-20 16:00:35 +00:00
Alexey Merkulov
8323548c83 IDEA-333739 Force onboarding tips comments rendering on editor opening
GitOrigin-RevId: 4c05dbfb016504028a00ade55beef75e3875e679
2023-10-10 01:35:43 +00:00
Alexey Merkulov
f9804d808e IDEA-333739 Restrict onboarding tips rendering to only one file
GitOrigin-RevId: fc2dfe21581723c304fd32119555f1023a0c62d8
2023-10-10 01:35:40 +00:00
Alexey Merkulov
c8710a3edc IDEA-333739 Refactoring: move JavaOnboardingTipsDocumentationProvider to java-feature-trainer module
It is needed to use common onboarding tips related logic, and it is located in the base feature-trainer module

GitOrigin-RevId: be86c2e576a99adf96ed2c0bfbbbe07fa4748ccf
2023-10-10 01:35:38 +00:00
Konstantin Hudyakov
b3315624bb [IFT] Refactor: extract getCallBackActionId to Utils
GitOrigin-RevId: 798a1d1aaca11f9e5c207d9ea20b01867b91eb32
2023-09-27 13:21:00 +00:00
Konstantin Hudyakov
428ce848ab [IFT] Fix parsing of the callback ID if it is greater than 999
Found that `com.intellij.AbstractBundle.getMessage` applies the formatting to the parameters passed as a `Number`. For example, it translates 1032 int to "1,032" string. And then `toInt` method fails to parse it.
Better to use String value as ID for callbacks to avoid this problem.

GitOrigin-RevId: 95a667a35f6107ec71df0da26892541d1d964b98
2023-09-27 13:20:57 +00:00
Andrei.Kuznetsov
4ac51f5308 IJPL-158: Remove usages of deprecated DumbServiceImpl.setDumbMode in indexes tests
GitOrigin-RevId: 1ac5c7ce78ee76d079c7081bdba999b714fd29a1
2023-08-23 12:16:43 +00:00
Konstantin Hudyakov
c1d2faa12e IFT-482 Fix debugger tool window step in onboarding lessons
GitOrigin-RevId: 04f7e1349d67a30b54cf15dd7b271da146d614fe
2023-07-18 12:29:38 +00:00
Konstantin Hudyakov
f268185a00 IFT-478 Fix Declarations and Usages lesson for Python and Ruby
GitOrigin-RevId: 5b8aacb292c8be1adc7dde27ae807b16936c5dc9
2023-07-14 09:17:20 +00:00
Konstantin Hudyakov
f965a02e7b [IFT] Fix unexpected restores in the navigation lessons
File is opened asynchronously, but restore check is executed after any event. There is no way except of adding the delay for restore.
Fixed IFT-475, IFT-476 and IFT-477.

GitOrigin-RevId: 4090bb9db067135a791a0a72c2f434060bc108eb
2023-07-13 16:49:44 +00:00
Alexey Merkulov
bf31a7f0c6 [IFT] Make Java to be the default IFT language for the Aqua also
GitOrigin-RevId: 59628cbb3691906264cb9dad81f2d7fb01e7fbd8
2023-06-08 18:39:51 +00:00
Alexey Kudravtsev
14ff37953d specify return type explicitly in Kotlin in some openapi and util to speedup Kotlin resolve
GitOrigin-RevId: 2b68c5d51524b822c645dbcb3828acbdd15245ad
2023-05-31 15:36:27 +00:00
Konstantin Hudyakov
bc56e3da3b IFT-455 Show GotIt tooltips during editor steps in onboarding lessons
GitOrigin-RevId: 7d7b2c7a32f1e7c1c01b28cd8b6401a38e7b08ca
2023-04-05 17:59:11 +00:00
Konstantin Hudyakov
d3999f2eb9 [IFT] Edit onboarding lessons text
GitOrigin-RevId: c2d0e9f297ab3b34e9670c1d2f91075d4f1817b0
2023-03-14 16:01:02 +00:00
Dmitry Matveev
b774540464 Feature Trainer. Proofread the 'Debug workflow' lesson
GitOrigin-RevId: 822efa404a1b9c2f914ee7ecbbe3786c4bcdedcf
2023-03-06 14:55:07 +00:00
Dmitry Matveev
6261d736e0 Feature Trainer. Proofread the 'Run configurations' lesson
GitOrigin-RevId: 6a062c4ae55566bcd0a79bfb994273756d40683d
2023-03-03 15:12:30 +00:00
Alexey Merkulov
8edb99ffbc [IFT] Change debugger toolbar highlighting defaults and remove pulsation and inside highlighting from Jupyter onboarding
GitOrigin-RevId: bd157fb57d4f0a52d7bf5d8ccd660c58ad16a1b0
2023-03-02 20:50:43 +00:00
Alexey Merkulov
aaea90d631 [IFT] Apply JBUI scaling in popup construction instead of call places
IJ-CR-103403

GitOrigin-RevId: 30b92fe24ca3b54a144fbc0ce4e6ac9adc7180e6
2023-02-24 15:00:53 +00:00
Alexey Merkulov
0291a4ce92 [IFT] Rework Python and Java run lessons and adjust them for the new UI
IJ-CR-103403

GitOrigin-RevId: 88218a3ef100af6592eea13a2ea3ee4c3a8070c6
2023-02-24 15:00:50 +00:00
Alexey Merkulov
acb4ad0ae8 [IFT] Adjust Java and Python debug lessons for the new UI
Also use 'Current' run configuration instead of generated one

IJ-CR-103403

GitOrigin-RevId: 4e1f775e40e012648f16209385f2d079081ba910
2023-02-24 15:00:40 +00:00
Alexey Merkulov
8f63bb4da5 [IFT] Split sample for run and for debug lessons
IJ-CR-103403

GitOrigin-RevId: 724480aadf5698a266f52fcab5e73952e8d26b2b
2023-02-24 15:00:37 +00:00
Egor Ushakov
af4f07cfac IDEA-311960 Old reset frame icon in the context menu - restored action id to preserve custom shortcuts
GitOrigin-RevId: 02295082680b1f24be5f75369c2e6b1c7e1017c6
2023-02-15 19:03:52 +00:00
Konstantin Hudyakov
061813ac12 [IFT] Adjust debug step in onboarding lessons to new debugger layout
There will be only one variant of the debugger layout in the 2023.1.

GitOrigin-RevId: ee2de2446e0c297b1f1e88e90ef604ad45eaeffc
2023-02-13 12:08:44 +00:00
Alexey Merkulov
d97aa80a08 IDEA-302820 Fix name, layout and forbid customization of run widget in the new UI
GitOrigin-RevId: 7ad8ae11fac2a178bf5aaf2f8d8d3d8b65cb8aa1
2023-02-03 15:36:37 +00:00
Konstantin Hudyakov
741a9a33d7 [IFT] Fix Java learning project loading
Seems that SetupJavaProjectFromSourcesActivity is broken and is not used to create projects anymore so let's do not run it and configure compiler output path manually.

IJ-CR-102100

GitOrigin-RevId: b8afb03efe02922c7b9ab5c3c1cdcd1898fb00f1
2023-01-31 08:56:20 +00:00
Konstantin Hudyakov
85bb873c52 [IFT] Adapt IDEA and PyCharm onboarding lessons to new UI
GitOrigin-RevId: 3e1194fff5e155a3649cd3484d2338c92edf99be
2023-01-30 09:22:40 +00:00
Daniil Ovchinnikov
578eaaf60e rename library kotlin-stdlib-jdk8 -> kotlin-stdlib
GitOrigin-RevId: cddf45ccfd5563d3fe209bea62a1c37c94f44ff9
2023-01-10 12:22:34 +00:00
Alexey Belkov
390ba59bc2 Fix spelling of "quick-fix" phrase in messages
It should be hyphenated: https://www.jetbrains.com/help/idea/resolving-problems.html

GitOrigin-RevId: a3cc01babc32c3edfbe59594fa3756a415cc169b
2022-12-07 15:26:37 +00:00
Konstantin Hudyakov
16b23a2dfa IFT-425 Fix run gutters highlighting and editor scroll in Java run configurations lesson
The previous fix incorrectly calculated height of the highlighting area and insufficiently scrolled editor up.

GitOrigin-RevId: 3ce5853eb474fc4194ce4533663a183bf2814797
2022-11-18 08:24:10 +00:00
Konstantin Hudyakov
9ccff2c3f8 [IFT] Fix run gutters highlighting in Java run configurations lesson
Previous implementation is highlighted only two gutters on the sequential lines, but for now they can be divided by additional line with usages count inlay hint.
Also, move initial caret position to not scroll editor down and fully show run gutters.

IJ-CR-98349

GitOrigin-RevId: 7b181f7b5fe471f1340429dbf003999ba0b2cc07
2022-11-14 13:29:39 +00:00
Konstantin Hudyakov
c3633782db IFT-423 Do not proceed the run lesson if user ran current file configuration
This lesson is designed to show run configurations feature, so running the current file should take no effect.

IJ-CR-98349

GitOrigin-RevId: 3a5b084488e564c15919e7ecd8e9f4e91e2ac0ca
2022-11-14 13:29:37 +00:00
Konstantin Hudyakov
27864baf43 [IFT] Remove all run configurations on onboarding lesson start
It is needed to properly show 'current file' configuration running.

GitOrigin-RevId: 96329953da9d05898d842b87b6b15ba1f0f729bd
2022-11-04 09:08:07 +00:00