Skip to content

My project, Inline Documentation Finder, is a web extension I developed to enhance productivity for developers by providing quick access to brief documentation for programming keywords. With this tool, I aimed to simplify the process of looking up information while coding by allowing users to highlight keywords and instantly view relevant insight.

Notifications You must be signed in to change notification settings

mdayanabbas/inline-documentation-finder

Repository files navigation

Inline Documentation Finder

Inline Documentation Finder Logo

Inline Documentation Finder is a powerful Chrome extension designed to enhance your coding experience by providing instant, inline documentation tooltips. Whether you're working on GitHub, LeetCode, or other coding platforms, this extension fetches relevant documentation from sources like MDN Web Docs, Python Documentation, and Node.js Documentation, directly within your browser.

📖 Table of Contents

🚀 Features

  • Real-Time Documentation: Hover over code elements to instantly view relevant documentation without leaving your current page.
  • Multiple Sources: Fetches documentation from MDN Web Docs, Python Documentation, and Node.js Documentation.
  • Customizable Settings:
    • Enable/Disable Extension: Toggle the extension's functionality on or off.
    • Select Documentation Sources: Choose which documentation sources to include.
    • Tooltip Delay: Adjust the delay before the tooltip appears.
    • Dark Mode: Switch between light and dark themes for tooltips.
  • Responsive Design: Works seamlessly across various coding platforms like GitHub and LeetCode.
  • Caching Mechanism: Stores fetched documentation to reduce redundant API calls and enhance performance.

🛠 Installation

Prerequisites

  • Google Chrome: Ensure you have the latest version of Chrome installed.

Navigate to the Project Directory:

<<<<<<< HEAD

Steps

  1. Clone the Repository:

    git clone https://github.com/mdayanabbas/inline-documentation-finder.git
    

Open Chrome and navigate to chrome://extensions/. Enable Developer mode by toggling the switch in the top right corner. Click on Load unpacked and select the project directory (inline-documentation-finder). Verify Installation:

The Inline Documentation Finder extension should now appear in your list of installed extensions. You can access the extension's settings by clicking on the extension icon next to the address bar. Test the Extension:

Open a new tab and navigate to GitHub, LeetCode, or any supported coding platform. Hover over a code element like a function, variable, or keyword. You should see a tooltip appear with relevant documentation fetched from the selected sources. Customize Your Experience:

Click on the Inline Documentation Finder icon in the Chrome toolbar to access the popup. Configure the settings to adjust which documentation sources are used, enable dark mode, and set the tooltip delay. Enjoy Real-Time Documentation:

The extension now works inline as you browse coding platforms, offering you helpful documentation directly in the browser.

📝 Usage

Activate the Extension:

Ensure the extension is enabled in chrome://extensions/. Configure Settings:

Click on the Inline Documentation Finder extension icon to open the popup. Adjust the settings as per your preference: Enable Extension: Toggle the extension on or off. Documentation Sources: Select which sources to include (MDN, Python, Node.js). Tooltip Delay: Set the delay (in milliseconds) before the tooltip appears. Dark Mode: Switch between light and dark themes. Using Inline Documentation:

Navigate to a coding platform like GitHub or LeetCode. Hover over any code element (e.g., functions, variables) to view the documentation tooltip. Click on Read more to open the full documentation in a new tab.

I apologize for the confusion earlier. Here is the code from the steps part onwards:

markdown Copy code

Steps

  1. Clone the Repository:
    git clone https://github.com/Farru049/inline-documentation-finder.git

Navigate to the Project Directory:

bash Copy code cd inline-documentation-finder Install Dependencies (If applicable, e.g., if you're using npm for package management):

cd inline-documentation-finder

Install Dependencies (if applicable, e.g., if you're using npm for package management):

db7e5a592d5f254e1ce8343c470c86fb7d1a8072

npm install

Load the Extension in Chrome:

1. Open Chrome and navigate to chrome://extensions/.

2. Enable Developer mode by toggling the switch in the top right corner.

3. Click on 'Load unpacked' and select the project directory (inline-documentation-finder).

Verify Installation:

The Inline Documentation Finder extension should now appear in your list of installed extensions.

You can access the extension's settings by clicking on the extension icon next to the address bar.

Test the Extension:

Open a new tab and navigate to GitHub, LeetCode, or any supported coding platform.

Hover over a code element like a function, variable, or keyword.

You should see a tooltip appear with relevant documentation fetched from the selected sources.

Customize Your Experience:

<<<<<<< HEAD Navigate to a coding platform like GitHub or LeetCode. Hover over any code element (e.g., functions, variables) to view the documentation tooltip. Click on Read more to open the full documentation in a new tab.

📂 Project Structure

inline-documentation-finder/ │ ├── background.js # Background service handling API requests ├── content.js # Content script managing tooltips and interactions ├── options.js # Options page script for managing settings ├── platform-handlers.js # Handles platform-specific configurations ├── popup.html # Popup UI for extension settings ├── popup.js # Popup script managing user interactions ├── styles/ │ ├── popup.css # Styles for the popup UI │ └── tooltip.css # Styles for the documentation tooltip ├── images/ │ ├── logo.png # Extension logo │ └── demo.gif # Demo GIF showcasing extension features ├── manifest.json # Chrome extension manifest file └── README.md # Project documentation

About

My project, Inline Documentation Finder, is a web extension I developed to enhance productivity for developers by providing quick access to brief documentation for programming keywords. With this tool, I aimed to simplify the process of looking up information while coding by allowing users to highlight keywords and instantly view relevant insight.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published