The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Use Format Document for an entire file or Format Selection for highlighted code. To format every time you save, enable "editor.formatOnSave": true. If VS Code finds more than one formatter, choose Format Document With… → Configure Default Formatter… first, then turn on save formatting.
Format a file or selection immediately
- Open the file in VS Code and make sure its language mode is correct (for example, Python, Go, TypeScript, JSON, HTML, or CSS).
- Open the Command Palette and run Format Document. You can also right-click in the editor and choose the same command. On Windows and Linux, the documented shortcut is Shift+Alt+F; macOS uses the platform equivalent.
- To change only part of a file, highlight the code, open the Command Palette, and run Format Selection.
- Review the changed lines before committing. Formatting changes whitespace and layout; it does not prove that the program is correct.
If VS Code asks which provider to use, choose Format Document With…, then Configure Default Formatter… and select the extension or built-in provider you want for that language.
Turn on format on save
Open Preferences: Open User Settings (JSON) from the Command Palette, or open the Settings editor and search for Format On Save. Add this setting for every language:
{
"editor.formatOnSave": true
}
Saving now invokes the selected formatter for the active document. The related triggers are independent:
Recommended Free Tools
#1 Best Overall
- Never Let a Dead Battery Ruin Your Drive. The LISEN 4 in 1 Retractable Car Charger delivers reliable power for your entire journey. Compatible with standard 12V cigarette lighter sockets, it keeps phones, tablets, and devices charged during daily commutes, road trips, and long drives — the perfect practical gift for dads, truck drivers, and anyone who lives on the road.
- Daily Driver Essential: Always Ready When You Need It. Featuring two retractable cables ( USB C & Old iPhone Charging Cable ) that extend up to 31.5 inches and dual USB ports, this charger solves cable clutter while charging up to 4 devices simultaneously. Ideal for busy fathers, commuters, and families who want a tidy car and never worry about low battery again.
- Deliver full-speed PD fast charging for iPhone 18 Pro Max & iPhone 18 Pro Max & iPhone 18 Pro right inside your car. The built-in 45W PD USB-C port hits the peak charging speed for these latest iPhone models, juicing up your phone to 50% power in just 15 minutes while you drive.(Note: Maximum 45W PD output is available under 24V vehicle power supply. When used with standard 12V car sockets, the peak output is limited to 36W.)
- Standard 12V Power Solution: Designed as a dedicated USB power supply for charging devices. Note: Does NOT support CarPlay, Bluetooth, or data transfer. Compatible with most phones, tablets, and small electronics. This retractable charger is a core car organization tool, keeping your vehicle tidy. Not compatible with Micro-USB devices.
- Clutter-Free Tech Organization: Featuring dual USB ports and retractable cables, the LISEN 4 in 1 charger provides a clean car storage solution. Perfect for truck enthusiasts or as a thoughtful gift for drivers, it supports fast USB-C charging for devices like the iPhone 18Pro & iPhone 18 ProMax. Keep your vehicle organized while ensuring efficient power delivery for all your tech on the road.
editor.formatOnSaveformats when you save.editor.formatOnTypeformats after you type.editor.formatOnPasteformats pasted text when the formatter supports range formatting.
These behaviors are off by default in the general formatting workflow. Enable only the triggers your team wants, because formatting on every keystroke can be distracting and paste formatting is not supported by every provider.
Use a different formatter for each language
Language-specific settings are the safest way to avoid applying a Python formatter to TypeScript or a project formatter to unrelated files. For example:
{
"[python]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "ms-python.black-formatter"
},
"[typescript]": {
"editor.formatOnSave": true
}
}
Replace the language identifier and formatter identifier with the values supplied by the extension you installed. The language block can contain other editor settings, so you can keep save formatting enabled while leaving it off for a language that has no suitable provider.
Python
Install a formatter extension, select it as the default for Python, and then enable save formatting. Microsoft’s Python documentation uses the Black Formatter identifier ms-python.black-formatter. Formatting and import organization are separate jobs: Ruff can organize imports through editor.codeActionsOnSave, but choosing an import action does not replace selecting a formatter.
Free tools Windows power users keep installed
One-click scans. No signup required.
{
"[python]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
}
}
}
Use the exact action value supported by the installed extension and your VS Code version. If the formatter is not installed or cannot run in the current environment, saving will not produce formatted output.
Rank #2
- High Quality Material: The coaster is made of environmentally friendly silicone, safe, non-toxic and odorless. Soft with toughness, easily embedded in the cup holder. Very durable, wear-resistant, long service life. High temperature resistance, can withstand 100 ℃ high temperature water cups.
- Wide Compatibility: The coaster has a diameter of 3.15 inches and a height of 1.18 inches, which is widely used in most vehicles, such as SUV, sedan, MPV, etc., as long as the size fits your car cup holder.
- Protection Function: Our car cup holder coaster has a carry handle design and a stand-up ring edge on its edge to effectively prevent food crumbs, drinks and water from leaking out and preventing the car cup holder from getting dirty.Meanwhile,Thickened design effectively prevents the cup holder from being scratched by the cup when driving on bumpy roads and eliminates the annoying thumping sound, making your journey more enjoyable.
- Easy to Use and Clean: With embedded installation, you just need to put it flat on the car cupholder. It is also very quick to remove, there is a small bump on the coaster, pinch it and you can easily remove the coaster. It is very easy to clean, rinse with water or wipe with a wet towel (be careful not to clean with sharp tools).
- 100% Satisfaction: Our products have quality assurance, if you have questions or are not satisfied after receiving the product, don't worry, please contact us as soon as possible, we provide after-sales service.
Go
Go formatting is provided by gopls. The Go extension runs formatting on save by default. To disable that behavior:
{
"[go]": {
"editor.formatOnSave": false
}
}
Alternatively, explicitly select the Go extension as the default formatter:
{
"[go]": {
"editor.defaultFormatter": "golang.go",
"editor.formatOnSave": true
}
}
JavaScript and TypeScript
VS Code includes a built-in formatter for JavaScript and TypeScript. TypeScript-specific js/ts.format.* settings provide basic formatting customization. If your project standard is a separate formatter, install that extension and set it as the language’s default instead of allowing two providers to compete.
Do these 3 things before closing this tab:
1Fix the driver behind crashes, sound loss and screen glitches2Repair Windows errors before they cause bigger problems3Scan for outdated or missing drivers - takes under a minuteJSON, HTML, and CSS
Built-in formatting is documented for JSON, HTML, and CSS as well as JavaScript and TypeScript. Open one of these files, run Format Document, and inspect the result. For languages outside the built-in set, use a maintained Marketplace formatter extension that supports the operations you need.
Choose a formatter deliberately
When several providers are installed, compare them on the dimensions that affect your workflow:
Rank #3
- ✅【Designed for Magsafe】 - The most fashionable iphone car mount in 2026 Magsafe is designed for iPhone 18 Pro Max/17/16/15/14/13/12 Pro Max Mini and official Magsafe cases and other magnetic phone cases and can be fixed directly to these phones without the need to affix metal plates. All Android Phones Will Work: Metal rings are provided; they fit cases and other phones without magsafe. Based on Unique Grandmaster Design (Protected by US Design Patent No. US D1,112,194 S)
- ✅【STRONG MAGNETIC MagSafe Car Mount】 - This powerful magnetic phone holder can create a powerful attraction that firmly supports your device while allowing you to drive without distraction. it easily and securely holds your phone through bumps, sharp turns or even sudden stops, no worrying of dropping your phone.
- ✅【SUPER STICK FORCE】 - VHB Dash Mounted Holders adhesive provides strong stick force between the dashboard and the car phone holder, which can firmly stick to any plane in the car, fix your device, adapt to a variety of road conditions such as sudden braking, speed bump, and rugged mountain road.
- ✅【SAFE DRIVING VIEW】 - Mini-size, not taking up space, it is placed in the dashboard without blocking the view at all, and does not need to look down at the device to ensure your safe driving. Cell Phone Car Mount is suitable for most cars, pickups, SUV, taxi; It is the best assistant for Uber and Lyft drivers
- ✅【360° FREE ROTATION】 - With an adjustable swivel ball joint, you can rotate your smartphone or device at your own will, providing the best viewing angle. Quickly pick and place with one hand, free your hands and make calls and GPS navigation more convenient
| Decision point | What to check |
|---|---|
| Language coverage | Does it understand the language and the project’s syntax version? |
| Range support | Can it format a whole document and a selection? Range support is also required for paste formatting. |
| Project configuration | Does it read the repository’s configuration file so local and CI formatting agree? |
| Import and lint integration | Are import sorting and diagnostics separate code actions rather than hidden formatter side effects? |
| Save-time behavior | Does it finish quickly enough for your files, remote session, and development machine? |
| Maintenance and trust | Check the publisher, extension permissions, update history, and whether the project is actively maintained. |
Set one default provider per language. If a project requires a different provider, commit the workspace setting so every contributor receives the same choice.
Understand settings precedence
A setting that appears correct can still be overridden. VS Code evaluates defaults, user, remote, workspace, folder, language-specific defaults, language-specific user/remote/workspace/folder settings, and finally policy settings. In practice, a workspace or folder value can override your user setting, and a language block can override the general editor.formatOnSave value.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
- Open the target file and confirm the language mode in the status bar.
- Open Settings and search for format on save; use the gear menu to inspect the setting’s source.
- Open the repository’s
.vscode/settings.jsonand check for a language block that changeseditor.formatOnSaveoreditor.defaultFormatter. - In a remote window, inspect remote settings as well as local user settings.
The default-settings file is read-only and is useful for comparison. Do not edit it to fix a project; change user or workspace settings instead.
Why VS Code is not formatting on save
No formatter is selected
Run Format Document With… → Configure Default Formatter… and select a provider. A language can have format-on-save enabled while still lacking a formatter.
The file has the wrong language mode
Click the language indicator in the status bar and choose the correct language. A formatter is selected by language identifier, so a file detected as Plain Text will not use the Python or TypeScript block.
Rank #4
- Buyer's Guide: The seat guard for car seat between seat & console measures 15.75*2.7*1.53", suitable for gaps of 1.43-1.53" in width, please double-check carefully the distance between your seat and the center console before placing an order
- Storage and Filling in One: Differ from traditional single-function gap fillers, gap filler for car incorporates storage function, offers you the convenience of storing phones and various other items, so that you can access them at any time while driving
- Avoid Items Slipping: With the bumps and vibrations of the car, phones, keys may fall into the seat crevices, which is difficult to pick up, and distracts the driver's attention. Car gap seat filler fills gaps seamlessly to create an effective barrier
- Easy to Install: Car side seat gap filler is easy to install, simply insert it into the gap between the seat and the center console, gap seat filler for car can fit tightly without affecting the normal adjustment of the seat and the use of the seat belt
- Premium Material: Crafted from premium EVA material, our car seat side gap filler boasts a combination of wear-resistant, softness&durability. Maintenance is effortless, simply rinse and wipe to quickly clean the dust and debris in corners and crevices
A workspace setting overrides your user setting
Inspect .vscode/settings.json, folder settings, and remote settings. Correct the most specific language block rather than repeatedly changing the global value.
Settings JSON is invalid
VS Code highlights syntax errors in settings.json. Remove comments or trailing commas only where the file format requires it, close missing braces, and save again. Use Preferences: Open User Settings (JSON) to edit the active user file.
Two extensions are competing
Disable the unwanted formatter for that language or set an explicit default. If you need a one-off shortcut without changing the default, bind editor.action.formatDocument.multiple to a key and provide the formatter identifier in the keybinding configuration.
The formatter cannot parse the file
Check the extension’s output panel and the file’s syntax errors. Formatters generally cannot produce a reliable result when the source is incomplete or uses syntax unsupported by the installed version. Fix the parse error, save, and format again.
Save formatting is disabled for the current language
A language block such as "[go]": { "editor.formatOnSave": false } wins over the global setting. Remove or change that override if save formatting is intended.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallCrashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteBest Value
- 🔰 UPGRADED SIDE STORAGE DESIGN - Our console cover is thinner than the old one, universal for all seasons. There is an 8.66*5.12 inch storage pocket design on each left and right side, expanding the storage space, convenient and practical. Meet the storage needs of the main passenger seat, you can store your cell phone, keys, tissues, ID and some other small daily items.
- 🔰 PREMIUM MICROFIBER LEATHER MATERIAL - This car center console cover is made of quality microfiber leather material, soft and skin-friendly touch. Exquisite and fashionable diamond shaped stitching, every detail is in place. Inside the car center console cover is made of thickened memory foam, even after squeezing, it can slowly recover to its original shape.
- 🔰 RELIEVE DRIVING FATIGUE - The arm rest cover for car adopts ergonomic design, giving just the right amount of arm support, effectively dispersing elbow pressure and relieving driving fatigue. Protect your car's center console from getting dirty or scratched. Especially suitable for long time driving or long distance traveling, bringing you a new experience of relaxation and comfort!
- 🔰 NON-DESTRUCTIVE INSTALLATION - This car console cover is designed with an elastic band for a firm fit and not easy to shake. And the back side is full of protruding dots, which can effectively avoid the armrest cover from slipping and shifting. All you need to do is to open the center console cover, put the elastic band directly into the cover and then close it.
- 🔰 BUYER'S GUIDE - You will receive a car armrest storage box with the size of 12.13*7.80 inch, please measure the size of your car's armrest storage box before you buy. We have prepared five simple and beautiful colors for you, you can choose according to your own preferences. Suitable for most of the vehicles on the market, such as car, truck, SUV, RV, van, etc.
Keep formatting predictable in a team
- Commit workspace settings only when the repository has an agreed formatter and language policy.
- Use the formatter’s project configuration file as the source of style rules; avoid relying on each developer’s personal settings.
- Separate formatting from import sorting and lint fixes so code actions do not make unexpected edits.
- Review the diff after a formatter upgrade, especially when a formatter’s configuration format changes.
- For large files or remote workspaces, test save-time behavior before enabling format-on-type.
Or skip the browser setup
If you need a clean image of documentation, a rendered example, or another web page while documenting your VS Code workflow, ScreenshotNeo returns a screenshot or PDF from one GET request. It accepts cookie and consent banners as a visitor, then removes more than 60 known consent platforms, newsletter popups, and chat widgets before capture; each step can be disabled. Only clean shots are billed: bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits cost nothing, and the response reports the result with X-Page-Verdict and X-Billed headers.
See the parameter reference in the ScreenshotNeo documentation. This cURL example captures ScreenshotNeo’s own site as a WebP file:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://screenshotneo.com -o shot.webp
Python:
import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://screenshotneo.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)
Node.js:
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://screenshotneo.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
ScreenshotNeo also provides an MCP server with take_screenshot, get_page_info, and capture_pdf tools for Claude, Cursor, and other MCP clients. Every plan includes its features; 1,000 screenshots per month are free with no card, and paid plans start at $5 for 3,000 shots. Sign up for the free 1,000-shot plan.
FAQ
Can I format only selected lines?
Yes. Highlight the range and run Format Selection. The formatter must support range formatting.
Does format on save run import sorting?
Not automatically. Formatting and import organization are separate; configure a code action such as an import-organizing action for the language and extension you use.
Where should a shared setting live?
Put repository-wide choices in the workspace’s .vscode/settings.json after your team agrees on the formatter and its configuration.
Frequently Asked Questions
Can I format only selected lines?
Yes. Highlight the range and run Format Selection. The formatter must support range formatting.
Does format on save run import sorting?
Not automatically. Formatting and import organization are separate; configure a code action such as an import-organizing action for the language and extension you use.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Where should a shared setting live?
Put repository-wide choices in the workspace’s .vscode/settings.json after your team agrees on the formatter and its configuration.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

