Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayyoub-ESSADEQ committed Aug 9, 2023
1 parent 57b3c48 commit f45e0df
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
- To ask chatgpt from the active text editor respect this syntax : `OpeningComment + ask + question + ? +closingComent` then click `tab`. It autodetects the programming language you currently using. Here is an example :

!["demo"](https://github.com/Ayyoub-ESSADEQ/cocaptain/blob/main/screenshots/python-demo.gif?raw=true)
- Code Complation : if you just started coding but you didn't know how to finish the rest of the code, just go to the context menu, under chatgpt you will find an option called complete code and voila you're done.
- Comments generation : are you struggling to find the accurate words to comment your code ? We get you covered !! just open the context menu, under the option chatgpt you will find an option : `comment the selected code` and you're done.

!["Cocaptain new features"](https://github.com/Ayyoub-ESSADEQ/cocaptain/blob/main/screenshots/cocaptain%20new%20features.gif?raw=true)

# Tips & Tricks
- If you want to create a directory and you don't have time to do so, create a new powershell file, and there write something like :
Expand All @@ -41,4 +45,4 @@
- If there many dependencies that you want to install, do the same in powershell.
- When using chatgpt in the active text editor make sure to ask he to bring only the script in one codeblock.
- If you want to run a script right from the chat panel, you should make sure that the required dependencies and requirement are met (for example to run javascript you need to have Node js installed).
- To clear the conversation you just delete the content of chatGPT.json file.
- To clear the conversation you just delete the content of chatGPT.json file.

0 comments on commit f45e0df

Please sign in to comment.