refactor
This commit is contained in:
parent
daf979924d
commit
b33667bfdc
|
@ -1,4 +1,7 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: let
|
||||||
|
# Define a function to add GitHub Copilot plugin to Jetbrains IDEs
|
||||||
|
addGithubCopilot = ide: pkgs.jetbrains.plugins.addPlugins ide ["github-copilot"];
|
||||||
|
in {
|
||||||
# Enable Visual Studio Code (VSCode) program
|
# Enable Visual Studio Code (VSCode) program
|
||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -12,15 +15,9 @@
|
||||||
pkgs.gcc # GCC compiler
|
pkgs.gcc # GCC compiler
|
||||||
pkgs.python39 # Python 3.9 interpreter
|
pkgs.python39 # Python 3.9 interpreter
|
||||||
|
|
||||||
# Jetbrains IDE's with GitHub Copilot plugin enabled
|
# Add GitHub Copilot plugin to Jetbrains IDEs
|
||||||
(pkgs.jetbrains.plugins.addPlugins pkgs.jetbrains.clion [
|
(addGithubCopilot pkgs.jetbrains.clion)
|
||||||
"github-copilot"
|
(addGithubCopilot pkgs.jetbrains.idea-ultimate)
|
||||||
])
|
(addGithubCopilot pkgs.jetbrains.pycharm-professional)
|
||||||
(pkgs.jetbrains.plugins.addPlugins pkgs.jetbrains.idea-ultimate [
|
|
||||||
"github-copilot"
|
|
||||||
])
|
|
||||||
(pkgs.jetbrains.plugins.addPlugins pkgs.jetbrains.pycharm-professional [
|
|
||||||
"github-copilot"
|
|
||||||
])
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue