Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup GitHub Codespaces #13533

Merged
merged 2 commits into from
Mar 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"name": "OpenAPIGenerator",
"image": "mcr.microsoft.com/devcontainers/base:debian",
"features": {
"ghcr.io/devcontainers/features/java:1": {
"version": "11",
"installMaven": true
},
"ghcr.io/devcontainers/features/node:1": {
"version": "lts"
},
"ghcr.io/snebjorn/devcontainer-feature/chromium:latest": {}
},
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"java.configuration.runtimes": [
{
"name": "JavaSE-11",
"path": "/usr/local/sdkman/candidates/java/11.0.16.1-ms",
"sources": "/usr/local/sdkman/candidates/java/11.0.16.1-ms/lib/src.zip",
"javadoc": "https://docs.oracle.com/en/java/javase/11/docs/api",
"default": true
}
]
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"vscjava.vscode-java-pack",
"attilabuti.mustache-syntax-vscode",
"formulahendry.code-runner",
"visualstudioexptteam.vscodeintellicode",
"42crunch.vscode-openapi",
"mermade.openapi-lint"
]
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "mvn clean package -DskipTests",
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
}
161 changes: 84 additions & 77 deletions openapi-generator.code-workspace
Original file line number Diff line number Diff line change
@@ -1,78 +1,85 @@
{
"folders": [
{
"name": "openapi-generator",
"path": "."
},
{
"name": "openapi-generator-cli",
"path": "modules/openapi-generator-cli"
},
{
"name": "openapi-generator-core",
"path": "modules/openapi-generator-core"
},
{
"name": "openapi-generator-gradle-plugin",
"path": "modules/openapi-generator-gradle-plugin"
},
{
"name": "openapi-generator-maven-plugin",
"path": "modules/openapi-generator-maven-plugin"
},
{
"name": "openapi-generator-online",
"path": "modules/openapi-generator-online"
},
],
"settings": {
"editor.formatOnType": true,
"editor.linkedEditing": true,
"editor.tabCompletion": "on",
"editor.tabSize": 4,
"editor.renderWhitespace": "boundary",
"editor.suggest.shareSuggestSelections": true,
"editor.suggestSelection": "first",
"editor.semanticHighlighting.enabled": true,
"explorer.confirmDelete": true,

"files.autoSave": "onFocusChange",
"files.exclude": {
"**/.classpath": true,
"**/.factorypath": true,
"**/.project": true,
"**/.settings": true
},
"files.trimFinalNewlines": false,
"files.trimTrailingWhitespace": true,

"task.saveBeforeRun": "always",

"java.autobuild.enabled": false,
"java.completion.enabled": true,
"java.completion.guessMethodArguments": true,
"java.completion.maxResults": 5,
"java.format.onType.enabled": true,

"java.referencesCodeLens.enabled": true,
"java.saveActions.organizeImports": true,
"java.showBuildStatusOnStart.enabled": true,

"java.dependency.autoRefresh": true,
"java.dependency.refreshDelay": 3000,
"java.format.enabled": true,

"maven.pomfile.autoUpdateEffectivePOM": true,
},
"extensions": {
"recommendations": [
"vscjava.vscode-java-pack",
"attilabuti.mustache-syntax-vscode",
"formulahendry.code-runner",
"visualstudioexptteam.vscodeintellicode",
"42crunch.vscode-openapi",
"mermade.openapi-lint"

]
}
}
"folders": [
{
"name": "openapi-generator",
"path": "."
},
{
"name": "openapi-generator-cli",
"path": "modules/openapi-generator-cli"
},
{
"name": "openapi-generator-core",
"path": "modules/openapi-generator-core"
},
{
"name": "openapi-generator-gradle-plugin",
"path": "modules/openapi-generator-gradle-plugin"
},
{
"name": "openapi-generator-maven-plugin",
"path": "modules/openapi-generator-maven-plugin"
},
{
"name": "openapi-generator-online",
"path": "modules/openapi-generator-online"
}
],
"settings": {
"editor.formatOnType": true,
"editor.linkedEditing": true,
"editor.tabCompletion": "on",
"editor.tabSize": 4,
"editor.renderWhitespace": "boundary",
"editor.suggest.shareSuggestSelections": true,
"editor.suggestSelection": "first",
"editor.semanticHighlighting.enabled": true,
"explorer.confirmDelete": true,
"files.autoSave": "onFocusChange",
"files.exclude": {
"**/.classpath": true,
"**/.factorypath": true,
"**/.project": true,
"**/.settings": true,
"modules/openapi-generator-cli": true,
"modules/openapi-generator-core": true,
"modules/openapi-generator-gradle-plugin": true,
"modules/openapi-generator-maven-plugin": true,
"modules/openapi-generator-online": true,
},
"files.trimFinalNewlines": false,
"files.trimTrailingWhitespace": true,
"task.saveBeforeRun": "always",
"java.autobuild.enabled": false,
"java.completion.enabled": true,
"java.completion.guessMethodArguments": true,
"java.completion.maxResults": 5,
"java.format.onType.enabled": true,
"java.referencesCodeLens.enabled": true,
"java.saveActions.organizeImports": true,
"java.showBuildStatusOnStart.enabled": true,
"java.dependency.autoRefresh": true,
"java.dependency.refreshDelay": 3000,
"java.format.enabled": true,
"java.configuration.updateBuildConfiguration": "disabled",
"maven.pomfile.autoUpdateEffectivePOM": true,
"maven.excludedFolders": [
"**/.*",
"**/node_modules",
"**/target",
"**/bin",
"**/archetype-resources",
"samples"
]
},
"extensions": {
"recommendations": [
"vscjava.vscode-java-pack",
"attilabuti.mustache-syntax-vscode",
"formulahendry.code-runner",
"visualstudioexptteam.vscodeintellicode",
"42crunch.vscode-openapi",
"mermade.openapi-lint"
]
}
}