Version 10.0.17134 Build 17134
- Settings -> Update & Security
- Install all updates
- Community Edition is free.
- Download and run the installer
- Select the following workloads:
- ASP.NET and web development
- .NET Core cross-platform development
- Desktop development with C++ (for the compiler tools)
- On startup, choose the Web Development (code only) profile and dark for the theme.
- Download and install
- Just install database engine services
- Mixed mode. Add Administrators group and current user to server administrators.
- must be installed before SQL Server Management Studio
- Run
OptionalFeatures.exe
- Scroll to bottom, select Windows Subsystem for Linux
- Click OK (system will reboot)
- Open cmd.exe and type
bash
- Follow the link in the output to install a Linux distro. I use Ubuntu.
- Once it is installed. Click Launch in the app store window to set up your console. This will take a while.
- Enter a username and password.
- launch Windows Powershell as administrator and execute:
Set-ExecutionPolicy Unrestricted
- Enter
A
to accept all changes
- To install Chocolatey, follow the instructions here.
- Restart your console (as administrator) to take advantage of the updated path.
- Set Chocolatey polices (prevents a prompt for each package):
choco feature enable -n allowGlobalConfirmation
choco feature enable -n allowEmptyChecksums
- Install Chocolatey packages:
choco install googlechrome resharper sql-server-management-studio visualstudiocode ruby rake python2 make cmake ctags curl dotnet3.5 windirstat ccleaner ag vim nodejs notepad2 notepadplusplus.install 7zip.install paint.net grepwin p4merge curl postman dotnetcore yarn sourcetree jetbrains-rider sharpkeys grepwin reshack conemu poshgit
-
You can close the prompt from SourceTree after it is installed.
-
If this computer is not a VM:
choco install zoom slack evernote dropbox pia
- If a package fails to install:
- try
choco install -f <packagename>
- if that fails, check under
%temp%\chocolatey
for the installer and, if found, run it from there.
- try
- Install git manually to select custom settings
- De-select "Windows Explorer Integration"
- Select "Use Git and optional Unix tools from the Windows Command Prompt"
Use Nativefier
- In an administrator prompt:
- Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
- Install-Module Get-ChildItemColor
- Install-Module PSReadLine
- Follow the instructions here.
- Install a font from Nerd Fonts
- I use
Hack
(Hack Regular Nerd Font Complete Mono.ttf)
- In settings -> features -> colors
- In the schemes field, type IR_Black
- Click save.
- Edit %appdata%\ConEmu.xml
- Search for IR_Black
- Replace ColorTable00 through ColorTable15 with the lines found below:
- IR_Black color scheme
- Alternately, replace the entire contents of ConEmu.xml with this: ConEmu.xml
- Launch SharpKeys
- Map Caps Lock (00_3A) to Escape (00_01)
- Click "Write to Registry"
- Reboot
- Control Panel -> Programs and Features -> Microsoft OneDrive -> uninstall
- Execute the following from an administrator command prompt:
rd "%UserProfile%\OneDrive" /Q /S
rd "%LocalAppData%\Microsoft\OneDrive" /Q /S
rd "%ProgramData%\Microsoft OneDrive" /Q /S
rd "C:\OneDriveTemp" /Q /S
REG Delete "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f
REG Delete "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f
- Reboot
- In an admin console:
powercfg -h off
- Reboot
- Run
sysdm.cpl
- Select the Adanced tab
- Click the Settings... button under Performance.
- Select the Advanced tab
- Under Virtual Memory, click Change
- Uncheck Automatically manage paging file size for all drives
- Set all drives to No paging file
- Click OK until Windows suggests restarting
- After restarting you can safely delete
pagefile.sys
git config --global user.name "H. Alan Stevens"
git config --global user.email "[email protected]"
- Get rid of the annoying Notification Center. DisableNotificationCenter.reg
- Remove 3D Objects, Desktop, Documents, Downloads, Music, Pictures & Videos from File Explorer: remove-all-folders-64-bit-reg
- restart
- In Explorer, on the left, right-click "This PC" and select properties.
- On the right, under Computer name, domain and workgroup settings, click Change settings
- On the bottom right, click change
- Enter your new computer name
- click ok and reboot
- Unpin all icons from taskbar except Explorer & Task View
- right click on taskbar:
- Cortana -> hidden
- uncheck Show People Button
- uncheck Show Windows Ink Workspace Button
- Taskbar Settings -> combine taskbar buttons: when taskbar is full
- right click on the desktop -> view -> uncheck show desktop icons
- right click on every modern app on the start menu and choose unpin from start
- resize start menu to minimum width
- Settings -> Personalization -> Start ->
- Show recently opened items...: off
- View
- Details
- filename extensions
- hidden items
- View -> Options -> General
- uncheck Show frequently used files in Quick access and Show frequently used folders in Quick access
- open file explorer to: This PC
- View -> Options -> View
- uncheck hide protected operating system files
- navigation pane (scroll to bottom) -> expand to open folder
- DO NOT: navigation pane -> show all folders
- click: Apply to Folders
- Quick Access (top left)
- unpin all folders except desktop and Downloads
- View By: Large Icons
- Not needed in Parallels
- Settings -> Devices -> Mouse & touchpad, Reverse Scrolling Direction
- If no touch pad do this
- copy .ssh folder from DropBox to
%userprofile%
- copy .gitconfig to
%userprofile%
- Tools -> Options: set the project folder to %userprofile%\Development
- Tools -> Options -> Authentication: Add your GitHub and Bitbucket accounts
- Use Settings Sync
- Install the xml tools plugin
- settings -> Style Configurator:
- Select Obsidian from the drop down
- Select Hack Nerd Font Mono from the font list
- Font Size: 12
- Enable global font
- Enable global font size
- Enable global foreground color
- enable global background color
Tools -> Options:
-
Environment:
- Fonts & Settings: Font: Hack NF, Size: 14
- Startup -> At Startup: Show Empty Environment
- General -> Color Theme: Dark
- General -> Apply title case styling to the menu bar (should be on by default)
-
Projects and Solutions:
- Locations -> Projects Location:
%userprofile%\Development\
- track active item in solution explorer
- Locations -> Projects Location:
-
Debugging -> General -> uncheck: Enable Just My Code
-
Source Control -> Plug-in selection: git
-
Text Editor -> All Languages:
- General:
- uncheck: hide advanced members
- check: line numbers
- uncheck: navigation bar
- Tabs:
- Indenting: Smart
- Tab Size: 4
- Indent Size: 4
- check: Insert Spaces
- General:
-
Install ir_black color scheme
- download: ir_black theme https://studiostyl.es/schemes/ir-black
- Tools -> Import and Export Settings -> Import Selected Environment Settings -> Next -> No, just import new settings -> Next -> Browse to file -> open -> next -> finish
-
Stop VS from opening the start page after a solution is closed:
Tools -> Extensions and Updates:
-
- tools -> options -> vsvim:
- defaults -> general
- VimRc Error Reporting: true
- VimRc File Loading: vsvimrc files only
- keyboard
- Handle all with Visual Studio
- ctrl+d: Handled by VsVim
- ctrl+u: Handled by VsVim
- Copy _vsvimrc to
%userprofile%
.
- tools -> options -> vsvim:
-
- tools -> options -> Productivity Power Tools:
- Custom Document Well
- sometimes the general settings don't save if you move to the next screen. Hit ok after changing these settings and come back to options to finish.
- General -> Tab Appearance: uncheck Color tabs by project
- General -> Sorting: uncheck all
- Advanced -> Colors and Gradients: uncheck Automatically select tab text colors
- Advanced -> Colors and Gradients: uncheck Force flat custom colors
- Power Commands -> Commands
- disable (uncheck) all
- enable Fix Mixed Tabs
- enable Edit Project File
- enable Open containing folder
- enable Open command prompt
- enable Reload Projects
- enable Unload Projects
- Custom Document Well
- tools -> options -> Productivity Power Tools:
- Log in to JetBrains.com to get a license key, or simply log in to your JetBrains account when Resharper prompts you for a license
Resharper -> Options:
-
Environment
- General
- Application icons theme: gray
- Source code symbols theme: gray
- Keyboard & Menus
- Keyboard Shortcuts: Resharper 2.x or IntelliJ IDEA
- Editor
- Editor Appearance:
- Highlight current line
- Highlight matching delimiters when caret is: at both sides
- Editor Appearance:
- General
-
Code inspection
- Inspection severity
- C#: collect these as they are edited on the fly
- Inspection severity
-
Code Editing -> C#:
-
Naming Style
- Constant fields (private): ALL_UPPER
- Constant fields (not private): ALL_UPPER
-
Formatting Style
- Braces Layout -> Empty Braces Formatting: Together on the same line
- Line Breaks and Wrapping -> Break line in a block with a single statement: Force put on single line
- Blank Lines -> Keep max blank lines in code: 1
- Blank Lines -> Keep max blank lines in declarations: 1
- Line Breaks and Wrapping -> Prefer wrap before operator in binary expression: check for true
- Line Breaks and Wrapping -> Place simple property/indexer/event declaration on a single line: check for true
- Line Breaks and Wrapping -> Place simple method on single line: check for true
- Line Breaks and Wrapping -> Place field attribute on same line: uncheck for false
- Line Breaks and Wrapping -> Place simple array, object and collection on single line
- Other -> Don't indent comments started at first column: uncheck for false
-
file layout :
constructors fields static fields and constants properties public delegates all other members nested types public enums
-
-
Tools
- External Sources: Navigation to Object Browser Import Live Templates
-
Resharper -> Tools -> Templates Explorer...
- Import (second icon from the right in the toolbar)