MCPcopy Index your code
hub / github.com/LeetCode-OpenSource/vscode-leetcode / hasStarShortcut

Function hasStarShortcut

src/utils/settingUtils.ts:23–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21}
22
23export function hasStarShortcut(): boolean {
24 const shortcuts: string[] = getWorkspaceConfiguration().get<string[]>("editor.shortcuts", ["submit", "test"]);
25 return shortcuts.indexOf("star") >= 0;
26}
27
28export function shouldUseEndpointTranslation(): boolean {
29 return getWorkspaceConfiguration().get<boolean>("useEndpointTranslation", true);

Callers 2

addFavoriteFunction · 0.90
removeFavoriteFunction · 0.90

Calls 1

Tested by

no test coverage detected