MCPcopy Create free account
hub / github.com/continuedev/continue / getMetaKeyLabel

Function getMetaKeyLabel

extensions/vscode/src/util/util.ts:132–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130}
131
132export function getMetaKeyLabel() {
133 const platform = getPlatform();
134 switch (platform) {
135 case "mac":
136 return "⌘";
137 case "linux":
138 case "windows":
139 return "Ctrl";
140 default:
141 return "Ctrl";
142 }
143}
144
145export function getMetaKeyName() {
146 const platform = getPlatform();

Callers 4

getCommandsMapFunction · 0.90
provideCodeLensesMethod · 0.90
getNextEditMenuItemsFunction · 0.90

Calls 1

getPlatformFunction · 0.70

Tested by

no test coverage detected