Del Sole Alessandro / Дель Соле Алессандро - Visual Studio Code Distilled: Evolved Code Editing for Windows, macOS, and Linux, 2nd Edition / Исчерпывающее руководство по Visual Studio Code, 2-е издание [2021, PDF/EPUB, ENG]

Страницы:  1
Ответить
 

tsurijin

Стаж: 4 года 10 месяцев

Сообщений: 2900


tsurijin · 07-Апр-23 08:41 (2 года 5 месяцев назад, ред. 07-Апр-23 08:42)

Visual Studio Code Distilled: Evolved Code Editing for Windows, macOS, and Linux, 2nd Edition / Исчерпывающее руководство по Visual Studio Code: Усовершенствованное редактирование кода для Windows, macOS и Linux, 2-е издание
Год издания: 2021
Автор: Del Sole Alessandro / Дель Соле Алессандро
Издательство: Apress
ISBN: 978-1-4842-6901-5
Язык: Английский
Формат: PDF, EPUB
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 268
Описание: Use Visual Studio Code to write and debug code quickly and efficiently on any platform, for any device, using any programming language, and on the operating system of your choice.
Visual Studio Code is an open source and cross-platform development tool that focuses on code editing across a variety of development scenarios, including web, mobile, and cloud development. This second edition of Visual Studio Code Distilled has been updated and expanded with two new chapters on writing apps with Python and building apps for the cloud and deployment to Azure.
The book teaches you how to be immediately productive with Visual Studio Code, from the basics to some of the more complex topics. You will learn how to work on individual code files, complete projects, and come away with an understanding of advanced code-editing features that will help you focus on productivity, and source code collaboration with Git.
What You Will Learn
Get started with practical guidance on Visual Studio Code, including expansive guidance on writing apps with C# and Python
Comprehend Visual Studio Code in a way that is not just theory or a list of features, but an approach driven by developer tasks and needs
Understand integrated support for team collaboration with Git for executing and debugging code, and the many ways you can extend and customize Visual Studio Code
Debug code on multiple platforms through real-world guidance, such as working under corporate networks
Expand your coding intelligence from web to mobile to the cloud
Acquire valuable tips, tricks, and suggestions from hard-earned, real-world experience to be more productive
This book is for all developers (including JavaScript, Java, NodeJS), not just those with a Microsoft background, who will benefit from learning and using VS code as a cross-platform and cross-language tool.
Используйте Visual Studio Code для быстрого и эффективного написания и отладки кода на любой платформе, для любого устройства, с использованием любого языка программирования и операционной системе по вашему выбору.
Visual Studio Code - это кроссплатформенный инструмент разработки с открытым исходным кодом, который фокусируется на редактировании кода в различных сценариях разработки, включая веб-, мобильную и облачную разработку. Это второе издание было обновлено и дополнено двумя новыми главами, посвященными написанию приложений на Python и созданию приложений для облака и развертыванию в Azure.
Книга научит вас, как сразу же начать работать с кодом Visual Studio, начиная с основ и заканчивая некоторыми более сложными темами. Вы узнаете, как работать с отдельными файлами кода, завершать проекты и получите представление о расширенных функциях редактирования кода, которые помогут вам сосредоточиться на производительности и совместной работе с исходным кодом с помощью Git.
Чему Вы научитесь
Ознакомитесь с практическими рекомендациями по кодированию в Visual Studio, включая подробное руководство по написанию приложений на C# и Python
Как понимать код Visual Studio таким образом, чтобы это была не просто теория или список функций, а подход, основанный на задачах и потребностях разработчика.
Ознакомитесь с интегрированной поддержкой командной работы Git для выполнения и отладки кода, а также со множеством способов расширения и настройки кода в Visual Studio
Как отлаживать код на нескольких платформах с помощью реальных рекомендаций, таких как работа в корпоративных сетях
Расширите свои знания в области программирования веб-сайтов, мобильных устройств и в облаке
Приобретите ценные советы, приемы и рекомендации из реального опыта, чтобы быть более продуктивными
Эта книга предназначена для всех разработчиков (включая JavaScript, Java, NodeJS), а не только для тех, кто имеет опыт работы в Microsoft, которым будет полезно изучить и использовать VS code как кроссплатформенный и межъязыковой инструмент.
Примеры страниц
Оглавление
About the Author ..................................................................................................... xi
Acknowledgments ................................................................................................. xiii
Introduction .............................................................................................................xv
Chapter 1: Introducing Visual Studio Code ......................................................................... 1
Visual Studio Code, a Cross-platform Development Tool .............................................................. 1
When and Why Visual Studio Code ................................................................................................ 2
Installing and Configuring Visual Studio Code .............................................................................. 4
Installing Visual Studio Code on Windows ............................................................................... 6
Installing Visual Studio Code on macOS .................................................................................. 8
Installing Visual Studio Code on Linux ..................................................................................... 8
Localization Support .............................................................................................................. 10
Updating Visual Studio Code .................................................................................................. 11
Previewing Features with Insiders Builds ..................................................................................... 13
Summary .................................................................................................................................... 14
Chapter 2: Getting to Know the Environment ................................................................................... 17
The Welcome Page ...................................................................................................................... 18
The Code Editor ........................................................................................................................... 19
Reordering, Resizing, and Zooming Editor Windows .......................................................................... 20
The Status Bar ............................................................................................................................ 20
The Activity Bar ........................................................................................................................... 22
The Side Bar ................................................................................................................................ 22
The Explorer Bar .................................................................................................................... 23
The Search Tool ..................................................................................................................... 27
The Git Bar ............................................................................................................................. 28
The Run and Debug Bar ......................................................................................................... 29
The Extensions Bar ................................................................................................................ 29
The Accounts Button ............................................................................................................. 30
The Settings Button ............................................................................................................... 32
Navigating Between Files ........................................................................................................... 32
The Command Palette ................................................................................................................. 33
The Panels Area .......................................................................................................................... 35
The Problems Panel ............................................................................................................... 35
The Output Panel ................................................................................................................... 37
The Debug Console Panel ...................................................................................................... 37
Working with the Terminal ..................................................................................................... 38
Summary .................................................................................................................................... 40
Chapter 3: Language Support and Code Editing Features .................................................................... 41
Language Support ....................................................................................................................... 41
Working with C# and C++ ..................................................................................................... 42
Basic Code Editing Features ....................................................................................................... 43
Working with Text .................................................................................................................. 43
Syntax Colorization ................................................................................................................ 44
Delimiter Matching and Text Selection .................................................................................. 46
Code Block Folding ................................................................................................................ 46
Multicursors .......................................................................................................................... 47
Reusable Code Snippets ........................................................................................................ 47
Word Completion ................................................................................................................... 49
Minimap Mode ....................................................................................................................... 50
Whitespace Rendering and Breadcrumbs ................................................................................... 51
Markdown Preview ................................................................................................................ 53
Evolved Code Editing ................................................................................................................... 54
Working with IntelliSense ...................................................................................................... 55
Parameter Hints ..................................................................................................................... 57
Inline Documentation with Tooltips ....................................................................................... 58
Go to Definition and Peek Definition ...................................................................................... 60
Go to Implementation and Peek Implementations ................................................................. 62
Finding References ................................................................................................................ 63
Renaming Symbols and Identifiers ........................................................................................ 67
Live Code Analysis ................................................................................................................. 68
Summary .................................................................................................................................... 76
Chapter 4: Working with Files and Folders ..................................................................................... 77
Visual Studio Code and Project Systems .................................................................................... 77
Working with Individual Files ...................................................................................................... 78
Creating Files ......................................................................................................................... 80
File Encoding, Line Terminators, and Line Browsing ...................................................................... 81
Working with Folders and Projects ............................................................................................. 82
Opening a Folder ................................................................................................................... 83
Opening .NET Solutions ......................................................................................................... 85
Opening JavaScript and TypeScript Projects ......................................................................... 86
Opening Loose Folders .......................................................................................................... 87
Working with Workspaces ........................................................................................................... 87
Creating Workspaces ............................................................................................................. 89
Opening Existing Workspaces ............................................................................................... 90
Workspace Structure ............................................................................................................. 90
Summary .................................................................................................................................... 91
Chapter 5: Customizing Visual Studio Code .................................................................................. 93
Customizations and Extensions Explained .................................................................................. 93
Customizing Visual Studio Code .................................................................................................. 94
Theme Selection .................................................................................................................... 95
Customizing the Environment ................................................................................................ 97
Customizing Keyboard Shortcuts ........................................................................................ 106
Summary .................................................................................................................................. 110
Chapter 6: Installing and Managing Extensions .............................................................................. 111
Installing Extensions ................................................................................................................. 111
Extension Recommendations .............................................................................................. 115
Useful Extensions ................................................................................................................ 116
Managing Extensions ................................................................................................................ 118
Configuring Extensions ........................................................................................................ 119
Hints About Extension Authoring ............................................................................................... 121
Summary .................................................................................................................................. 122
Chapter 7: Source Control with Git ............................................................................................. 123
Source Control in Visual Studio Code ........................................................................................ 123
Downloading Other Source Control Providers .............................................................................. 124
Managing Repositories ............................................................................................................. 125
Initializing a Local Git Repository ........................................................................................ 125
Creating a Remote Repository ............................................................................................. 128
Handling File Changes .............................................................................................................. 130
Staging Changes ................................................................................................................. 132
Managing Commits ................................................................................................................... 133
Working with the Git Command-Line Interface ......................................................................... 135
Creating and Managing Branches ............................................................................................. 136
Switching to a Different Branch .......................................................................................... 138
Merging from a Branch ........................................................................................................ 138
Hints About Rebasing Branches .......................................................................................... 141
Deleting Branches ............................................................................................................... 141
Adding Power to the Git Tooling with Extensions ...................................................................... 141
Git History ............................................................................................................................ 142
GitLens ................................................................................................................................. 143
GitHub Pull Requests and Issues ......................................................................................... 147
Working with Azure DevOps and Team Foundation Server ....................................................... 149
Creating a Team Project ...................................................................................................... 149
Connecting Visual Studio Code to a Remote Repository ................................................................ 151
Summary .................................................................................................................................. 153
Chapter 8: Automating Tasks ....................................................................................................... 155
Understanding Tasks ................................................................................................................. 155
Tasks Types ......................................................................................................................... 156
Running and Managing Tasks .............................................................................................. 157
The Default Build Task ......................................................................................................... 162
Auto-Detected Tasks ............................................................................................................ 163
Configuring Tasks ................................................................................................................ 165
Running Files with a Default Program ......................................................................................... 186
Summary .................................................................................................................................. 186
Chapter 9: Building and Debugging Applications: .NET 5 and
Other Platforms ....................................................................................................................... 189
Creating Applications ................................................................................................................ 189
Introducing .NET 5 ............................................................................................................... 190
Creating .NET 5 Projects ...................................................................................................... 191
Creating Projects on Other Platforms .................................................................................. 196
Debugging Your Code ................................................................................................................ 198
Configuring the Debugger ................................................................................................... 200
Managing Breakpoints ........................................................................................................ 203
Debugging an Application .................................................................................................... 204
Summary .................................................................................................................................. 209
Chapter 10: Building Applications with Python .............................................................................. 211
Chapter Prerequisites ............................................................................................................... 211
Creating Python Applications ............................................................................................... 213
Running Python Code .......................................................................................................... 215
Code Editing Features for Python .............................................................................................. 221
Enhanced Word Completion with IntelliSense ..................................................................... 221
Understanding Function Parameters With Parameter Hints ................................................ 222
Quickly Retrieving Type Definitions ..................................................................................... 222
Finding References .............................................................................................................. 223
Renaming Symbols .............................................................................................................. 224
Finding Code Issues with Linters ......................................................................................... 225
Advanced Code Editing with Pylance ........................................................................................ 227
Managing Pylance Settings ................................................................................................. 230
Running Python Scripts ............................................................................................................. 231
Summary .................................................................................................................................. 232
Chapter 11: Deploying Applications to Azure ................................................................................ 235
Introducing Azure Extensions .................................................................................................... 235
Deploying Web Applications ...................................................................................................... 237
Installing Extensions ............................................................................................................ 237
Signing into Azure Subscriptions ......................................................................................... 238
Publishing Web Applications ................................................................................................ 240
Creating and Deploying Azure Functions .................................................................................. 243
Configuring Visual Studio Code ........................................................................................... 243
Creating Azure Functions ..................................................................................................... 245
Deploying Azure Functions .................................................................................................. 251
Summary .................................................................................................................................. 256
Index .................................................................................................................................... 257
Download
Rutracker.org не распространяет и не хранит электронные версии произведений, а лишь предоставляет доступ к создаваемому пользователями каталогу ссылок на торрент-файлы, которые содержат только списки хеш-сумм
Как скачивать? (для скачивания .torrent файлов необходима регистрация)
[Профиль]  [ЛС] 
 
Ответить
Loading...
Error