We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa216f2 commit b81f26eCopy full SHA for b81f26e
1 file changed
src/client/repl/pythonServer.ts
@@ -4,6 +4,8 @@ import * as rpc from 'vscode-jsonrpc/node';
4
import { Disposable, window } from 'vscode';
5
import { EXTENSION_ROOT_DIR } from '../constants';
6
import { traceError, traceLog } from '../logging';
7
+import { captureTelemetry } from '../telemetry';
8
+import { EventName } from '../telemetry/constants';
9
10
const SERVER_PATH = path.join(EXTENSION_ROOT_DIR, 'python_files', 'python_server.py');
11
let serverInstance: PythonServer | undefined;
@@ -49,6 +51,7 @@ class PythonServerImpl implements Disposable {
49
51
});
50
52
}
53
54
+ @captureTelemetry(EventName.EXECUTION_CODE, { scope: 'selection' }, false)
55
public execute(code: string): Promise<string> {
56
return this.connection.sendRequest('execute', code);
57
0 commit comments