Introduction:I am a software developer. I need to fix bugs from time to time. Some bugs are mine, most are not. Fixing other people's bug could be challenging, because we are not familiar with the code base, and call stack. Go over the code base is one big part of our job. In order to better absorb new code base, I take notes of calling flow for 2 purposes. 1. it's good for myself to back track my own mind flow. 2. this practice will keep a good record for later reference. The way I make the note is like below: ProcessStartInfo startInfo = new ProcessStartInfo(); [<filename>:line #]. With the file name and line number, it would be easier for me to back track and recall my memory. Manually adding them is sometimes tedious and always break my mind flow. Therefore, I created this visual studio extension: Context-Copy Installation:Download Context-Copy and extract the file anywhere, double click the .vsix. Usage:Context Copy could offer you the following 5 modes of extra context: Mode 0: copied text [<filepath + filename>: <line#> <className>::<function signature>] Mode 1: copied text [<filename>:<line#> <className>::<function signature>] Mode 2: copied text [<filename>:<line#> <className>::<function name>] Mode 3: copied text [<filename>:<line#> <function name>] Mode 4: copied text [<filename>:<line#>] Mode 0 could offer the capability to directly open the file from your note taking app, eg: oneonte. Mode 4 would be the most concise way of note taking. Quickly press "Context-Copy" could switch between different modes. The same mode would be kept after two kick is separate by more the 2.5 seconds. User could check the context copy status by checking on Visual Studio status bar. Once conformed on status bar, user could just Ctrl-V into your favorite note taking app. I have created an introduction video to show the usage. If you think this app is useful and like it, please consider make a small donation to motivate us make more better free tools in the future. Your donation will always be very much appreciated. :) |