Skip to content

Commit

Permalink
chore: add vs code extensions for perl
Browse files Browse the repository at this point in the history
  • Loading branch information
wonderbird committed Jan 3, 2022
1 parent 38c26e8 commit ec7cd8b
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ RUN export DEBIAN_FRONTEND=noninteractive \
unzip \
locales \
locales \
exuberant-ctags \
build-essential \
&& rm -rf /var/lib/apt/lists/*

# Generate locale
Expand All @@ -25,4 +27,6 @@ RUN cpanm \
Digest::MD5 \
Parallel::ForkManager \
Regexp::Common \
Perl::LanguageServer \
Perl::Tidy \
&& rm -rf $HOME/.cpanm
4 changes: 3 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"build": { "dockerfile": "Dockerfile" },
"extensions": [
"mhutchie.git-graph",
"eamodio.gitlens"
"eamodio.gitlens",
"richterger.perl",
"cfgweb.vscode-perl"
]
}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
cloc-?.??.*
release_notes-?.??.txt

# Visual Studio Code and extensions
.vstags
.vscode/perl-lang
14 changes: 14 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
// Further information: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "perl",
"request": "launch",
"name": "Perl-Debug",
"program": "${workspaceFolder}/${relativeFile}",
"stopOnEntry": true,
"reloadModules": true
}
]
}

0 comments on commit ec7cd8b

Please sign in to comment.