Git Product home page Git Product logo

zed-env's Introduction

๐Ÿ” Environment Support for Zed

Enhance Zed with environment syntax highlighting!

screenshot.png

๐Ÿ› ๏ธ Development Setup

1. Clone the repository

git clone https://github.com/zarifpour/zed-env

2. Uninstall the existing extension

If you have the existing extension installed, you need to uninstall it before installing the development version.

3. Load the extension

  • Open zed: extensions.
  • Click Install Dev Extension.
  • Select the zed-env directory.

4. Rebuild the extension as needed

As you make changes to the extension, you may need to rebuild it. To do so:

  • Open zed: extensions.
  • Click the Rebuild button next to the extension.

๐ŸŽธ Contributing

Contributions are welcome!

To contribute:

  1. Fork the repo and create a new branch.
  2. Make changes and test them.
  3. Submit a pull request with a clear description.

Check open issues for areas needing improvement. Thanks for helping improve Solidity support in Zed!

contrib.rocks

๐Ÿ† Acknowledgments


Made with ๐Ÿ–ค by Daniel Zarifpour

zed-env's People

Contributors

zarifpour avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

zed-env's Issues

Variable syntax recognition

Hi! @zarifpour , here is an example file:

# Interpolated string with shell commands
DATABASE_URL="postgres://$(whoami)@localhost/my_database"

# Interpolated string with other env var
DATABASE_URL="postgres://$USER@localhost/my_database"

# Interpolated string with other env var, with braces
DATABASE_URL="postgres://${USER}@localhost/my_database"

# Interpolated string with other env var, with default value
DATABASE_URL="postgres://${USER:-default}@localhost/my_database"

INTERPOLATED_VAR=I have a ${SIMPLE_VAR}

CURRENT_DATE=$(date +%Y-%m-%d)

Vscode:

Screenshot 2024-07-12 alle 17 18 34

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.