Commit Graph

224 Commits

Author SHA1 Message Date
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
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
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
Alexey Merkulov
9a9d91de49 [IFT] Simplify project file choosing logic
IJ-CR-21061

GitOrigin-RevId: e89483e50232d437cc8c8b46ee25d4ac176137d0
2022-02-22 13:58:58 +00:00
Konstantin Hudyakov
fbaa4956b3 [IFT] Refactor: extract 'buttonBalloon' to LessonUtil
GitOrigin-RevId: 915d27f4a55c7578e635491d3ef4ae06e6f4b429
2022-02-21 07:43:24 +00:00
Konstantin Hudyakov
de23132012 [IFT] Refactor: extract 'highlightButtonByIdTask' to LessonUtil
GitOrigin-RevId: d8f0220f68d972e551e43bdc63523e8fabd1eb2f
2022-02-21 07:43:22 +00:00
Konstantin Hudyakov
4883b1be81 [IFT] Refactor: extract Run toolbar highlighting to LessonUtil
GitOrigin-RevId: f7d89dcab14a805e1dc8cc8880e7439f85924121
2022-02-21 07:43:21 +00:00
Konstantin Hudyakov
4d45fa5b6a [IFT] Refactor: extract 'checkEditorModification' to LessonUtil
GitOrigin-RevId: 2700e0dd4edc82d6029990425e68ee52fd2749d5
2022-02-21 07:43:19 +00:00
Konstantin Hudyakov
92a388e9b6 [IFT] Refactor: extract 'adjustSearchEverywherePosition' to LessonUtil
Also fixed popup position for Go onboarding.

GitOrigin-RevId: 7191a541c87e74e862d3b5d28aea435dd1a78c43
2022-02-21 07:43:16 +00:00
Alexey Merkulov
fc571b5eb8 [IFT] Add information about interpreter used at the beginning of the onboarding lesson
GitOrigin-RevId: 5c103ccb3878ff00b70171f5493358cd55bda1e1
2022-02-17 09:34:33 +00:00
Alexey Merkulov
b8fcfdc54a [IFT] Refactoring: extract feedback related logic from python onboarding lesson to utils
GitOrigin-RevId: e017d9d41404b8e6705191e03ea151643c9907d8
2022-02-17 09:34:29 +00:00
Alexey Merkulov
124e102a3b [IFT] Refactoring: add Lesson suffix for onboarding tours
GitOrigin-RevId: 1b919c4cd401e496db5901e7029d7c2b11615aa5
2022-02-11 18:05:45 +00:00
Alexey Merkulov
6be33ab243 [IFT] Refactoring: use the new API for trigger and highlighting
IJ-CR-20587

GitOrigin-RevId: 07ecb4e2e9dd740ebcccbadc80db6b15416cef80
2022-02-10 15:15:37 +00:00
Konstantin Hudyakov
828cdf1ada [IFT] Complete Editor Basics module for Kotlin
GitOrigin-RevId: 5149c76760979206dde31b6bb8d753b8754e419d
2022-02-09 06:47:07 +00:00
Alexey Merkulov
305f329057 IFT-325 Fix typo
GitOrigin-RevId: 541f64dd944235334cf1e81fae8271148587370c
2022-02-08 17:36:46 +00:00
Vladimir Krivosheev
79508d3dc7 cleanup
GitOrigin-RevId: 9ed3834683e2c494c7473af2ab4752f9741eeff3
2022-02-07 15:58:29 +00:00