Skip to content

brian-team/brian-code-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VS Code Brian Simulator Extension

VS Code Brian Simulator Extension Logo

Open VSX Version Open VSX Downloads Visual Studio Marketplace Version Visual Studio Marketplace Version Installs

Table of Contents


Introduction

The VS Code Brian Simulator Extension is a powerful tool that enhances your experience when working with Brian2 simulations in Visual Studio Code. It provides features like highlighting the input strings for Equations() in Brian2 code, making debugging more accessible, and offering auto-completion for Brian2 functions and methods.

Extension Demo

Features

  • Equations() String Highlighting: Easily identify the input strings within Equations() in your Brian2 code for quick debugging.

  • Auto-Completion: Speed up your coding process with auto-completion suggestions for Brian2 functions and methods, reducing errors and improving code efficiency.

Installation

To install the VS Code Brian Simulator Extension, follow these steps:

  1. Open Visual Studio Code.

  2. Go to the Extensions view by clicking on the square icon in the left sidebar or pressing Ctrl+Shift+X.

  3. Search for "Brian Simulator" in the Extensions marketplace.

  4. Click the "Install" button for the extension offered by our official publisher.

  5. Once installed, the extension is ready to use.

Usage

  1. Open or create a Python file in Visual Studio Code.

  2. Write your Brian 2 code, including the Equations() section.

  3. As you type, the extension will automatically highlight the input string within the Equations() block for easy identification.

  4. Enjoy the convenience of auto-completion as you write your Brian 2 code. The extension will suggest relevant Brian 2 functions and methods.

Contributing

We welcome contributions to the VS Code Brian Simulator Extension. If you'd like to contribute, please follow these steps:

  1. Fork the repository on GitHub.

  2. Clone your fork to your local machine.

  3. Create a new branch for your feature or bug fix.

  4. Make your changes and commit them.

  5. Push your changes to your fork.

  6. Create a pull request to the main repository.

  7. Please Follow Contributing.md for more details

License

This extension is licensed under the GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007. See the LICENSE file for more information.


Thank you for using the VS Code Brian Simulator Extension! If you have any questions, encounter issues, or want to contribute, please don't hesitate to get in touch.

Google Summer of Code 2023

This project is a part of Google Summer of Code 2023, sponsored by INCF and mentored by Marcel Stimberg, Dan Goodman and Ben Evan.

Abhishek Tiwari is the contributor to this project.

About Brian.Org

Brian.Org is an open-source software package for simulating spiking neural networks. It is written in Python and is designed to be easy to use and extend. The project is maintained by a community of developers and researchers from around the world.

About INCF

The International Neuroinformatics Coordinating Facility (INCF) is an international organization that promotes the sharing of neuroscience data and tools. It supports the development of open-source software and provides funding for research projects like this one.

About Google Summer of Code

Google Summer of Code is a global program that offers students stipends to write code for open-source projects. It is sponsored by Google and has been running since 2005.

Happy coding!

About

GSoC 2023 project: Code editor support for Brian model equations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published