Playwright VSCode Extension
lessonDuration 2m 25s
We look at the various features of the VSCode Extension for Playwright and how it can help you with your testing workflow.
Browse
Find courses, lessons, articles, talks, and podcasts.
42 results for "vscode"
Showing 1–24 · Page 1 of 2
lessonDuration 2m 25s
We look at the various features of the VSCode Extension for Playwright and how it can help you with your testing workflow.
lessonDuration 1m 5s
To enhance our experience for coding, we are going to install a couple of extensions for VSCode, the TypeScript Importer and JavaScript and TypeScript Nightly. The TypeScript Importer helps you search your project's TypeScript paths as you type to look for models that it can auto-import. The JavaScript and TypeScript Nightly tells VSCode to use the very latest version of TypeScript available as its built-in TypeScript version. Only use this when you don't have a local version of TypeScript installed in your project.
lessonDuration 43sFree
We can run [Nx Generators](https://nx.dev/l/r/generators/using-schematics) directly from the console. However, if you prefer a more interactive, UI-driven approach, the [Nx Console extension](https://marketplace.visualstudio.com/items?itemName=nrwl.angular-console) for VSCode is for you. Interestingly, Nx Console not only allows to run built-in generators that come with the various Nx plugins, but it is also possible to directly run local [Nx workspace generators](https://nx.dev/l/r/generators/workspace-generators). Prefer to read along as well? Here's the [accompanying article](https://blog.nrwl.io/using-nx-workspace-generators-to-scaffold-new-blog-posts-8c8162cf857b).
lessonDuration 38sFree
You might find yourself with two almost identical files and want to quickly see the difference. VSCode has a built-in mechanism for file diffing.
lessonDuration 4m 15sFree
If you find yourself with different needs in VSCode for different scenarios, like switching from your day-to-day coding setup to higher contrast and larger fonts for presenting at your local meetup (or recording screencasts), manually changing your configurations can be tedious and error prone. In this lesson, we'll use some CLI flags for VSCode to launch a new instance of VSCode that looks for your extensions and data in a non-default directory. Once configured, we'll setup an alias to launch your new configuration with a single word command so you don't need to use those CLI flags every time.
lessonDuration 1m 24sFree
Even if you are not a heavy VIM user and you are a VSCode user using the vim mode in VSCode can be very beneficial and give a productivity boost. In this lesson, you will learn how to install a vim emulator on VSCode and get to know a few navigations tricks that will help you edit your code faster.
lessonDuration 1mFree
VSCode can natively preview markdown files. Open a markdown file in VSCode and press `cmd-k v`, or the `Open Preview to the Side` button. The Preview is live and updates as you type, and it switches live as you switch between markdown files.
lessonDuration 1m 37sFree
The VSCode Dimmer extension is great when you want to show and explain code to someone. It helpfully dims the code that's not relevant to the selected line, making it easier for your audience to focus on what you want them to.
lessonDuration 2mFree
Using multiple cursors is a fantastic way to speed up your productivity when working with and refactoring code in VSCode. Learn four different ways to use multiple cursors with VSCode.
lessonDuration 5m 42sFree
Setting up a VSCode extension from an empty folder requires a few steps of configuration before you can get it up and running. Half of the steps involve setting up TypeScript while the other half is mapping your command name from the package.json to the extension file. This lesson walks you through creating a VS Code extension by starting with an empty folder and installing and configuring everything necessary to write a command that adds "hello world" to your current cursor position.
lessonDuration 3m 9sFree
VSCode snippets are a great way to add some automation around repetitive coding tasks. They are even more powerful when you take advantage of tab stops and multi-cursor support. In this lesson, we'll create a snippet that supports both, allowing you to insert some boilerplate code with the snippet, then by typing an identifier once, have it show up in 3 places in the code. Finally, with tab stop support, we can make the cursor go to where it's going to be needed next.
lessonDuration 39sFree
Developers can optimize their VSCode settings per language. In this lesson, I show an example where I add settings specifically for MDX files. This pattern can be used to adjust settings for any language supported by VSCode. The settings used in this lesson are: ```javascript "[mdx]": { "editor.wordWrap": "bounded", "editor.wordWrapColumn": 80 } ```
lessonDuration 1m 44sFree
In this lesson, you'll learn how to set up a "live scratchpad" for JavaScript using an extension called [Quokka](https://marketplace.visualstudio.com/items?itemName=WallabyJs.quokka-vscode). Similar to JS Bin, CodePen, or CodeSandbox, Quokka lets you run some JavaScript code right from VSCode without leaving your text editor. This is a handy tool for debugging or isolating code when you want to quickly test something out. To learn more about Quokka, check out their website at [quokkajs.com](https://quokkajs.com/).
lessonDuration 4m 5sFree
AceJump enables you to move the cursor in VSCode around the screen as quickly as you can type 2 characters. This is drastically faster than the common workflow of moving your cursor around with your keyboard arrows or mouse. Expand selection enables you to select the text underneath the cursor and expand the selection to logical places to help you select the surrounding code. This lesson walks you through these shortcuts to power up your daily coding workflow.
lessonDuration 1m 47sFree
Some developers prefer to use git in a terminal, some prefer more GUI-based solutions. VSCode has both terminal and a GUI which allows you to be able to stage, diff, commit (and many more) files to a git repository without having to leave your editor. In this lesson we're going to see how to stage/unstage changes, how to create a commit message, how to revert a commit and push it again.
lessonDuration 1m 20sFree
VSCode gives us plenty of options for navigating and editing our code without needing to leave the keyboard. Learn these commands to speed up your day-to-day work.
lessonDuration 2m 55sFree
In this lesson, we learn the basics of creating code snippets in VScode.
lessonDuration 44s
Even though cypress has a well-designed API, we're not going to remember every single command. In this quick lesson we're going to learn how to enable intelligent code completion for cypress tests in VSCode so our editor will help us write e2e tests much quicker
lessonDuration 2m 12sFree
As developers, we strive to be quick and productive. We love to automate things so we spend less time on daunting, manual work and more time on solving interesting problems. In this lesson we're going to learn how to use emmet (which is built into VSCode) to quickly write HTML/JSX and how to use prettier (which we're going to install from extensions tab) to automatically format it so we may work faster and be more productive.
lessonDuration 1m 52sFree
VSCode Themes are a quick way to update the color scheme and syntax highlighting of your code, but you might find your favorite theme isn't quite perfect. VSCode supports customizations that allow you to fix that problem. In this lesson, I add settings to update the syntax highlighting for the Synthwave '84 theme in Markdown and MDX files. We do this by inspecting TM scopes and making custom rules in our `settings.json`. The settings I used are: ```javascript "editor.tokenColorCustomizations": { "[SynthWave '84]": { "textMateRules": [ { "scope": "markup.inline.raw", "settings": { "foreground": "#72f1b8", } }, { "scope": "markup.italic.markdown", "settings": { "foreground": "#36f9f6", "fontStyle": "italic" } }, ] } } ```
lessonDuration 2m 48sFree
In this lesson, we will use the [foambubble template](https://github.com/foambubble/foam-template) to get started building a second brain in VSCode. The template includes a number of extensions. The primary extention is foam itself which generates links between notes that you write similar to the popular personal knowledge management service Roam Research. **Note:** foam is in alpha so the api is likely to change quite a bit. They project that they have implemented 10% of the features currently roadmapped.
course
VSCode is a free and powerful text editor for writing code. I use it daily and continue to find useful and interesting tips and tricks regularly. I want to share those tips and tricks with you.
course
Gain efficiency in navigating and manipulating text in VSCode. If all you’re using right now is your mouse, you’re leaving a lot on the table in terms of efficiency. VSCode gives you the ability to detect patterns in text and manipulate those patterns as you see fit. e.g. when you’re renaming a variable, you don’t want to rename just the declaration but all the uses of that variable in one file. Do so in just a few key presses.
lessonDuration 4m 26s
In this lesson we'll create a VSCode snippet for quickly reusing code. We'll show how to setup tab stops orders to move the cursor in a specific order when tab is pressed. Then we'll show how to create named variables with default values.