Skip to content

Commit 9cf3f16

Browse files
authoredMar 6, 2024··
[OPENVINO CODE] modify readme file to include fill-in-the-middle feature (#886)
* modifying readme file * added gif file to show fill-in-the-middle feature * update fill-in-middle-mode support steps in the readme
1 parent 1a6f7e7 commit 9cf3f16

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎modules/openvino_code/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,10 @@ In the docstring generation mode, various popular templates are available in the
5151

5252
### Fill in the Middle Mode
5353

54+
![fill-in-the-middle](https://github.com/openvinotoolkit/openvino_contrib/assets/112030960/15ef3cbf-913b-46a5-b565-f1676ff7a0b7)
5455

5556
1. Create a new Python file or open an existing one.
56-
1. Type `def main():` or place the cursor where you'd like middle text to be generated.
57+
1. Place the cursor where you'd like middle text to be generated or a line of code to be generated.
5758
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.
5859
1. You can select the text then generate the related code.
5960
1. You may also right-click on "Generate Inline Code Completion In New Tab" to generate code in a new tab.

0 commit comments

Comments
 (0)
Please sign in to comment.