* better text in common lessons
* fix help links
* add some additional steps to Popups lesson
GitOrigin-RevId: 2a3824121599561882f7d6726e91a7334aa6307c
Since the debug toolbar is showing on the left, edit the GotIt tooltips positions to not intersect with tool window stripes.
GitOrigin-RevId: a801c231e87728ae7bf16edfb8135660ef574266
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
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
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
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
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
`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
It is needed to use common onboarding tips related logic, and it is located in the base feature-trainer module
GitOrigin-RevId: be86c2e576a99adf96ed2c0bfbbbe07fa4748ccf
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
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
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
The previous fix incorrectly calculated height of the highlighting area and insufficiently scrolled editor up.
GitOrigin-RevId: 3ce5853eb474fc4194ce4533663a183bf2814797
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
This lesson is designed to show run configurations feature, so running the current file should take no effect.
IJ-CR-98349
GitOrigin-RevId: 3a5b084488e564c15919e7ecd8e9f4e91e2ac0ca