MCPcopy Create free account
hub / github.com/Ericsson/CodeCompass / buildContextMenu

Function buildContextMenu

webgui/scripts/codecompass/view/component/Text.js:172–212  ·  view source on GitHub ↗

* This function adds menu items to the given context menu. The menu items * come from the language service which are applicable for the AST node at * the given position. Moreover some client-side menu items are also added. * @param {Array} position An array with two elements: line and colum

(position, fileInfo, contextMenu)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Text.jsFile · 0.85

Calls 3

clearMethod · 0.80
createMethod · 0.65

Tested by

no test coverage detected