Details

Visual Studio Code


Visual Studio Code

End-to-End Editing and Debugging Tools for Web Developers
1. Aufl.

von: Bruce Johnson

28,99 €

Verlag: Wiley
Format: PDF
Veröffentl.: 09.08.2019
ISBN/EAN: 9781119588306
Sprache: englisch
Anzahl Seiten: 192

DRM-geschütztes eBook, Sie benötigen z.B. Adobe Digital Editions und eine Adobe ID zum Lesen.

Beschreibungen

<p><b>Expert guidance on using Visual Studio Code for editing and debugging your web development projects</b></p> <p>Visual Studio Code, a free, open source, cross-compatible source code editor, is one of the most popular choices for web developers. It is fast, lightweight, customizable, and contains built-in support for JavaScript, Typescript, and Node.js extensions for other languages, including C++, Python, and PHP. Features such as debugging capability, embedded Git control, syntax highlighting, code snippets, and IntelliSense intelligent code completion support—several of which set it apart from the competition—help make Visual Studio Code an impressive, out-of-the-box solution.</p> <p><i>Visual Studio Code: End-to-End Editing and Debugging Tools for Web Developers </i>helps readers to become familiar with and productive in Visual Studio Code. This up-to-date guide covers all of the essential components of the software, including the editing features of the workspace, advanced functionality such as code refactoring and key binding, and integration with Grunt, Gulp, NPM, and other external tools. New users, experienced developers, and those considering moving from another developer tool will benefit from this book’s detailed, yet easy-to-follow information on Visual Studio Code. This book:</p> <ul> <li>Teaches readers how to use Visual Studio Code to do full-stack development</li> <li>Explains the steps to install Visual Studio Code on Windows, Mac and Linux platforms</li> <li>Provides a foundation for non-users considering moving to Visual Studio Code</li> <li>Helps current users expand their knowledge of the tool and its available extensions</li> <li>Describes how to open a .NET Core project and get end-to-end execution and debugging functionality  </li> </ul> <p><i>Visual Studio Code: End-to-End Editing and Debugging Tools for Web Developers</i> is an invaluable guide for both professional and hobbyist web developers seeking immediately-useful information on Visual Studio Code.</p>
<p>Introduction xv</p> <p><b>Chapter 1: Introducing Visual Studio Code 1</b></p> <p>Getting Started 1</p> <p>Installing Visual Studio Code 2</p> <p>Windows 2</p> <p>Linux 6</p> <p>macOS 10</p> <p>How Cross-Platform Works 11</p> <p>Summary 12</p> <p><b>Chapter 2: Exploring the User Interface 13</b></p> <p>Editors 14</p> <p>Activity Bar 15</p> <p>Editing Settings Manually 17</p> <p>Status Bar 18</p> <p>Other Windows 23</p> <p>Command Palette 23</p> <p>Terminal Window 24</p> <p>Output Window 25</p> <p>Debug Console 26</p> <p>Problems Window 27</p> <p>Summary 29</p> <p><b>Chapter 3: Files and Folders and Projects (Oh My) 31</b></p> <p>Explorer 31</p> <p>Project View 32</p> <p>Decorations 36</p> <p>Workspaces 37</p> <p>Saving the Workspace 37</p> <p>Adding Folders 38</p> <p>Settings 38</p> <p>Search 38</p> <p>Advanced Searches 39</p> <p>Regular Expression Matching 39</p> <p>Specifying Files 40</p> <p>Replacing Text 41</p> <p>Settings 41</p> <p>Summary 42</p> <p><b>Chapter 4: Editing Code in Your Language of Choice 43</b></p> <p>Editor Area 43</p> <p>Editor Groups and Layouts 45</p> <p>Open Editors 48</p> <p>Outline View 51</p> <p>Editing Functionality 52</p> <p>Keyboard Shortcuts 53</p> <p>Choosing Your Language 57</p> <p>Formatting 58</p> <p>Code Writing Assistance 59</p> <p>IntelliSense 61</p> <p>Method Info 61</p> <p>Completions 62</p> <p>Settings 62</p> <p>Find and Replace 63</p> <p>Minimap 64</p> <p>Code Snippets 65</p> <p>Multiple Cursors 67</p> <p>Auto Save 67</p> <p>Hot Exit 68</p> <p>Editor Settings 68</p> <p>Summary 71</p> <p><b>Chapter 5: Integrating with Source Control 73</b></p> <p>Source Control Management 73</p> <p>Using Git 75</p> <p>Cloning a Repository 76</p> <p>Staging and Committing 76</p> <p>Branches 77</p> <p>Working with the Tracking Branch 78</p> <p>Merge Conflicts 80</p> <p>Miscellaneous Support 82</p> <p>Git Output 82</p> <p>Default Git Editor 83</p> <p>Git Diff Tool 83</p> <p>Other SCMs 83</p> <p>Installing the Extension 84</p> <p>Configuring the Extension 85</p> <p>Summary 86</p> <p><b>Chapter 6: Debugging Code 87</b></p> <p>Debugging Node.js 87</p> <p>Launching the Session 88</p> <p>Launch Configurations 89</p> <p>Launch vs. Attach Execution 91</p> <p>Adding a Configuration 92</p> <p>Simultaneous Configurations 94</p> <p>Debug Actions 95</p> <p>Breakpoints 95</p> <p>Stepping through Code 97</p> <p>Data Inspection 97</p> <p>Advanced Launch Configuration 98</p> <p>Variable Substitution 98</p> <p>Launching a Browser on Debug 99</p> <p>Summary 100</p> <p><b>Chapter 7: External Tools and Task Automation 101</b></p> <p>Tasks Defined 101</p> <p>Creating Custom Tasks 104</p> <p>Compound Tasks 106</p> <p>Problem Matchers 107</p> <p>Multiline Matchers 108</p> <p>Background Patterns 109</p> <p>Advanced Task Configuration 110</p> <p>Platform-Specific Properties 110</p> <p>Variable Substitution 110</p> <p>Summary 112</p> <p><b>Chapter 8: Unit Testing 113</b></p> <p>Testing a Unit 113</p> <p>Python Unit Testing 114</p> <p>Unittest Framework 115</p> <p>PyTest Framework 116</p> <p>JavaScript Unit Testing 118</p> <p>Jest Extension 118</p> <p>Refactoring 121</p> <p>Code Actions 122</p> <p>Summary 124</p> <p><b>Chapter 9: Working with Extensions 125</b></p> <p>Extension Marketplace 126</p> <p>Searching for Extensions 127</p> <p>Installing Extensions 129</p> <p>Extension Configuration 133</p> <p>Updating Extensions 136</p> <p>Workspace Extensions 137</p> <p>Command-Line Interface 138</p> <p>Useful Extensions 138</p> <p>Linters 139</p> <p>Keyboard Mappings 139</p> <p>Snippets and Coding Assistance 140</p> <p>Miscellaneous Tools 140</p> <p>Summary 142</p> <p><b>Chapter 10: Creating Your Own Extensions 143</b></p> <p>Getting Started 143</p> <p>An Extension Project 147</p> <p>Activation Event 148</p> <p>Contribution Points 148</p> <p>Visual Studio Code API 149</p> <p>Extension Project Structure 149</p> <p>Activation Events 151</p> <p>onCommand 151</p> <p>onDebug 152</p> <p>onFileSystem 152</p> <p>onLanguage 153</p> <p>onUri 153</p> <p>onView 154</p> <p>onWebviewPanel 154</p> <p>workspaceContains 155</p> <p>Start Up 155</p> <p>Contribution Points 155</p> <p>breakpoints 156</p> <p>colors 156</p> <p>configuration 157</p> <p>configurationDefaults 157</p> <p>commands 158</p> <p>debuggers 158</p> <p>grammars 158</p> <p>jsonValidation 159</p> <p>keybindings 159</p> <p>when Clause 159</p> <p>languages 160</p> <p>menus 160</p> <p>problemMatchers 162</p> <p>snippets 162</p> <p>taskDefinitions 163</p> <p>themes 163</p> <p>viewsContainers 163</p> <p>views 164</p> <p>Visual Studio Code API 165</p> <p>Common Patterns 165</p> <p>Promises 165</p> <p>Cancellation Tokens 165</p> <p>Events 165</p> <p>Commands 166</p> <p>Debug 166</p> <p>Env 166</p> <p>Extensions 167</p> <p>Languages 167</p> <p>Scm 168</p> <p>Tasks 168</p> <p>Window 168</p> <p>Workspace 169</p> <p>Summary 169</p> <p>Index 171</p>
<p><b>BRUCE JOHNSON</b> is a partner at ObjectSharp Consulting. He has spent most of his career in the computer industry, working on projects at the leading edge of Windows technology. Bruce has spoken hundreds of times at conferences and user groups throughout North America. He is a Microsoft Certified Trainer (MCT), and has been recognized numerous times as a Microsoft MVP.
<p><b>A complete guide to working with the popular code editor from Microsoft</b> <p>The choice of a code editor is an important one for any web developer. Visual Studio Code, the free and open-source editor from Microsoft, has swiftly become a favorite in the coding community. It provides all the basics in a lightweight package and adds a number of features that set it apart from other editors. Whether you are new to the program or are already a user, <i>Visual Studio</i> Code will equip you with a thorough knowledge of the out-of-the-box functionality and the available extensions for your cross-platform code editor of choice. <p>This book is appropriate for developers using Visual Studio Code on Windows, Mac, or Linux, and guides you through the installation process for each platform. A detailed inventory of features follows the development workflow, so you can follow along with this book to set up your workspace, project files, code editing tools, and source control integration as you go. Additionally, <i>Visual Studio</i> Code guides you through the extensibility features of the code editor, so you can locate and install key extensions, from additional language support to useful new functionality. Finally, this book will show you how to create your own extensions to make Visual Studio Code exactly what you need your code editor to be. Visual Studio Code is an essential guide to: <ul> <li>Navigating and customizing the workspace</li> <li>Editing code in your language of choice using syntax coloring, refactoring support, and other productivity-enhancing features</li> <li>Choosing and implementing a file structure appropriate to your needs</li> <li>Integrating with external tools, including native support for Git</li> <li>Debugging code in both .NET Core and node.js</li> </ul>

Diese Produkte könnten Sie auch interessieren:

Software Process Modeling
Software Process Modeling
von: Silvia T. Acuna, Natalia Juristo
PDF ebook
96,29 €
A Software Process Model Handbook for Incorporating People's Capabilities
A Software Process Model Handbook for Incorporating People's Capabilities
von: Silvia T. Acuna, Natalia Juristo, Ana Maria Moreno, Alicia Mon
PDF ebook
149,79 €
XML for Bioinformatics
XML for Bioinformatics
von: Ethan Cerami
PDF ebook
53,49 €