Google Apps Script Prettier Formatter Chrome Extention with AI Completion

Latest Version

Version
1.2.2
Update
November 11, 2024
Size
304KiB
Developer
Category
Users
192
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
See more

GAS Prettier + AI Completion Extension

GAS Prettier integrates the popular Prettier code formatter directly into the Google Apps Script editor, allowing you to easily format both your HTML and Google Apps Script (GAS) files with a single click.

Some key features of GAS Prettier:
- Registers Prettier as the default formatter for the GAS editor.
- Supports formatting of both HTML and GAS files.
- Provides a warning message if there are any errors during the formatting process.
- Ai completion (working good on small google script file)
- Open source, so the community can contribute and help improve it.

How to Format Document?
Just use current Format Command (Ctrl + Shift + F) or Click Right Click it will show format button and just click format button.

This extension aims to streamline the development workflow for GAS developers by ensuring consistent code formatting across your project. No more manual formatting or fighting with different editor settings - just hit the format button and let Prettier do the work.

The GAS Prettier extension is available for free on the Chrome Web Store. I encourage you to check it out and let me know what you think! If you have any feedback or would like to contribute, the project is open source on GitHub.

GitHub Link:
https://github.com/saffiullahfahim/gas-prettier
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "GAS Prettier + AI Completion", "description": "Google Apps Script Prettier Formatter Chrome Extention with AI Completion", "version": "1.2.2", "manifest_version": 3, "host_permissions": [ "https://script.google.com/*", "https://labs.perplexity.ai/" ], "icons": { "16": "img/icon16.png", "32": "img/icon32.png", "48": "img/icon48.png", "128": "img/icon128.png" }, "content_scripts": [ { "matches": ["https://script.google.com/*"], "js": [ "src/lib/prettier/standalone.js", "src/lib/prettier/parser-babel.js", "src/lib/prettier/parser-html.js", "src/loadScript.js" ], "css": ["src/style.css"], "world": "MAIN" }, { "matches": ["https://labs.perplexity.ai/"], "js": ["src/lib/socket.io/index.min.js", "src/pplxLoad.js"], "world": "MAIN", "all_frames": true } ]}
Read more

How to download and manually install GAS Prettier + AI Completion extension for Chrome

Looking for a way to install GAS Prettier + AI Completion extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install GAS Prettier + AI Completion extensions manually, this article outlines two simple methods to effortlessly install GAS Prettier + AI Completion extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download GAS Prettier + AI Completion extension and manually install through Drag &Drop

If you ever need to manually install a GAS Prettier + AI Completion extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the GAS Prettier + AI Completion Extension by clicking the "Download CRX" button on the website.

Look for the GAS Prettier + AI Completion extension you wish to install. Go to the website and download the GAS Prettier + AI Completion extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for GAS Prettier + AI Completion extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the GAS Prettier + AI Completion extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download GAS Prettier + AI Completion extension for Chrome and install in Developer Mode

This is another method to install GAS Prettier + AI Completion extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the GAS Prettier + AI Completion extension file

Select and download the GAS Prettier + AI Completion extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the GAS Prettier + AI Completion extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your GAS Prettier + AI Completion extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the GAS Prettier + AI Completion extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install GAS Prettier + AI Completion extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Google Apps Script Tools Extension · Developer Tools 192 15 ★ 97.94KiB

icon

Open in IDX Extension · Developer Tools 192 1 ★ 594KiB

icon

Upwork Stats Extension · Accessibility 192 2 ★ 53.12KiB

icon

Google Apps Script Custom IDE Extension · Developer Tools 192 8 ★ 420KiB

icon

Google Apps Script GitHub Assistant Extension · Developer Tools 192 98 ★ 153KiB

icon

Schema for JSON Detector for Structured Data, Microdata, and RDFa ? Extension · Productivity 192 0 ★ 63.22KiB

icon

Bootstrapping Tools - NitroGAS Extension · Developer Tools 192 1 ★ 915KiB

icon

App Script Editor PRO Extension · Developer Tools 192 1 ★ 279KiB

icon

AppsScript Color Extension · Developer Tools 192 147 ★ 48.29KiB

icon

Google Apps Script製ページ用印刷 Extension · Accessibility 192 3 ★ 43.48KiB

icon

GAS IDE Enhancer Extension · Developer Tools 192 6 ★ 170KiB

icon

TimeToCoda Extension · Productivity 192 2 ★ 1.56MiB

icon

Black Apps Script Extension · Developer Tools 192 42 ★ 4.91MiB

icon

Apps Script Sortable List Files Extension · Developer Tools 192 11 ★ 27.65KiB

icon

Google Apps Script Copilot Extension · Developer Tools 192 18 ★ 2.84MiB

icon

Google Apps Sidebar Toggle Extension · Developer Tools 192 2 ★ 38.26KiB

icon

AppSheet Toolbox Extension · Productivity 192 52 ★ 722KiB

icon

Font Size Changer for AppsScript Extension · Developer Tools 192 3 ★ 462KiB

icon

Formula Beautify Extension · Productivity 192 5 ★ 307KiB

icon

gSites Embed Web App Extension · Productivity 192 4 ★ 42.36KiB

icon

AppSheet View Customizer Extension · Developer Tools 192 8 ★ 25.26KiB

icon

Codeium: AI Code Autocompletion on all IDEs Extension · Developer Tools 192 196 ★ 342KiB

icon

Font Family Changer for AppsScript Extension · Developer Tools 192 2 ★ 462KiB

icon

Drive Explorer Extension · Productivity 192 0 ★ 1.11MiB