StackOverflow Code Language Switcher

Adds a dropdown to code blocks in StackOverflow to switch the code language. Powered by GPT-3 AI.

Pada tanggal 08 Januari 2023. Lihat %(latest_version_link).

Penulis
Christopher-Hayes
Nilai
0 0 0
Versi
1.0
Dibuat
08 Januari 2023
Diperbarui
08 Januari 2023
Size
6,82 KB
Lisensi
GPL3
Berlaku untuk

stackoverflow-code-language-switcher

Adds a dropdown to code blocks in StackOverflow to switch the code language. Powered by GPT-3 AI.

Requirements

  1. OpenAI API Key

Installation

  1. Install this script.
  2. Once installed, open the script editor/settings, and under "values", set the openai_key to your OpenAI API key.

Usage

  1. Go to a StackOverflow question with code blocks.

  2. Click on the language dropdown to switch the code language.

The lanuage list can be customized by editing the supported_languages array in the script "values" config.