Commit Graph

140 Commits

Author SHA1 Message Date
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
Konstantin Hudyakov
68b7c53db2 IDEA-300739 Do not create instances of LangSupport during LangManager initialization
GitOrigin-RevId: a985502bde6f18d6fae7ba33463f7c6fad0b3a09
2022-09-06 06:02:37 +00:00
Konstantin Hudyakov
09cf2b1fee IDEA-300739 Add tests for checking integration of lessons with tips
GitOrigin-RevId: 04aeced1e0b20f5f74f0296270fa6ce22020d66e
2022-09-01 15:42:25 +00:00
Konstantin Hudyakov
5ae19d4044 IDEA-300739 Remove obsolete declarations of tips for lessons
GitOrigin-RevId: 23f0dc181089c24280e88702da46228b3777750f
2022-09-01 15:42:24 +00:00
Konstantin Hudyakov
26265ef6ff IDEA-300739 Specify tips for lessons in learning course
GitOrigin-RevId: a74698489a8af593e07a936422e27ebe76da6f98
2022-09-01 15:42:23 +00:00
Elena Shaverdova
19d9d0b58c Adapt CompletionPopupSuggesterTest and ReplaceCompletionSuggesterJavaTest to dumb mode completion testing
GitOrigin-RevId: 528947533c01c37d27bb77335b2674319ea5ecc9
2022-08-19 16:31:30 +00:00
Alexey Merkulov
c3a34a3b17 [IFT] Remove unused icon and regenerate FeaturesTrainerIcons class
IJ-CR-94315

GitOrigin-RevId: cb0b8119f504d082b1466c3b4ca41eeb71ee550a
2022-08-17 20:34:15 +00:00
Konstantin Hudyakov
d5b644a377 [IFT] Add internal action to reset onboarding feedback proposed state
Needed to show onboarding feedback form many times without resetting all settings.

IJ-CR-77483

GitOrigin-RevId: a8e2e46adc49028a59039e83753eac39a9e8d073
2022-08-10 12:37:59 +00:00
Alexey Merkulov
55c1134112 IFT-395 Fix debug lesson for the case when hot-swap is enabled without confirmation
The previous check looked for the substring in the HTML content and the content was formatted with line break inside. This check should be much more stable.

IJ-CR-28032

GitOrigin-RevId: 0950911af55fafff2194dd3f08a722a4d32fc0ab
2022-08-04 11:20:04 +00:00
Konstantin Hudyakov
ff8cd81848 IFT-390 Adapt Java onboarding lesson to new debugger layout
GitOrigin-RevId: 589f2fb96352317dd5052c2643ca679833204747
2022-07-13 06:39:04 +00:00
Konstantin Hudyakov
800dd5efd1 IFT-392 Fix Java Postfix completion lesson
Seems that implementation of postfix completion changed, because it does not wrap the expression into additional parenthesis.

IJ-CR-27086

GitOrigin-RevId: 80063720ae6714aa05521edc31120e4cd6db02c3
2022-07-13 06:38:23 +00:00
Konstantin Hudyakov
af4b896a2f [IFT] Set sources root directly during project initialization for java projects
Sometimes because of unknown reason sources roots can be not configured during project initialization.
Also removed configuration of language level because it has no effect and seems that is not needed.

IJ-CR-26953

GitOrigin-RevId: 766901f9e24c36c26b8a71359f64adb56c31a509
2022-07-08 13:16:57 +00:00
Konstantin Hudyakov
0e59510a2d [IFT] Make highlights in Java onboarding less aggressive
IJ-CR-26952

GitOrigin-RevId: 97924d50e7281b61af5729eb87ac7eeeb50cf232
2022-07-08 12:50:09 +00:00
Konstantin Hudyakov
ab0e740df2 [IFT] Show stop debug balloon in Debug toolwindow (Java onboarding)
It will decrease the path of eyes movement from the previous step.

IJ-CR-26892

GitOrigin-RevId: 2752c63ce3aca227b8ae67f0e785b7f141c52dec
2022-07-07 11:05:28 +00:00
Konstantin Hudyakov
9bc24222d9 [IFT] Replace proceed link with GotIt in Java onboarding
IJ-CR-26892

