Skip to content

Commit

Permalink
Document VS Code features
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikEJ committed Nov 1, 2023
1 parent 432f1c0 commit be4ac8c
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 6 deletions.
Binary file added img/efcpt-vscode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/GUI/efcpt.6/efcpt.6.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<Description>Entity Framework Core Power Tools command line tool </Description>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageReadmeFile>readme.md</PackageReadmeFile>
<PackageVersion>6.0.0-rc.14</PackageVersion>
<InformationalVersion>6.0.0-rc.14</InformationalVersion>
<PackageVersion>6.0.0-rc.15</PackageVersion>
<InformationalVersion>6.0.0-rc.15</InformationalVersion>
<Version>6.0.0</Version>
<RepositoryUrl>https://github.com/ErikEJ/EFCorePowerTools</RepositoryUrl>
<PackageProjectUrl>https://github.com/ErikEJ/EFCorePowerTools</PackageProjectUrl>
Expand Down
4 changes: 2 additions & 2 deletions src/GUI/efcpt.7/efcpt.7.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<Description>Entity Framework Core Power Tools command line tool</Description>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageReadmeFile>readme.md</PackageReadmeFile>
<PackageVersion>7.0.0-rc.14</PackageVersion>
<InformationalVersion>7.0.0-rc.14</InformationalVersion>
<PackageVersion>7.0.0-rc.15</PackageVersion>
<InformationalVersion>7.0.0-rc.15</InformationalVersion>
<Version>7.0.0</Version>
<RepositoryUrl>https://github.com/ErikEJ/EFCorePowerTools</RepositoryUrl>
<PackageProjectUrl>https://github.com/ErikEJ/EFCorePowerTools</PackageProjectUrl>
Expand Down
16 changes: 16 additions & 0 deletions src/GUI/efcpt.7/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,19 @@ dotnet tool update ErikEJ.EFCorePowerTools.Cli -g --version 7.0.*-*
```

[Release notes](https://github.com/ErikEJ/EFCorePowerTools/wiki/Release-notes) - notice the `+CLI` label.

### Integration with Visual Studio Code

The tool adds a number of project specific task in a `.vscode/tasks.json` file.

Theses tasks can be run from the command palette in VS Code. Select `Tasks: Run Task` and then select the task you want to run.

The tasks are:

- `EF Core Power Tools: Reverse engineer` - runs the tool with the current provider and connection string.
- `EF Core Power Tools: Edit Configuration` - opens the configuration file in the editor.
- `EF Core Power Tools: Update` - updates the tool to the latest version.

In addition, when editing the configuration file, you get tooltips, IntelliSense suggestions and validation of the file format.

![](https://github.com/ErikEJ/EFCorePowerTools/blob/master/img/efcpt-vscode.png)
4 changes: 2 additions & 2 deletions src/GUI/efcpt.8/efcpt.8.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<Description>Entity Framework Core Power Tools command line tool </Description>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageReadmeFile>readme.md</PackageReadmeFile>
<PackageVersion>8.0.0-rc.14</PackageVersion>
<InformationalVersion>8.0.0-rc.14</InformationalVersion>
<PackageVersion>8.0.0-rc.15</PackageVersion>
<InformationalVersion>8.0.0-rc.15</InformationalVersion>
<Version>8.0.0</Version>
<RepositoryUrl>https://github.com/ErikEJ/EFCorePowerTools</RepositoryUrl>
<PackageProjectUrl>https://github.com/ErikEJ/EFCorePowerTools</PackageProjectUrl>
Expand Down

0 comments on commit be4ac8c

Please sign in to comment.