From e375ffbed18aaf27b7bcb6dcd87459e9a526eba0 Mon Sep 17 00:00:00 2001 From: Felipe Vidal <58402197+MultiFe22@users.noreply.github.com> Date: Thu, 25 Jan 2024 15:08:04 -0300 Subject: [PATCH] Added bru.setNextRequest into the hint words list (#1441) --- packages/bruno-app/src/components/CodeEditor/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/bruno-app/src/components/CodeEditor/index.js b/packages/bruno-app/src/components/CodeEditor/index.js index 837ddd2d1..50097d98b 100644 --- a/packages/bruno-app/src/components/CodeEditor/index.js +++ b/packages/bruno-app/src/components/CodeEditor/index.js @@ -60,7 +60,8 @@ if (!SERVER_RENDERED) { 'bru.getEnvVar(key)', 'bru.setEnvVar(key,value)', 'bru.getVar(key)', - 'bru.setVar(key,value)' + 'bru.setVar(key,value)', + 'bru.setNextRequest(nextRequest)' ]; CodeMirror.registerHelper('hint', 'brunoJS', (editor, options) => { const cursor = editor.getCursor();