Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 3.26 KB

README.md

File metadata and controls

36 lines (24 loc) · 3.26 KB

Integrated Coding Tool + Debugging in Visual Studio (+VsCode)

Use ConEmu terminal and ConEmu VS extension for Visual Studio (like VS 2022).

1. Setup ConEmu Terminal with Visual Studio

Install ConEmu Terminal + ConEmu VS Extension

Setup ConEmu with Visual Studio

  • Clone this repository.
  • Setup ConEmu by running long command below in a CMD window (replace C:\opengit\msrTools to your local path at first):
    • ConEmuC -GuiMacro SetOption FarGotoEditorPath "PowerShell -NoProfile -ExecutionPolicy Bypass -NoLogo -WindowStyle Hidden -File C:\opengit\msrTools\code\vs-conemu\Open-ClickedPathRow-in-VisualStudio.ps1 \"%1\" \"%2\" \"%3\""
      • If failed due to not found ConEmuC: Run add-user-path "C:\Program Files\ConEmu\ConEmu" then re-run above command.
  • Follow this screenshot to setup ConEmu with Visual Studio.
    • You can also run command alias setup-vs-conemu if you done alias step below.
  • Optional: Use normal + custom alias (like gfind-cs-pref) to help general code mining + file processing in System + Vscode + Visual Studio.

2. Use ConEmu Terminal in Visual Studio

Advanced code mining in Visual Studio with Clickable Code Paths

  • Example: Search all references in whole repository (not just solution scope of current *.sln) + filter output all junk results (tests + definitions):
    • gfind-cs-pref ExecuteInConEmu
      • You can add more args like below - the more args, the faster searching speed:
        • gfind-cs-pref ExecuteInConEmu --xp Tool,test,/unit
        • gfind-cs-pref ExecuteInConEmu --sp /ConEmu,Integration

search-code-and-click-in-vs