[{"data":1,"prerenderedAt":244},["ShallowReactive",2],{"article-visual-studio-themes":3},{"article":4,"tags":62,"previous":77,"next":176},{"id":5,"title":6,"author":7,"body":8,"createdAt":51,"description":52,"extension":53,"img":43,"meta":54,"navigation":55,"path":56,"seo":57,"stem":58,"tags":59,"updatedAt":51,"__hash__":61},"articles\u002Farticles\u002Fvisual-studio-themes.md","Visual Studio Themes",null,{"type":9,"value":10,"toc":47},"minimark",[11,30,33],[12,13,14,15,19,23,24,27],"p",{},"I have not been a fan historically of dark mode however recently I found this site ",[16,17],"a",{"href":18},"https:\u002F\u002Fgithub.com\u002Frainglow\u002Fvs",[16,20,18],{"href":18,"rel":21},[22],"nofollow"," which has 320+ Visual Studio (Not Vs Code @Code) .  You can preview themes here ",[16,25],{"href":26},"http:\u002F\u002Fdaylerees.github.io\u002F",[16,28,26],{"href":26,"rel":29},[22],[12,31,32],{},"I am using one that looks like... and liking it very much (bit easier than vs.net oob dark mode)",[12,34,35],{},[16,36,38],{"href":37},"\u002Farticles\u002Fimages\u002Fimage_636961497088613233.png",[39,40],"img",{"style":41,"title":42,"src":43,"alt":42,"width":44,"height":45,"border":46},"display: inline; background-image: none;","image","\u002Farticles\u002Fimages\u002Fimage_thumb_636961497090137940.png",642,304,0,{"title":48,"searchDepth":49,"depth":49,"links":50},"",2,[],"2019-06-14T22:55:09.108Z","Make Visual Studio yours, use themes to change the look and feel to meet your desires","md",{},true,"\u002Farticles\u002Fvisual-studio-themes",{"title":6,"description":52},"articles\u002Fvisual-studio-themes",[60],"visualstudio","dXCAujKbTq5VbZD6mK7Cqb-0s_3y_nnjAU-TyuojtsA",[63],{"id":64,"title":65,"body":66,"description":70,"extension":53,"img":71,"meta":72,"name":60,"navigation":55,"path":73,"seo":74,"stem":75,"__hash__":76},"tags\u002Ftags\u002Fvisualstudio.md","Visualstudio",{"type":9,"value":67,"toc":68},[],{"title":48,"searchDepth":49,"depth":49,"links":69},[],"Develop apps for Android, iOS, Mac, Windows, web, and cloud","https:\u002F\u002Fimages.unsplash.com\u002Fphoto-1598313183973-4effcded8d5e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=675&q=80",{},"\u002Ftags\u002Fvisualstudio",{"description":70},"tags\u002Fvisualstudio","glm3bYyBlAXGun4NJe-CV_iOzhszydeBRIpbGNNLeEk",{"id":78,"title":79,"author":7,"body":80,"createdAt":167,"description":168,"extension":53,"img":117,"meta":169,"navigation":55,"path":170,"seo":171,"stem":172,"tags":173,"updatedAt":167,"__hash__":175},"articles\u002Farticles\u002Fproduct-review-ndepend-part-1.md","Product Review NDepend Part 1",{"type":9,"value":81,"toc":165},[82,92,102,109,120,123,133,136,146,149,159],[12,83,84,85],{},"Today, I tried a code review extension for Visual Studio.  The product ",[16,86,91],{"href":87,"target":88,"rel":89},"https:\u002F\u002Fwww.ndepend.com\u002F","_blank",[90],"noopener","NDepend",[93,94,95,99],"ul",{},[96,97,98],"li",{},"As it was as an extension, the installation process was simple and quick and painless",[96,100,101],{},"Setting up the product to review\u002Fanalyze my solution (including many projects) was also very easy!",[12,103,104,105,108],{},"Very quickly (within minutes) the extension was able to analyze my code against many best practices, standards and coding techniques.  There are so many features within this product it is hard to adequately evaluate all features in one go.  I will document initial findings and feelings about this product, and hope to provide future reviews as I discover each of the features.",[106,107],"br",{},"\nThe immediate first thing I see is overview\u002Fdashboard of current solution\u002Fstatus, including 75 427 lines of code with a 5.5% debt ratio.",[12,110,111],{},[16,112,114],{"href":113},"\u002Farticles\u002Fimages\u002Fimage_636986200288720521.png",[39,115],{"style":116,"title":42,"src":117,"alt":42,"width":118,"height":119,"border":46},"border: 0px currentcolor; display: inline; background-image: none;","\u002Farticles\u002Fimages\u002Fimage_thumb_636986200289974139.png",454,303,[12,121,122],{},"Of particular interest to me was the debt and issues identified.  The system includes 100+ code rules that can detect a wide range of code smells including complex methods, dead-code, bad object orientated usage etc..",[12,124,125],{},[16,126,128],{"href":127},"\u002Farticles\u002Fimages\u002Fimage_636986200291159252.png",[39,129],{"style":116,"title":42,"src":130,"alt":42,"width":131,"height":132,"border":46},"\u002Farticles\u002Fimages\u002Fimage_thumb_636986200292423409.png",457,202,[12,134,135],{},"Changing the sorting of issue, shows code related to each (in this case 70 rules)",[12,137,138],{},[16,139,141],{"href":140},"\u002Farticles\u002Fimages\u002Fimage_636986200294068991.png",[39,142],{"style":116,"title":42,"src":143,"alt":42,"width":144,"height":145,"border":46},"\u002Farticles\u002Fimages\u002Fimage_thumb_636986200295573812.png",208,470,[12,147,148],{},"Drilling into a few rules (by double clicking on any) you can see how this can be a very good tool to very quickly identify and put plans in place to resolve\u002Fcleanup and generally improve the code quality.  Rules can be edited, categorized and prioritized to meet your group\u002Fcompany standards.  Clicking on particular rules\u002Fwarnings allows you to drill directly to the code\u002Fproblem identified.  There is no hunting-pecking and trying to figure out what it thinks is incorrect.",[12,150,151],{},[16,152,154],{"href":153},"\u002Farticles\u002Fimages\u002Fimage_636986200296582570.png",[39,155],{"style":116,"title":42,"src":156,"alt":42,"width":157,"height":158,"border":46},"\u002Farticles\u002Fimages\u002Fimage_thumb_636986200298017103.png",453,236,[12,160,161,162,164],{},"Honestly, it is addictive to review the issues found and try to wipe them out.  Using this tool alongside Reharper R#\u002FCodeRush it is quite easy to generally clean up the solution.  Fixing issues, re-running the analysis just to find fewer identified issues is very satisfying.",[106,163],{},"\nI have not mentioned anything about the product’s ability to evaluate\u002Fwatch trends around code changes.  I hope to use this capability in the near future.  To be continued.",{"title":48,"searchDepth":49,"depth":49,"links":166},[],"2019-07-13T13:07:09.892Z","NDepend static code analysis tool that empowers .NET architects and developers to make informed decisions.  The tool estimates the Technical Debt evolution since the baseline.",{},"\u002Farticles\u002Fproduct-review-ndepend-part-1",{"title":79,"description":168},"articles\u002Fproduct-review-ndepend-part-1",[174],"productreview","BJhDIovWrZxHjaHDGCQMsFdAZ4ogTimaF_mfyhNkV9I",{"id":177,"title":178,"author":7,"body":179,"createdAt":234,"description":235,"extension":53,"img":236,"meta":237,"navigation":55,"path":238,"seo":239,"stem":240,"tags":241,"updatedAt":234,"__hash__":243},"articles\u002Farticles\u002Fchange-default-global-installation-directory-for-nodejs-on-windows.md","Change default global installation directory for node.js on Windows",{"type":9,"value":180,"toc":232},[181,184,187,190,193,196,199,202,205,213,216,219],[12,182,183],{},"Within companies often Anti-Virus (AV) can impact the installation process of common\u002Frecent npm modules.  EPERM errors can occur during the npm -g installation process indicating that there are conflicts between the AV scanning process and the installation. ",[12,185,186],{},"The default location for node modules has generally been a sensitive directory for AV software %appdata% and can be locked down.    Node Installation",[12,188,189],{},"Node will install itself to this directory on your Windows PC C:\\Program Files\\nodejs\\node_modules\\npm",[12,191,192],{},"Following path will be added to the PATH variable C:\\Program Files\\nodejs\\",[12,194,195],{},"Within this directory is a npmrc file with the following PREFIX default prefix=${APPDATA}\\npm    Changing the default location of node_modules",[12,197,198],{},"You can determine the current node default directory by executing npm config get prefix (you can run this after your following update)",[12,200,201],{},"Open the npmrc file located in C:\\Program Files\\nodejs directory.",[12,203,204],{},"Default value prefix=${APPDATA}\\npm  which converts to C:\\Users{username}\\AppData\\Roaming\\npm directory.",[12,206,207,208,212],{},"Change the prefix value to your new custom location i.e. prefix=c:\\npm      * ",[209,210,211],"strong",{},"ALSO"," –>",[12,214,215],{},"Change the existing PATH variable from c:\\Users{username}\\AppData\\Roaming\\npm to c:\\npm (Right click on This PC, Advanced Tab, Environment Variables, Select Path in the list and Edit, find the existing npm path and change it)",[12,217,218],{},"Alternative to changing the npmrc file manually",[12,220,221,222,224,225,227,228],{},"npm config set prefix c:\\npm",[106,223],{},"\nnpm config set cache c:\\npm-cache",[106,226],{},"\nWindows System Path can be edited via ",[16,229,231],{"href":230,"target":88},"http:\u002F\u002Fwww.rapidee.com\u002Fen\u002Fabout","RapidEE",{"title":48,"searchDepth":49,"depth":49,"links":233},[],"2019-03-16T15:27:17.345Z","Change the default global location for installation of npm packages, cache etc.","\u002Farticles\u002Fimages\u002Fnode.png",{},"\u002Farticles\u002Fchange-default-global-installation-directory-for-nodejs-on-windows",{"title":178,"description":235},"articles\u002Fchange-default-global-installation-directory-for-nodejs-on-windows",[242],"node","Hxu8wBevT7-sY8OwgP_bylX4WIRcsDQVSc2j9oAVKu4",1781574769354]