Generate syntax diagrams for `macro_rules!()` on docs.rs and doc.rust-lang.org

Latest Version

Version
0.0.7
Update
August 12, 2022
Size
90.43KiB
Developer
Category
Users
89
Rating
5 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
See more

macro_railroad Extension

Using the `macro_railroad`-library this extension generates syntax diagrams for all macros generated by `rustdoc`. The diagrams are shown beneath each macro-block.

**Note**: The only reason this extension requests access to `file:///*` is local documentation. No data is ever transferred.

Use the icons in the lower right corner to control options and expand the diagram to fullscreen.

This extension is open source, contributions are very welcome: https://github.com/lukaslueg/macro_railroad_ext
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "macro_railroad", "version": "0.0.7", "description": "Generate syntax diagrams for `macro_rules!()` on docs.rs and doc.rust-lang.org", "author": "Lukas Lueg ", "icons": { "48": "icons/icon48.png", "96": "icons/icon96.png" }, "content_scripts": [ { "matches": [ "*://*.docs.rs/*", "*://doc.rust-lang.org/*", "file:///*" ], "js": [ "content_scripts/macro_railroad_ext.js", "content_scripts/main.js" ] } ], "options_ui": { "page": "options/options.html" }, "web_accessible_resources": [ "wasm/macro_railroad_ext.wasm", "assets/fullscreen.svg", "assets/options.svg", "assets/macro_railroad_ext.css" ]}
Read more

How to download and manually install macro_railroad extension for Chrome

Looking for a way to install macro_railroad 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 macro_railroad extensions manually, this article outlines two simple methods to effortlessly install macro_railroad extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download macro_railroad extension and manually install through Drag &Drop

If you ever need to manually install a macro_railroad 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 macro_railroad Extension by clicking the "Download CRX" button on the website.

Look for the macro_railroad extension you wish to install. Go to the website and download the macro_railroad extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for macro_railroad 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 macro_railroad 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 macro_railroad extension for Chrome and install in Developer Mode

This is another method to install macro_railroad 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 macro_railroad extension file

Select and download the macro_railroad 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 macro_railroad 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 macro_railroad 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 macro_railroad 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 macro_railroad extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

GitHub Macros Extension · Developer Tools 89 2 ★ 99.67KiB

icon

Event Logger Extension · Developer Tools 89 2 ★ 11.06KiB

icon

Automation Extension · Developer Tools 89 10 ★ 33.59KiB

icon

GPT Macros Extension · Productivity 89 26 ★ 2.51MiB

icon

Redirect Extension · Productivity 89 9 ★ 33.96KiB

icon

Gitlab Macros Extension · Productivity 89 3 ★ 273KiB

icon

IBM RPA Web Recorder Extension · Developer Tools 89 2 ★ 78.1KiB

icon

Chrome Typist Extension · Productivity 89 0 ★ 364KiB

icon

Record/Replay Extension · Developer Tools 89 9 ★ 2.44MiB

icon

Broker of Macro Expert Extension · Productivity 89 2 ★ 39.41KiB

icon

Browser Automaton Extension · Developer Tools 89 2 ★ 94.54KiB

icon

Macro-Maker Extension · Productivity 89 6 ★ 10.52KiB

icon

QAS Web Recorder Extension · Developer Tools 89 3 ★ 1.27MiB

icon

SiteMacro Extension · Productivity 89 14 ★ 43.98KiB

icon

Open Github/Bitbucket in editor Extension · Developer Tools 89 0 ★ 50.72KiB

icon

OctoPermalinker Extension · Developer Tools 89 1 ★ 373KiB

icon

FeatherTest - Website Automated Tests Extension · Developer Tools 89 5 ★ 43.4KiB

icon

Macro Commander Web Plugin for Chrome Extension · Productivity 89 5 ★ 19.49KiB

icon

LL Developer Tools Extension · Developer Tools 89 1 ★ 98.88KiB

icon

captureCalls Extension · Developer Tools 89 1 ★ 9.63KiB

icon

Go Search Extension Extension · Developer Tools 89 1 ★ 685KiB

icon

DOM-JSON Tree Matcher Extension · Developer Tools 89 0 ★ 18.58KiB

icon

E2E Test Builder Extension · Developer Tools 89 1 ★ 509KiB

icon

Rust Search Extension Extension · Developer Tools 89 20 ★ 1.61MiB

User reviews

icon

Oilaba World (ID: 000000a4731494fe) Voted 5 ★ - Updated 01/07/2021 Wonderful and useful. Thanks!