GitOrigin-RevId: 6dd810f2342f14a75f2658f9f3a98edd423c698d
2022-07-07 11:05:26 +00:00
Konstantin Hudyakov
4eebad88d0 [IFT] Add balloon to run step in Java onboarding
IJ-CR-26892

GitOrigin-RevId: 2ac9a1d57a32d983c74e06cbea29478257a4bc85
2022-07-07 11:05:25 +00:00
Konstantin Hudyakov
830bfa8cac [IFT] Fix sample file UI detection in Project view (Java onboarding)
For some reason in the start of the lesson the sample file can be showed in Project view with extension or without it. For example: 'Welcome.java' and 'Welcome'
So we need to detect the file containing the sample name without extension.

IJ-CR-26894

GitOrigin-RevId: 28d30fc1da1f805c4729fb20c2cec6bb89dc6466
2022-07-07 10:36:04 +00:00
Konstantin Hudyakov
ae5e597e0b [IFT] Do not say about profiler in Java onboarding if there is no profiler in IDE
IJ-CR-26578

GitOrigin-RevId: 25e0b1443b92c8153d6b8772e78926da95df99b1
2022-07-01 11:19:47 +00:00
Konstantin Hudyakov
367e758f74 [IFT] Add 'jdk_at_start' field to Java onboarding feedback
IJ-CR-26531

GitOrigin-RevId: 4a9ba1e7d383220e92b0f3d273e9ba67daf5d961
2022-06-30 07:23:05 +00:00
Konstantin Hudyakov
424e585d49 [IFT] Easier the run tasks in Java onboarding
IJ-CR-26530

GitOrigin-RevId: 8aef9eda8a51f4f1611e4f038f40241ded270c58
2022-06-30 07:09:37 +00:00
Konstantin Hudyakov
9c48a7d170 IFT-384 Fix search everywhere task in onboarding lessons
Trigger on `EditorToggleCase` action is not working anymore, because it is wrapped inside `DumbAwareAction.SimpleDumbAwareAction`

IJ-CR-26369

GitOrigin-RevId: 13e7fc5329add8e94a797b4999ba0979fc0682ba
2022-06-28 16:07:02 +00:00
Egor Ushakov
32d39ad93f debugger ui experiment - fixed other places using registry directly
GitOrigin-RevId: 491dd3952b2f9397a25d868d1678b07a8e980f23
2022-05-30 15:42:58 +00:00
Dmitry Gridin
bd88377b44 apply "Unused suppression" for .kt files
^KTIJ-6421

GitOrigin-RevId: 648ed7fe7e8ba8169ec3277995a59acef5ac232b
2022-05-20 15:47:22 +00:00
Konstantin Hudyakov
e0cbd289e0 [IFT] Remove workaround for staring JDK indexing after download
This workaround is not required now because the problem is fixed.

IJ-CR-24275

GitOrigin-RevId: 3b950971374cecd79856d28dd1d750d904fe5116
2022-05-11 14:05:10 +00:00
Konstantin Hudyakov
a9904de63e [IFT] Check sdk type and give 'getProjectJdk' method more meaningful name
IJ-CR-24172

GitOrigin-RevId: 5f63cf75d7ad7020b7039a6ee806f868640a7b7d
2022-05-11 08:41:08 +00:00
Alexey Merkulov
a20ef0f862 IFT-376 Open scratch lessons in learning project when needed SDK is not configured
IJ-CR-24125

GitOrigin-RevId: b163a873b6a29529fb29dbe2203d16dc9e1fead2
2022-05-06 16:35:48 +00:00
Konstantin Hudyakov
5fa81424e1 IFT-357 Show tooltip above progress bar during JDK indexing
IJ-CR-23618

GitOrigin-RevId: b993d4c8da7a3f58c308de458cacae799a0159fd
2022-04-29 13:15:36 +00:00
Konstantin Hudyakov
eb44558322 [IFT] Add sdk configuration tasks to lessons
Also specify original sample objects for restores in the first meaningful task of the lesson. It is required for the case when user change the sample during SDK configuration tasks.

IJ-CR-23618

GitOrigin-RevId: cbe08c75fc89c43b3fe966e87b3feeb3a0dce9af
2022-04-29 13:15:35 +00:00
Konstantin Hudyakov
5aa970d397 IFT-357 Add JDK configuration tasks to Java Onboarding
From now, if IDE failed to find JDK it will show this tasks instead of proposing dialog with suggestion to download JDK.
Also this steps will be added to other Java lesson in the next commit.

