Skip to content

Commit

Permalink
more vs code dev files
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed May 7, 2021
1 parent 02775e6 commit 099f40a
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 35 deletions.
11 changes: 11 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.166.1/containers/julia
// See https://github.com/julia-vscode/julia-devcontainer/blob/master/Dockerfile for image contents
{
"name": "Julia (Community)",
"image": "ghcr.io/julia-vscode/julia-devcontainer:1.6.0",
"extensions": ["esbenp.prettier-vscode", "bierner.lit-html", "julialang.language-julia"],
"postCreateCommand": "/julia-devcontainer-scripts/postcreate.jl",
"remoteUser": "vscode",
"forwardPorts": [1234]
}
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"recommendations": ["esbenp.prettier-vscode"]
"recommendations": ["esbenp.prettier-vscode", "bierner.lit-html", "julialang.language-julia"]
}
68 changes: 34 additions & 34 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
// yes! use it!!!
// this one is for when you are only working on the front-end. Have Pluto running in a separate terminal, and then run this debug config. It should launch Firefox. Reload Firefox after making changes.
"type": "firefox",
"name": "Front-end Firefox",
"request": "launch",
"url": "http://localhost:1234/",
"webRoot": "${workspaceFolder}/frontend"
},
{
// untested
"type": "pwa-chrome",
"name": "Front-end Chrome",
"request": "launch",
"url": "http://localhost:1234/",
"webRoot": "${workspaceFolder}/frontend"
},
{
// this one doesn't work well yet
"type": "julia",
"request": "launch",
"name": "Back-end",
"program": "${workspaceFolder}/.vscode/run.jl",
"stopOnEntry": false,
"cwd": "${workspaceFolder}",
"juliaEnv": "${command:activeJuliaEnvironment}"
}
]
}
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
// yes! use it!!!
// this one is for when you are only working on the front-end. Have Pluto running in a separate terminal, and then run this debug config. It should launch Firefox. Reload Firefox after making changes.
"type": "firefox",
"name": "Front-end Firefox",
"request": "launch",
"url": "http://localhost:1234/",
"webRoot": "${workspaceFolder}/frontend"
},
{
// also works!!!
"type": "pwa-chrome",
"name": "Front-end Chrome",
"request": "launch",
"url": "http://localhost:1234/",
"webRoot": "${workspaceFolder}/frontend"
},
{
// this one doesn't work well yet
"type": "julia",
"request": "launch",
"name": "Back-end",
"program": "${workspaceFolder}/.vscode/run.jl",
"stopOnEntry": false,
"cwd": "${workspaceFolder}",
"juliaEnv": "${command:activeJuliaEnvironment}"
}
]
}

0 comments on commit 099f40a

Please sign in to comment.