The following tutorial column will introduce you to the sublime text3 formatting json and formatting sql code methods. I hope it will be helpful to friends in need!
1. Format json text: Use View->show console (Chinese is: View- >Show/hide console) or (Ctrl `) shortcut key to open the console,
Copy the following code, and press Enter, then restart sublime——For details, see: https: //packagecontrol.io/installation#st3import urllib.request,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' 'ebe013ee18cced0ef93d5f746d80ef60'; pf = 'Package Control.sublime-package'; ipp = sublime .installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' pf.replace(' ', ' ')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h )) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
Step 2: Installation
pretty jsonPlug-inMethod 1: Click Preferences->Package Control-> enter install package, press Enter->Wait for a while, enter Pretty json in the box that appears , press Enter to install Method 2: shortcut key ctrl shift p, then the same: enter install package, press Enter -> Wait for a while, enter Pretty json in the box that appears, press Enter, That is to install
The third step: shortcut key ctrl alt j to format json text
2. Format sql codeSame as above, install
SqlBeautifierPlug-in
Then: first ctrl k, then ctrl f to format
The above is the detailed content of sublime text3 formatted json and formatted sql code. For more information, please follow other related articles on the PHP Chinese website!

SublimeText is available for free, but every once in a while, a purchase prompt pops up. 1) It supports multiple programming languages, has a simple interface and a powerful plug-in ecosystem. 2) Users can optimize the user experience by closing unnecessary plug-ins, regularly updating and using shortcut keys.

SublimeText is suitable for beginners and experts. 1. Shortcut keys and command panels improve efficiency. 2. Package manager extension function. 3. Customize the details of the configuration file. 4. Multiple selection and editing functions are used to refactor code. 5. Search and replace function positioning and modify code. 6. Project management and version control integration facilitate project management.

The performance benefits of SublimeText are fast startup, multi-threading, and a rich plug-in ecosystem, but at the expense of high license fees, complex plug-in configurations, and potentially increased memory footprint.

SublimeText is suitable for users who pursue simplicity and highly customized, while VSCode is more suitable for users who need one-stop service and better user experience. The SublimeText interface is simple and complex, suitable for advanced users; the VSCode interface is modern and easy to use, suitable for beginners and team collaboration.

SublimeText is suitable for users who pursue speed and simplicity, while VSCode is suitable for users who need rich features and powerful integration capabilities. 1) SublimeText is known for its lightweight and highly customizable, fast and powerful multi-line editing. 2) VSCode is known for its scalability and integration, with built-in Git support and debugging tools, suitable for cross-language development.

SublimeTextexcelsinspeedandsimplicity,idealforquickeditsandadistraction-freeenvironment,whileVSCodeoffersextensivefeaturesandcustomizationforlargerprojects.SublimeTextislightweightandfast,perfectforfocusedcodingwithasimplecommandpaletteforactionslike

SublimeText is suitable for programming because it is powerful and flexible. 1) Multiple selection and editing functions allow multiple locations to be modified at the same time to improve reconstruction efficiency. 2) The command panel and shortcut keys provide quick access and custom operations to improve development efficiency. 3) Support regular expressions, macros and plug-ins, suitable for advanced usage and performance optimization.

SublimeText is available for purchase for one time, priced at $70, and is permanently used with a PC; VSCode is free to use, and there is no license fee, but extensions and themes may be charged. When choosing, use requirements and budgets should be considered.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

SublimeText3 Linux new version
SublimeText3 Linux latest version

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function
