Files
AndroidStudioSettings/ChatGPTConversations_170.xml
T

6 lines
626 KiB
XML
Raw Normal View History

<application>
<component name="ee.carlrobert.codegpt.state.conversations.ConversationsState">
<option name="currentConversation" value="{&quot;id&quot;:&quot;9877d3e5-6054-4c5c-ad98-1b6955a4697c&quot;,&quot;title&quot;:null,&quot;messages&quot;:[{&quot;prompt&quot;:&quot;flutter𧋦隞3.35.73.41.9隞亙嚗諹銝況reCommit𧒄游之撟𩤃𩤃𦒘嚗髿n\n```dart:/home/debuggerx/StudioProjects/aim_master_workspace/tools/git_hooks.dart\npreCommit\n```&quot;,&quot;id&quot;:&quot;ce405e9f-56e3-4796-bce2-e74493b614f4&quot;,&quot;response&quot;:&quot;撌脖n\n Flutter 3.41.9 𠬍[preCommit](file:///home/debuggerx/StudioProjects/aim_master_workspace/tools/git_hooks.dart#preCommit) 嚗峕瓲敹惩之璁銝滚銁 Git Hook 祈澈嚗諹銁餈嗘舅 Dart 賭誘銵峕擃䀝嗆糓嚗䨵n\n- `dart fix --apply .`\n- `dart format ...`\n\n雿㰘 [preCommit](file:///home/debuggerx/StudioProjects/aim_master_workspace/tools/git_hooks.dart#preCommit) 桅䔮憸䀹糓嚗** Dart format嚗䔶 `fix` 臬笆港葵憿寧𤌍 `.` **\n\n---\n\n## 銝餉\n\n### 1. `dart fix --apply .` 隡𡁜鞉㟲銝芸極蝔胬n [preCommit](file:///home/debuggerx/StudioProjects/aim_master_workspace/tools/git_hooks.dart#preCommit) 畾蛛\n\n```dart\nresult = await Process.run(Platform.executable, ['fix', '--apply', '.']);\n```\n\n餈䠷 `.` 銵函內撖寞㟲銝 package/workspace 𡁜𣂼靽桀嚗諹臬蘨憭祆活𣂷漱隞嗚n\nFlutter/Dart 𠬍隞乩隡朞悟餈嗘甇交\n\n- **Analyzer 閫**\n- **lints / diagnostics **\n- **workspace / package graph 鞉𧋦**\n- **韏硋onorepo 蝏𤘪銝见湔凒憭**\n- `dart fix` 撖寞凒憭朞喃蝙擧瓷匧虾靽桀捆嚗䔶𡁜𪀔n\n隞亦蝥批嚗峕撣貉緵鞊∪停**`dart fix --apply .` 瘥𥪯誑齿**\n\n---\n\n### 2. Flutter 3.41.9 撖孵 Dart SDK 𣂼膥銵䔶蛹\n雿䭾糓 [Platform.executable](file://dart:io#Platform.executable) 靚鍂 Dart嚗䨵n\n```dart\nProcess.run(Platform.executable, ['fix', '--apply', '.']);\n```\n\n餈蹱 hook 摰鮋頝𤑳 Flutter SDK Dart \nFlutter 𠬍Dart analyzer / formatter / fix processor 銋煺韏瑕蝥找n\n撣貉銵函緵嚗䨵n\n- 擐𡝗活餈鞱隡𡁻撱箏摮娫n- analyzer 撖 package_configorkspace祗閮\n- `fix` `format` \n- 𣂷 lint/quick-fix 冽鰵𧋦峕凒埈𧒄\n\n---\n\n### 3. 雿删 hook 瘥𤩺活𣂷漱 𡏭䌊其耨憭 + 𩄼n啣銁 [preCommit](file:///home/debuggerx/StudioProjects/aim_master_workspace/tools/git_hooks.dart#preCommit) 蝔𧢲糓嚗䨵n\n1. 曉枂 staged `.dart` 辣\n2. 撖寞㟲銝芷★ `dart fix --apply .`\n3. 撖 staged `dart format`\n4. `git add`\n\n嗡葉埈𧒄糓蝚 2 甇伐餈嗘甇乩孵𢆡 \n喃蝙雿惩蘨 1 銝芣隞塚銋煺券★n\n---\n\n## 銝箔蝥批擧遬\n\n憒雿𣳇★隞乩隞颱蝥批隡𡁏凒擧遬嚗䨵n\n- workspace/mono repo\n- package \n- 憭折 generated files\n- analysis_options 瘥磰銝交聢\n- 撘訫凒憭 Dart 3.x 霂剜 lint\n- `.dart_tool` 蝻枏𤾸仃撱暝n- `dart fix` 冽鰵𧋦撖寞凒憭𡁏隞嗉銵峕醌蕚n\n---\n\n## 𦒘蝖株恕 `dart fix` 撖潸稲n\n雿惩虾隞亦凒亙銁憿寧𤌍寧𤌍敶閙銝页\n\n```bash\ntime dart fix --apply .\ntime dart format --page-width 160 --trailing-commas preserve &lt;𣂼銝芣&gt;\n```\n\n憒蝚砌銝芣擃䀝蝚砌銝迎箸𧋦蝖株恕 `fix`n\n銋笔虾隞亦 [preCommit](file:///home/debuggerx/StudioProjects/aim_master_workspace/tools/git_hooks.dart#preCommit) 䭾𠯫敹梹靘见嚗䨵n\n```dart\nfinal sw = Stopwatch()..start();\n// run fix\nstdout.writeln('fix埈𧒄: ${sw.elapsed}');\n```\n\n---\n\n## 閫\n\n### 1嚗䮝re-commit
<option name="conversations" value="[{&quot;id&quot;:&quot;2ea372bf-f79d-4805-a228-8cd51bf07dc9&quot;,&quot;title&quot;:null,&quot;messages&quot;:[{&quot;prompt&quot;:&quot;穃銁鍂ProxyAI餈嗘葵Intellij雴辣嚗峕唬誨刻‘gemini蝟餃𪑛銝芣芋𧢲嚗煺蛹隞滨蔭銝芬𤧶IM脲芋厰★嚗峕摨磰砲&quot;,&quot;id&quot;:&quot;ab4b92a6-8055-4844-85d6-57ffd6339399&quot;,&quot;response&quot;:&quot;撖嫣 IntelliJ IDEA ProxyAI **𢆡nline Code Completion**𧢲 Gemini 𣂼 FIM n\n### Gemini 1.5 Flash Gemini 2.0 Flash\n\n** `gemini-1.5-flash` 𡝗 `gemini-2.0-flash`** API n\n** Pro **\n1. **𡿨atency** 300-500 gemini-1.5-pro` 𧒄仿𣇉lash 𤾸𦛚n2. **𠹺**lash 1M 2M 𧢲 ProxyAI n3. **𧋦**𤩺𣈯𡢅Flash API 𧋦 Pro n\n*𥡝𡏭𠹺𦦵𦥑 `gemini-1.5-pro`**𢆡**𤅎lash 𣈲*\n\n---\n\n### FIM \n\n**FIM (Fill-In-the-Middle)** 𨅯Prefix𨅯Suffix𣬚Middlen\n**Gemini 𦠜**\n DeepSeek Coderwen Coder CodeLlama 𣂷 FIM Token `&lt;|fim_prefix|&gt;`&lt;|fim_suffix|&gt;` **Gemini FIM ** ProxyAI Gemini 𥋘 `DeepSeek` `Qwen` FIM emini 𡁜𤥁n\n****\n\n1. ** Prompt / Instruction **n ProxyAI FIM 𧢲𡑒 `Prompt`Instruction` `Gemini/OpenAI` 𦻖𥋘齿𡃏𡏭𡢿n\n2. **CustomIM **n FIM XML 𠃑emini XML 𥟇n ```text\n You are an expert programmer. Please complete the missing code between &lt;prefix&gt; and &lt;suffix&gt;. \n Output ONLY the missing code, without any markdown formatting, explanations, or repeating the prefix/suffix.\n \n &lt;prefix&gt;\n {prefix}\n &lt;/prefix&gt;\n &lt;suffix&gt;\n {suffix}\n &lt;/suffix&gt;\n ```\n *( `{prefix}` `{suffix}` ProxyAI 𤜯)*\n\n3. **𡡒 FIM𡏭𨅯**n FIM 𠬍Gemini ProxyAI **𡡒 FIM ** None/Default𡁏𢒰𦦵𧶏 Gemini &quot;,&quot;referencedFilePaths&quot;:null,&quot;conversationsHistoryIds&quot;:null,&quot;imageFilePath&quot;:null,&quot;
</component>
</application>