This repository has been archived by the owner on Nov 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Removing plantuml due to #1448"
This reverts commit fac9bdc.
- Loading branch information
Showing
6 changed files
with
114 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#----------------------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See LICENSE in the project root for license information. | ||
#----------------------------------------------------------------------------------------- | ||
|
||
FROM openjdk:8 | ||
|
||
# Install git, process tools | ||
RUN apt-get update && apt-get -y install git procps | ||
|
||
# Install GraphViz | ||
RUN apt-get install -y graphviz | ||
|
||
# Clean up | ||
RUN apt-get autoremove -y \ | ||
&& apt-get clean -y \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "PlantUML", | ||
"dockerFile": "Dockerfile", | ||
"extensions": [ | ||
"jebbs.plantuml" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
README.md | ||
test-project | ||
.vscode | ||
.npmignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# PlantUML | ||
|
||
## Summary | ||
|
||
*Demonstrates using PlantUML local rendering without installing dependencies. Includes Java, GraphViz, and the PlantUML extension.* | ||
|
||
| Metadata | Value | | ||
|----------|-------| | ||
| *Contributors* | The VS Code Team | | ||
| *Definition type* | Dockerfile | | ||
| *Languages, platforms* | PlantUML | | ||
|
||
## Usage | ||
|
||
[See here for information on using this and other definitions in your project](../../README.md#using-a-definition). There are no addtional steps required. | ||
|
||
### Try it | ||
|
||
1. Run **Remote-Container: Open Folder in Container...** in VS Code and select a cloned copy of this entire folder. | ||
2. The container will build and VS Code will connect. | ||
3. Open `sample.plantuml` in the `test-project` folder and hit Alt-D. | ||
|
||
## License | ||
|
||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
|
||
Licensed under the MIT License. See [LICENSE](../../LICENSE). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Markdown Sample | ||
|
||
Open the markdown preview to check it out! | ||
|
||
## Code | ||
``` | ||
@startuml | ||
legend | ||
VS Code can do that? | ||
end legend | ||
VisualStudioCode -> Agent: openFolder(path) | ||
Agent -> ExtensionHost: installExtensions | ||
ExtensionHost -> ExtensionHost: download | ||
ExtensionHost -> ExtensionHost: install | ||
ExtensionHost -> Agent: return true | ||
Agent -> VisualStudioCode: return true@enduml | ||
``` | ||
|
||
## Diagram | ||
```plantuml | ||
@startuml | ||
legend | ||
VS Code can do that? | ||
end legend | ||
VisualStudioCode -> Agent: openFolder(path) | ||
Agent -> ExtensionHost: installExtensions | ||
ExtensionHost -> ExtensionHost: download | ||
ExtensionHost -> ExtensionHost: install | ||
ExtensionHost -> Agent: return true | ||
Agent -> VisualStudioCode: return true | ||
@enduml | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Hit Alt-D preview me! | ||
@startuml | ||
title First Diagram | ||
legend | ||
VS Code can do that? | ||
end legend | ||
VisualStudioCode -> Agent: openFolder(path) | ||
Agent -> ExtensionHost: installExtensions | ||
ExtensionHost -> ExtensionHost: download | ||
ExtensionHost -> ExtensionHost: install | ||
ExtensionHost -> Agent: return true | ||
Agent -> VisualStudioCode: return true | ||
@enduml | ||
|
||
@startuml | ||
title Second Diagram | ||
legend | ||
VS Code can do that? | ||
end legend | ||
VisualStudioCode -> Agent: installWorkspaceExtension(id) | ||
Agent -> ExtensionHost: installExtension(id) | ||
ExtensionHost -> ExtensionHost: download | ||
ExtensionHost -> ExtensionHost: install | ||
ExtensionHost -> Agent: return true | ||
Agent -> VisualStudioCode: return true | ||
@enduml |