MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / withSupportedEditor

Function withSupportedEditor

src/lib/languageModeRecommendations.js:9–12  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

7let instance = null;
8
9function withSupportedEditor(url) {
10 const separator = url.includes("?") ? "&" : "?";
11 return `${url}${separator}supported_editor=${config.SUPPORTED_EDITOR}`;
12}
13
14export function getLanguageModeRecommendationSearchKeyword(filename) {
15 const basename = Path.basename(filename || "")

Callers 1

getPluginAvailabilityMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected