From 7e5d9a13e113d07931c8eec904aa2cfbd6121a8f Mon Sep 17 00:00:00 2001 From: kumarijy Date: Mon, 4 Mar 2024 14:03:00 -0800 Subject: [PATCH 1/3] modifying readme file --- modules/openvino_code/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openvino_code/README.md b/modules/openvino_code/README.md index 448dbcc35..c07d836ce 100644 --- a/modules/openvino_code/README.md +++ b/modules/openvino_code/README.md @@ -53,7 +53,7 @@ In the docstring generation mode, various popular templates are available in the 1. Create a new Python file or open an existing one. -1. Type `def main():` or place the cursor where you'd like middle text to be generated. +1. Place the cursor where you'd like middle text to be generated or a line of code to be generated. 1. Press the keyboard shortcut `Ctrl+Alt+Space` (`Cmd+Alt+Space` for macOS) or click the `Generate Code Completion` button located in the side panel. 1. You can select the text then generate the related code. 1. You may also right-click on "Generate Inline Code Completion In New Tab" to generate code in a new tab. From 0be936408c987a00ade297a9a1bb0a27891cd16c Mon Sep 17 00:00:00 2001 From: kumarijy Date: Mon, 4 Mar 2024 15:33:37 -0800 Subject: [PATCH 2/3] added gif file to show fill-in-the-middle feature --- modules/openvino_code/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/openvino_code/README.md b/modules/openvino_code/README.md index c07d836ce..cf36ae460 100644 --- a/modules/openvino_code/README.md +++ b/modules/openvino_code/README.md @@ -51,6 +51,7 @@ In the docstring generation mode, various popular templates are available in the ### Fill in the Middle Mode +![Fill-in-the-middle](https://github.com/openvinotoolkit/openvino_contrib/assets/112030960/23279cda-185e-4da7-8a64-6c420001fbff) 1. Create a new Python file or open an existing one. 1. Place the cursor where you'd like middle text to be generated or a line of code to be generated. From a5c8602f1fa603821f6576de8878c1592e9b9332 Mon Sep 17 00:00:00 2001 From: kumarijy Date: Wed, 6 Mar 2024 08:34:08 -0800 Subject: [PATCH 3/3] update fill-in-middle-mode support steps in the readme --- modules/openvino_code/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openvino_code/README.md b/modules/openvino_code/README.md index cf36ae460..0188289a6 100644 --- a/modules/openvino_code/README.md +++ b/modules/openvino_code/README.md @@ -51,7 +51,7 @@ In the docstring generation mode, various popular templates are available in the ### Fill in the Middle Mode -![Fill-in-the-middle](https://github.com/openvinotoolkit/openvino_contrib/assets/112030960/23279cda-185e-4da7-8a64-6c420001fbff) +![fill-in-the-middle](https://github.com/openvinotoolkit/openvino_contrib/assets/112030960/15ef3cbf-913b-46a5-b565-f1676ff7a0b7) 1. Create a new Python file or open an existing one. 1. Place the cursor where you'd like middle text to be generated or a line of code to be generated.