Commit Graph

242 Commits

Author SHA1 Message Date
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
Konstantin Hudyakov
c1d2faa12e IFT-482 Fix debugger tool window step in onboarding lessons
GitOrigin-RevId: 04f7e1349d67a30b54cf15dd7b271da146d614fe
2023-07-18 12:29:38 +00:00
Alexey Merkulov
70f44ac83e IFT-474 Fix Java and Python run configuration lessons
GitOrigin-RevId: 464a69b468271921ccfbc896578686da9a462240
2023-07-17 17:28:05 +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
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
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
f9e2be3b62 [IFT] Cleanup and fix hardcoded strings warnings
GitOrigin-RevId: b48d46bdcdc083105d6fe8b57faaa6ea46f4ffe2
2023-02-28 21:07:05 +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
bc6abbde05 [IFT] Fix restart icon in Python Debug lesson
IJ-CR-103403

GitOrigin-RevId: 9b97222aa75d755aea1f8018f5548d301cac0f36
2023-02-24 15:00:46 +00:00
Alexey Merkulov
9df774fcda [IFT] Split sample for run and for debug lessons
IJ-CR-103403

GitOrigin-RevId: 35f8b09b22771d9ab32bf20db9a7aed1b0443053
2023-02-24 15:00:34 +00:00
Konstantin Hudyakov
a1edd49d27 IFT-447 Adapt breakpoint highlighting area to new UI
Areas are the same in IDEA and GoLand, but different in PyCharm and WebStorm

GitOrigin-RevId: e73250743d62517efe6ffac89b326b07a9e136d9
2023-02-24 12:43:26 +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
ff07e53f99 [IFT] Move findBaseSdks calls to background
There were the exceptions that it should be run in the EDT.

IJ-CR-102100

GitOrigin-RevId: a5195b812dcb79481ed4ef4d81dff315826dec4a
2023-01-31 08:56:24 +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
Mikhail Glukhikh
e0549efc25 Migration to 1.8: fix errors around definitely not-null types (Any bounds etc.)
See KT-36770 in particular.

Note: beginning from Kotlin 1.6, we control nullability of type parameter-based
types more strictly. For example, it's not allowed to pass something of type 'T'
when '@NotNull T' or 'T : Any' is required. It's correct both for K1 & K2.

(cherry picked from commit a2f95c85d2673ff4688cd38aeacb5030df6000a8)

IJ-MR-99516

GitOrigin-RevId: d91601956a53489f29bc72b32e4810122ede0b1c
2022-12-03 14:16:15 +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
5ae4a01bbd IDEA-300739 Do not create LangSupport instance during project opening
GitOrigin-RevId: 41a8fadefb8cb2d9a7b3be862b26da4b566fd9fa
2022-09-06 06:02:40 +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
Andrey Vokin
3c1adcbb73 Revert "DS-3787 Missing "No SDK" panel for Python and Jupyter files"
This reverts commit d733de44d45b1c012bd16187416978930daf6277

GitOrigin-RevId: 4d7f542133189347e6be96c27dbb7c403b345f39
2022-09-02 10:50:12 +00:00
Andrey Vokin
df6cd8cb55 Revert "DS-3787 Missing "No SDK" panel for Python and Jupyter files"
This reverts commit 451cbab341b4da1d657685b65b86a1e3eb68ff9d.

GitOrigin-RevId: f3555635d00f8f0c9d1e6bc1315246c174bddb23
2022-09-02 10:50:09 +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
Andrey Vokin
6921dc6971 DS-3787 Missing "No SDK" panel for Python and Jupyter files
Decouple quickfixes from PyEditorNotificationProvider

GitOrigin-RevId: 451cbab341b4da1d657685b65b86a1e3eb68ff9d
2022-08-18 08:59:13 +00:00
Andrey Vokin
0bef9bdf84 DS-3787 Missing "No SDK" panel for Python and Jupyter files
PyInterpreterInspection -> PyEditorNotificationProvider

GitOrigin-RevId: d733de44d45b1c012bd16187416978930daf6277
2022-08-18 08:59:09 +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
a9ac61ee70 [IFT] Fix problem with unfocused editor in the start of completion tasks (PyCharm onboarding)
IJ-CR-77521

GitOrigin-RevId: 0f020a0e70012125617826f41b49ffc3aea43f43
2022-08-10 16:01:33 +00:00
Konstantin Hudyakov
9df716844e [IFT] Improve PyCharm onboarding lesson
- Replace 'click to proceed' steps with 'Got it' tooltips
- Make highlights less aggressive (use only border highlights)

IJ-CR-77520

GitOrigin-RevId: 344a0faf14e88e945666d59d598a69ea614c628d
2022-08-10 13:07:32 +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
Vladimir Krivosheev
d7d62ad9d9 cleanup
GitOrigin-RevId: ff7063ee6bb89f80b7e029b0b61c33590c465eb4
2022-07-13 10:23:02 +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
Alexey Merkulov
7ade80b751 [IFT] Mute Python Code Assistance auto-testing
The script breaks because of PY-53671

IJ-CR-24522

GitOrigin-RevId: ebcaa2e679553e9972a2b0d78b980d322ba67281
2022-05-19 02:25:19 +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
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
d0219723d3 [IFT] Rework API with language common tasks
Rename common tasks to `sdkConfigurationTasks`
From now, you need to call `sdkConfigurationTasks` directly inside lesson content.
Next commits will add these calls.

IJ-CR-23618

GitOrigin-RevId: 16f1d06b050d2d2b13b49eaebfe89770e7bc6b19
2022-04-29 13:15:30 +00:00
Konstantin Hudyakov
5498aba54d [IFT] Fix sample of Editor Coding Assistance lesson
Found that 'comb' function added in Python 3.8, but we need to support earlier versions.

IJ-CR-23566

GitOrigin-RevId: 53dbac6c652639b8f34d9f9588d7f0cf752734be
2022-04-21 08:07:24 +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
1c13871bf1 [IFT] Rename statistics field about found unexpected problems
FUS-1637

IJ-CR-23347

GitOrigin-RevId: 0adf9932d3192b61e1b82c766b7ef37be0bbc38f
2022-04-13 13:47:25 +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
6a92cbb12c [IFT] Log found problem to statistics
IJ-CR-22853

GitOrigin-RevId: d6143072984e27c0eba33efc8bc2b8e7ebb1306f
2022-04-04 15:15:10 +00:00
Alexey Merkulov
16ce9c977e [IFT] Add language-specific common tasks and check that Python interpreter is configured
Workaround for IFT-365 and other autoconfiguration problems

IJ-CR-22853

GitOrigin-RevId: 41c218095db769a03aabfdda1bee663c3bc68919
2022-04-04 15:15:08 +00:00
Alexey Merkulov
0a86d06125 IFT-366 Stop debug on onboarding lessons restart
GitOrigin-RevId: bc805b6e03ced94fdca55954e94622a010ef5f26
2022-03-24 18:33:13 +00:00