This README provides instructions on setting up and using the Gemini ERBify extension for Visual Studio Code. This extension allows you to convert HAML files to ERB files using the Gemini API.
- Gemini API Key: Required to interact with the Gemini service.
- Visual Studio Code: Required to use the extension.
-
Visit the Gemini API Key Page:
- Go to Gemini API Key Page.
- You will be redirected to the Google Authentication page.
-
Sign In:
- Sign in with your Google account credentials.
- You will be redirected to Gemini Studio.
-
Get API Key:
- Click on "Get an API Key".
- Copy the generated API key and save it for later use.
-
Download the
.vsix
File:- Download the
.vsix
extension file to your computer.
- Download the
-
Install the
.vsix
File in VS Code:- Open Visual Studio Code.
- Click on the Extensions icon in the sidebar.
- Click on the three dots (ellipsis) in the Extensions view.
- Select "Install from VSIX..." from the dropdown menu.
- Browse and select the downloaded
.vsix
file. - The extension will be added to your list of installed extensions.
-
Access Extension Settings:
- Go to the ERBify extension in VS Code.
- Click on the "Settings" gear icon.
-
Enter the Gemini API Key:
- In the extension settings, you will be prompted to enter the Gemini API key.
- Paste the API key you obtained earlier.
Once configured, you can use the Gemini ERBify extension to convert HAML files to ERB files directly within Visual Studio Code.
For more details and support, refer to the extension documentation or visit the Gemini API documentation.