IJ-CR-23618

GitOrigin-RevId: ecf0b80bbb6479b269ded82a2af201953123672b
2022-04-29 13:15:33 +00:00
Konstantin Hudyakov
a5b85faa8d [IFT] Refactor: extract JDK related methods to JavaProjectUtil
IJ-CR-23618

GitOrigin-RevId: 8cf43d6b07584249319d741c5949d139c535788f
2022-04-29 13:15:31 +00:00
Alexey Merkulov
e1bb9936dc [IFT] Remove several onboarding feedback fields
From the collected feedback we saw the low rate for these fields and so decide to reduce the feedback form length

IJ-CR-23461

GitOrigin-RevId: 0e4dbbc88ba19746cbd8ad2e20b7a6986a66d7c5
2022-04-19 13:27:29 +00:00
Alexey Merkulov
2ba2a875c1 [IFT] Fix message text
IJPF-CR-5295

GitOrigin-RevId: 134812457b2527048e08999c452477f1f8b86e5a
2022-04-13 09:50:48 +00:00
Alexey Merkulov
474c86f3dd [IFT] Fix Java debug lesson
IJ-CR-23094

GitOrigin-RevId: 2bc469bf0fbff6727341e3e5cc13bfc80376aade
2022-04-07 15:12:31 +00:00
Alexey Merkulov
3a4dbcc752 IFT-364 Rework check that debug is stopped in onboarding lessons
GitOrigin-RevId: 46fbcded32728521ed2ae9949c11838bf31fad42
2022-04-07 15:12:16 +00:00
Alexey Merkulov
0a86d06125 IFT-366 Stop debug on onboarding lessons restart
GitOrigin-RevId: bc805b6e03ced94fdca55954e94622a010ef5f26
2022-03-24 18:33:13 +00:00
Konstantin Hudyakov
19fad5bdc4 IFT-357 Show feedback notification after Java onboarding
IJ-CR-22434

GitOrigin-RevId: bc04b82aad1034fad60eb9f42d494c877cc79ea8
2022-03-24 13:55:34 +00:00
Alexey Merkulov
46c1b89127 Add warning when Frames option is not set in the Debug tool window for Onboarding tours
TODO: Need to extract checkUiSettings to common module: it is almost identical

IJ-CR-22351

GitOrigin-RevId: 318bfee4e6bf6ef6a7036b096b868ae5645de738
2022-03-24 10:46:47 +00:00
Konstantin Hudyakov
65badf1641 [IFT] Edit Java onboarding lesson text
Also edit similar strings in other onboarding lessons

IJ-CR-22229

GitOrigin-RevId: 9f99306fa74a91349e7fe0f978ab8ee3e5d99c49
2022-03-21 09:42:53 +00:00
Alexey Merkulov
1ea400de3c [IFT] Fix non-strict button highlighting
IJ-CR-21708

GitOrigin-RevId: 73ae0ce3f0ab59f13209dd8af1248ce073ac7eac
2022-03-09 17:46:38 +00:00
Alexey Merkulov
e850694314 IFT-358 Fix Python onboarding restore problem
IJ-CR-21708

GitOrigin-RevId: 9583623ec3329570c02b6d517c980880b82d1a85
2022-03-09 17:46:32 +00:00
Alexey Merkulov
ba66b1100d [IFT] Fix invalid sample path for Run and Debug lessons for Java
The problem was introduced after the previous refactoring of sample path handling

IJ-CR-21061

GitOrigin-RevId: 5bf9a099d890ebae4e59af7bde1e7e17bd80d352
2022-03-08 16:10:28 +00:00
Konstantin Hudyakov
3b09cc7888 [IFT] Fix debug actions highlighting
Found that there are two action toolbars in the same place that are showing, but one of them have height = -1. So UI search finds this toolbar but can not highlight it.
With this change 'showing' components with empty bounds will not be accepted by UI search. Also, if bounds of some component becomes empty, the rehighlighting will start.

IJ-CR-21162

GitOrigin-RevId: 931fea5187ab593275ac0028235d998b596383dd
2022-02-24 13:24:49 +00:00