MCPcopy Index your code
hub / github.com/codeaashu/claude-code / _temp2

Function _temp2

src/hooks/notifs/useIDEStatusIndicator.tsx:166–179  ·  view source on GitHub ↗
(hasShownHintRef_0, addNotification_0)

Source from the content-addressed store, hash-verified

164 useEffect(t8, t9);
165}
166function _temp2(hasShownHintRef_0, addNotification_0) {
167 detectIDEs(true).then(infos => {
168 const ideName_0 = infos[0]?.name;
169 if (ideName_0 && !hasShownHintRef_0.current) {
170 hasShownHintRef_0.current = true;
171 saveGlobalConfig(_temp);
172 addNotification_0({
173 key: "ide-status-hint",
174 jsx: <Text dimColor={true}>/ide for <Text color="ide">{ideName_0}</Text></Text>,
175 priority: "low"
176 });
177 }
178 });
179}
180function _temp(current) {
181 return {
182 ...current,

Callers

nothing calls this directly

Calls 2

detectIDEsFunction · 0.85
saveGlobalConfigFunction · 0.85

Tested by

no test coverage detected