- Auto completion
- Chat Window
- Explain Code block
- Refactor Code block
- Generate Docstring for Function
- Generate Unit Test for Function
- Explain Problem
Once started typing, you should see grey texts that show Windsurf's suggestions. You can press Tab to accept, and Alt+. to cycle through the suggestions.
In the Menu bar, click on Extenions > Windsurf > Open Chat Window.
This will bring up the Chat Window, which will be docked to the Solution Explorer by default.
Right-click anywhere the code block you would like Windsurf to explain, there will be a Windsurf: Explain Code block in the context menu.
If you right-click on a function, you will see Windsurf: Explain Function instead.
Much like the Explain Code block feature, right-click anywhere the code block you would like Windsurf to refactor, there will be a Windsurf: Refactor Code block in the context menu.
Clicking on it will highlight the code block and open a dialog window asking how you would like to refactor it. You can select one of the preset or type in anything and hit ENTER.
Right-click on any function, there will be a Windsurf: Generate Docstring for Function in the context menu.
Right-click on any function, there will be a Windsurf: Generate Unit Test for Function in the context menu.
When you have a warning, error, or diagnostic message in your code, hovering on it will show a Windsurf: Explain Problem button.