From ccc5e11f9bd24b99f6fb1707f8ff4cf338cbebd8 Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Tue, 4 Aug 2026 09:42:50 +0200 Subject: [PATCH] IJAI-215 use native macOS screen capture in AIR prompts Expose Context from Screen in the shared Add Context flow and give it a dedicated capture icon. Use the macOS 14 ScreenCaptureKit sharing picker and screenshot manager through AIR-local Kotlin/JNA. This keeps selection native, avoids frozen overlay screenshots and window enumeration, and does not expand Platform API. Store captures and raw pasted or dropped images in backend-owned project storage so the same payload and lifecycle work in monolith and split mode. Keep user-owned image files as references, and defer native Windows and Linux capture to IJAI-719 and IJAI-720. Dropped one line from this cherry-pick's spillover into community/platform/tips-of-the-day/resources/intellij.platform.tips.xml: master's diff regenerates that file's auto-generated block wholesale and picks up intellij.platform.projectFrame, but nothing in this branch's intellij.platform.tips.iml actually declares that module dependency (that only lands via a separate, unrelated cherry-pick artifact fixed elsewhere - see IJAI-689's commit). Kept intellij.platform.ide.progress, which the .iml does declare. (cherry picked from commit d92a24c12558595a04352c7ad2b8f22b345566b5) GitOrigin-RevId: 8cf33a21d17636ec5d81b0b4ddc513f5cfa33e1b --- platform/tips-of-the-day/resources/intellij.platform.tips.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/tips-of-the-day/resources/intellij.platform.tips.xml b/platform/tips-of-the-day/resources/intellij.platform.tips.xml index eb4bb9b93a59..0b98d52bbb0a 100644 --- a/platform/tips-of-the-day/resources/intellij.platform.tips.xml +++ b/platform/tips-of-the-day/resources/intellij.platform.tips.xml @@ -16,6 +16,7 @@ + @@ -56,7 +57,7 @@ - +