GithubHelp home page GithubHelp logo

s_ide_extensions's Introduction


The repository holds the extensions for the Biscuit Code Editor as well as the source code for extensions marketplace site. Read extension API documentation on the editor site for further information on writing and publishing extensions for Biscuit! Visit the marketplace to see and review all of the available extensions.

Getting Started

Use the following template for simplifying the process of writing extensions for Biscuit, this guide will get you started with the Extension API:

# TEMPLATE FOR EXTENSION DEVELOPMENT

# STEPS:
# 1. Create a new file in the `biscuit/extensions` folder
# 2. Name it something.py (e.g. hello_world.py)
# 3. Add following lines (for intellisense):

from __future__ import annotations

__version__ = '0.0.1'
__version_info__ = tuple([ int(num) for num in __version__.split('.')])

import typing

if typing.TYPE_CHECKING:
    from biscuit import ExtensionsAPI

# 4. Create a class named `Extension` as follows:

class Extension:
    """Hello World extension for Biscuit (author: @ghost)

    Contributes:
    - notification "Hello world!"
    """

    def __init__(self, api: ExtensionsAPI) -> None:
        self.api = api

    def run(self) -> None:
        self.api.notifications.info("Hello world!")

# 5. Start customizing your extension!

Next:

Publishing to Marketplace

You can contribute the awesome extensions you've made for Biscuit here, Follow these steps:

  1. Add your extension's script to extensions/ directory
  2. Add your extension to extensions.json and the process is complete, follow the format below:
"extension name": ["filename", "author name", "short description"]

Note

Currently the extensions repository requires the extensions to be in a single source file.

About

To contribute to the Biscuit project, visit the Biscuit GitHub repository.

s_ide_extensions's People

Contributors

inviciblecreator avatar tomlin7 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.