How do I configure msvc for cursor? (solved)

I can do it for Vs code when I type code . in developer powershell for VS 2022 but I don’t know the command for Cursor to configure msvc compiler to Cursor

1-Open command palette in cursor (CTRL + shift + P
2-Install cursor command to PATH
3-open powershell for VS 2022 (first close Cursor and any powershell if open )
4-type: cd {your folder}
5-type: cursor .
6-in Cursor terminal type: cl.exe to verify.

1 Like