Entity Framework Core UI plugin for JetBrains Rider

Overview

Entity Framework Core UI plugin for JetBrains Rider

Logo

Build (Stable) Build (EAP)


This plugin introduces Entity Framework Core commands' UI inside JetBrains Rider.

Features

There are a couple of UI stuff for:

  • Creating migrations
  • Updating database with selected migration (including migration names autocompletion)
  • Removing last created migration
  • Suggesting installing dotnet ef command line tools if not installed (when opening solution that contains EF Core related projects)
  • Persisting selected migrations and startup projects between dialogs

How to install

Using marketplace:

For EAP users: you should add https://plugins.jetbrains.com/plugins/eap/list to your plugin repositories list before installing

  1. Go to Settings / Plugins / Marketplace
  2. Search for "Entity Framework Core UI"
  3. Click Install, then Save
  4. After saving restart Rider

Using .zip file

  1. Go to Releases
  2. Download the latest release of plugin for your edition of JetBrains Rider (Stable or EAP)
  3. Proceed to Settings / Plugins / / Install plugin from disk
  4. Click Save
  5. After saving restart Rider

How to use

  1. Open solution that contains EF Core related projects (migrations and startup projects)

  2. Navigate to Tools/Entity Framework Core under project context menu:

    Logo

    You could use context menu of either your migrations or startup project.

  3. Clicking action will show appropriate dialog:

    Logo

  4. After you press Ok, selected action will be executed in background:

    Logo

    Logo

More about features and available dialogs you could read in the blog post.

Requirements

  • JetBrains Rider 2021.2.*

    or JetBrains Rider 2021.3 EAP10

  • EF Core 5.0+ with projects under net5.0 or net6.0 target framework

  • EF Core global tools (dotnet ef) 5.0+ installed

Development

Note: You should have JDK 11 and .NET SDK 5.0+ installed and configured.

Preparing

./gradlew rdgen - generates RD protocol data for plugin internal communication

Building plugin parts

  • for stable version of Rider:

    ./gradlew buildPlugin

  • for EAP version of Rider:

    ./gradlew buildPlugin -PRiderSdkVersion=2021.3.0-eap10 -PProductVersion=2021.3-EAP10-SNAPSHOT

It will build both frontend and backend parts.

Running

Next command will start instance of JetBrains Rider with plugin attached to it:

./gradlew runIde

Contributing

Contributions are welcome! 🎉

It's better to create an issue with description of your bug/feature before creating pull requests.

About branching

This project uses modified version of trunk-based git strategy.

  • develop branch play main development branch role. When creating any feature or bugfix, please make your branch from develop.

  • master branch stands for stable releases. develop branch will be merged into it before every release.

  • eap branch stands for EAP release. develop branch will be also merged into it before every release (if EAP build of Rider is available to use)

See also

Comments
  • General: RPC timeout on startup after updating Rider and plugin versions

    General: RPC timeout on startup after updating Rider and plugin versions

    I had just enabled the plugin and restarted Rider.

    Sync execution of rpc RiderClient.SolutionModel.solutions.[1].riderEfCoreModel.getAvailableStartupProjects executed too long: 784 ms

    java.lang.Exception at com.jetbrains.rd.platform.util.IdeaRdLoggerFactor$getLogger$1.log(IdeaRdLoggerFactor.kt:28) at com.jetbrains.rd.util.SwitchLogger.log(Logger.kt:47) at com.jetbrains.rd.framework.impl.RdCall.sync(RdTask.kt:228) at com.jetbrains.rd.framework.IRdCall$DefaultImpls.sync$default(TaskInterfaces.kt:123) at me.seclerp.rider.plugins.efcore.startup.EfCoreStartupActivity.runActivity$lambda-0(EfCoreStartupActivity.kt:21) at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:215) at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:22) at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:197) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:873) at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:511) at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:96) at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:69) at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:112) at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:42) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:898) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:746) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:439) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:803) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:438) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:106) at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:604) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:436) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:873) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:484) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)

    bug priority-2 
    opened by gushill-ls 22
  • General: incorrect behaviour of EF Core tools version retrieval

    General: incorrect behaviour of EF Core tools version retrieval

    Hello, i just installed this amazing plugin and it seems to be not working well, it seems like it wont detect my dotnet ef (i installed it) but Rider seems like to not detect it, any fix for that?

    image

    image

    bug priority-2 
    opened by LedgendODST 19
  • DbContext class not showing up

    DbContext class not showing up

    DataAccess project

        <ItemGroup>
          <PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="6.0.8" />
          <PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.8" />
          <PackageReference Include="Microsoft.Extensions.Identity.Stores" Version="6.0.8" />
          <PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
        </ItemGroup>
    

    Startup Project:

        <ItemGroup>
            <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.7" />
            <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.8">
              <PrivateAssets>all</PrivateAssets>
              <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
            </PackageReference>
            <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.8" />
            <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.8">
              <PrivateAssets>all</PrivateAssets>
              <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
            </PackageReference>
            <PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.3" />
        </ItemGroup>
    

    изображение изображение

    • OS: Win10
    • .NET SDK info (installed ones and version used within Rider): Net. 6
    • Plugin version: latest
    • Rider version: latest
    bug good first issue 
    opened by caffreysbb 16
  • Does not seem to work with Rider installed on MacOS

    Does not seem to work with Rider installed on MacOS

    Hi,

    I'm forced to use MacOs at work, and tried to use install the plugin today, but unfortunately the plugin doesn't seem to be able to find dotnet. In the Event log, I can see the following:

    13.01.22
    11:45	EF Core tools are not installed
    			These tools are required to execute EF Core commands
    			Fix
    
    11:45	EF Core command failed
    			Command: dotnet tool install --global dotnet-ef
    			
    			Output:
    			java.io.IOException: Cannot run program "dotnet": error=2, No such file or directory
    			
    			Exit code: -1
    			Try Again
    

    Using dotnet and dotnet-ef over the normal terminal and Riders integrated terminal works normally, so it seems to be available in the PATH. I'm using dotnet 6.0.101.

    I'm using Rider 2021.3.2 Entity Framework Core UI: 1.1.2 MacOS 11.6.1

    Any idea why that might be happening or what I can do to get it working? If you do not have access to a Mac I'm happy to further assist.

    bug priority-1 
    opened by haarhoff-frs 12
  • Correct Startup project has been filtered out

    Correct Startup project has been filtered out

    We have several projects, 2 are relevant: Domain.csproj Web.csproj

    Domain contains the migrations, and the DbContext class. Web contains the startup code.

    To add a migration is (from within the domain project): dotnet ef --startup-project ../web migrations add …

    However the 'Add Migration' dialog does not present the Web project as an option.

    Startup project list:

    Migrations project list:

    bug 
    opened by lxalln 11
  • General: Projects are not persisted correctly between command execution

    General: Projects are not persisted correctly between command execution

    If I write multiple migrations, I have to set all fields in the "Add Migration" dialog again for every single migration (mainly "Migrations project", "Startup project" and "DBContext class"). So currently, I'm actually faster if I use the command line, since there I can just save the command in clipboard, paste it and change just the migration name.

    Please change the last settings somewhere on the file system so if I use the dialog again, they are still present.

    bug 
    opened by ursmeili 10
  • No selection for Startup project

    No selection for Startup project

    Hi, I am using this plugin in rider of Mac.

    There are two projects ZiyouServer and ZiyouServer.Base, the dbcontext class is in the ZiyouServer.Base project and the ZiyouServer is a web api project as startup project. However , I can not select the startup project.

    image bug 
    opened by spartajet 9
  • General: Exception when trying to install EF Core tools from plugin

    General: Exception when trying to install EF Core tools from plugin

    When I open .Net6 project in Rider I got exception. Below is call stack.

    • OS: macOS Monterey 12.5
    • .NET SDK info (installed ones and version used within Rider): Net6
    • Plugin version: 222.0.0
    • Rider version: 2022.2.3345.139

    Exception java.lang.NullPointerException: Cannot invoke "java.io.File.toString()" because the return value of "com.intellij.execution.configurations.GeneralCommandLine.getWorkDirectory()" is null at me.seclerp.rider.plugins.efcore.cli.execution.CliCommand.<init>(CliCommand.kt:12) at me.seclerp.rider.plugins.efcore.cli.api.ManagementCommandFactory.installEfCoreTools(ManagementCommandFactory.kt:17) at me.seclerp.rider.plugins.efcore.features.eftools.InstallDotnetEfAction$actionPerformed$1.invoke(InstallDotnetEfAction.kt:18) at me.seclerp.rider.plugins.efcore.features.eftools.InstallDotnetEfAction$actionPerformed$1.invoke(InstallDotnetEfAction.kt:11) at me.seclerp.rider.plugins.efcore.cli.execution.ExtensionsKt$executeCommandUnderProgress$$inlined$runBackgroundableTask$1.run(progress.kt:36) at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:442) at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:114) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsynchronously$5(CoreProgressManager.java:493) at com.intellij.codeWithMe.ClientId$Companion$decorateFunction$2.apply(ClientId.kt:307) at com.intellij.codeWithMe.ClientId$Companion$decorateFunction$2.apply(ClientId.kt:307) at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:252) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:188) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$12(CoreProgressManager.java:608) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:683) at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:639) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:607) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:175) at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:252) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699) at java.base/java.lang.Thread.run(Thread.java:833)

    bug 
    opened by kkanjuh 8
  • Add support for environment in UI

    Add support for environment in UI

    I love your plugin. It using EF so much easier!

    I have a setup, where we are using appsettings.local.json and while using dotnet ef we have to pass --environment Local as arguments to the command line. It would be helpful if we can just pass the environment in the UI and UI would save that for future usage!

    image

    duplicate 
    opened by Morasiu 7
  • EF Core command failed in Linux

    EF Core command failed in Linux

    Describe the bug

    When I try to run any of the Entity Framework Core UI tools I get the same error. "EF Core command failed". The error shows the command that I tried however if I were to copy the command into the terminal in Rider the command will execute.

    To Reproduce

    Steps to reproduce the behavior:

    1. Create a new ASP.NET Core Web Application. SDK: Net 6, Web App (MVC), Individual Authentication
    2. Try to use the tool

    Expected behavior

    This is the error I received: Command: dotnet ef database update --project /home/<username>/<path-to-project>/<projectname>.csproj --startup-project /home/<username>/<path-to-project>/<projectname>.csproj --context <projectname>.Data.ApplicationDbContext --configuration Debug 00000000000000_CreateIdentitySchema Output: Unable to retrieve project metadata. Ensure it's an SDK-style project. If you're using a custom BaseIntermediateOutputPath or MSBuildProjectExtensionsPath values, Use the --msbuildprojectextensionspath option. Error: Could not execute because the application was not found or a compatible .NET SDK is not installed. Possible reasons for this include: * You intended to execute a .NET program: The application 'msbuild' does not exist. * You intended to execute a .NET SDK command: It was not possible to find any installed .NET SDKs. Install a .NET SDK from: https://aka.ms/dotnet-download Exit code: 1

    Environment (please complete the following information):

    • OS: Ubuntu 20.04.4 x86_64
    • .NET SDK info (installed ones and version used within Rider): (installed) 3.1, 5; (using) Net 6.0.301
    • Plugin version: 1.4.0
    • Rider version: 2022.1.2

    Additional context

    I have manually installed the .Net SDKs that I used because snap is annoying. I don't know if that affects this bug.

    bug 
    opened by cmcglownjr 7
  • Adding Persistence to Scaffold DbContext Dialog

    Adding Persistence to Scaffold DbContext Dialog

    Changes allow for persistence of the DbContext fields between reloads. Support mentioned in https://github.com/seclerp/rider-efcore/issues/54. Once entered and OK is pressed, values are saved for the next scaffolding. Build option was shared between dialog screens, so that was untouched.

    opened by t3mp0ralflux 6
  • FEATURE: List migrations

    FEATURE: List migrations

    Now that the wonderful console view is implemented, could you please add the command to list migrations?

    ie: Having a new 'List Migrations' command here: Screenshot 2022-12-10 at 6 25 51 PM

    This is really crucial when working across multiple environments and you want to check which migrations are currently applied – as well as during development as you temporarily up and down migrations until you get the ORM mappings in the DbContext set up just right.

    EF command dotnet ef migrations list

    NOTE: The same parameters from the other commands should be included, such as the starting project, custom arguments being passed in etc.

    Keep rocking! 💪

    suggestion 
    opened by marchy 2
  • Scaffolding: Add T4 templates support from EF Core 7

    Scaffolding: Add T4 templates support from EF Core 7

    EF Core 7 adds support for the dotnet ef dbcontext scaffold output customization using T4 templates. There is an article about it.

    From the plugin side, we need to add action to support dotnet new ef-templates (.NET template that generates EF Core related T4 templates) from Microsoft.EntityFrameworkCore.Templates::7.0.0-*.

    Also need to investigate a way of managing installed EF Core Tooling in the separated dialog or settings page.

    Because of Microsoft.EntityFrameworkCore.Templates is still not available, there is a .zip containing EF Core T4 templates snapshot.

    Related discussion: https://github.com/dotnet/efcore/issues/26798#issuecomment-1227748887

    enhancement 
    opened by seclerp 0
  • General: Use .NET CLI that is currently used by solution

    General: Use .NET CLI that is currently used by solution

    In current behavior, we are using .NET CLI just like simple dotnet command from a working directory.

    Need to get a path to the currently selected .NET SDK in Rider to obtain the correct dotnet CLI path.

    Notes:

    • ISolutionToolset.GetDotNetCoreToolset() should help with that (backend)
    enhancement 
    opened by seclerp 1
  • Exception thrown when dotnet not installed or accessible

    Exception thrown when dotnet not installed or accessible

    Describe the bug

    The extension is throwing an extension that seems to be related to dotnet not command not being accessible (not installed or not on the path).

    Note that, once dotnet is installed the problem no longer occurs, therefore the "impact" is low.

    To Reproduce

    Steps to reproduce the behavior:

    1. Remove all traces of dotnet (or use a machine that does not have it installed yet)
    2. Install Rider and the extension
    3. Open a project where the extension would be used
    4. Check that the extension throws an exception (excerpt is below)

    Expected behavior

    The extension should gracefully notify the user that it was unable to find or access the dotnet command.

    Environment (please complete the following information):

    • OS: Windows 10 Pro
    • .NET SDK info (installed ones and version used within Rider): No .NET SDK was installed
    • Plugin version: 1.4.0
    • Rider version: 2022.1.2

    Additional context

    Exception log from Rider:

    com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "dotnet": CreateProcess error=2, The system cannot find the file specified at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:362) at com.intellij.execution.process.OSProcessHandler.startProcess(OSProcessHandler.java:92) at com.intellij.execution.process.OSProcessHandler.(OSProcessHandler.java:45) at com.intellij.execution.process.CapturingProcessHandler.(CapturingProcessHandler.java:20) at com.intellij.execution.util.ExecUtil.execAndGetOutput(ExecUtil.kt:88) at me.seclerp.rider.plugins.efcore.cli.execution.CliCommand.execute(CliCommand.kt:14) at me.seclerp.rider.plugins.efcore.cli.api.ManagementClient.getEfCoreVersion(ManagementClient.kt:18) at me.seclerp.rider.plugins.efcore.startup.EfCoreStartupActivity.runActivity(EfCoreStartupActivity.kt:30) at com.intellij.ide.startup.impl.StartupManagerImpl.runStartupActivity(StartupManagerImpl.kt:311) at com.intellij.ide.startup.impl.StartupManagerImpl.runActivityAndMeasureDuration(StartupManagerImpl.kt:290) at com.intellij.ide.startup.impl.StartupManagerImpl.runActivityAndMeasureDuration$default(StartupManagerImpl.kt:285) at com.intellij.ide.startup.impl.StartupManagerImpl$runPostStartupActivities$1$1.run(StartupManagerImpl.kt:238) at com.intellij.openapi.project.DumbServiceImpl.runWithWaitForSmartModeDisabled(DumbServiceImpl.java:648) at com.intellij.ide.startup.impl.StartupManagerImpl$runPostStartupActivities$1.accept(StartupManagerImpl.kt:237) at com.intellij.ide.startup.impl.StartupManagerImpl$runPostStartupActivities$1.accept(StartupManagerImpl.kt:62) at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processWithPluginDescriptor(ExtensionPointImpl.java:301) at com.intellij.openapi.extensions.ExtensionPointName.processWithPluginDescriptor(ExtensionPointName.java:143) at com.intellij.ide.startup.impl.StartupManagerImpl.runPostStartupActivities(StartupManagerImpl.kt:232) at com.intellij.ide.startup.impl.StartupManagerImpl.access$runPostStartupActivities(StartupManagerImpl.kt:62) at com.intellij.ide.startup.impl.StartupManagerImpl$projectOpened$3$1.run(StartupManagerImpl.kt:180) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:189) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$12(CoreProgressManager.java:608) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:683) at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:639) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:607) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:176) at com.intellij.openapi.progress.util.BackgroundTaskUtil.runUnderDisposeAwareIndicator(BackgroundTaskUtil.java:365) at com.intellij.openapi.progress.util.BackgroundTaskUtil.runUnderDisposeAwareIndicator(BackgroundTaskUtil.java:343) at com.intellij.ide.startup.impl.StartupManagerImpl$projectOpened$3.run(StartupManagerImpl.kt:180) at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1426) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) Caused by: java.io.IOException: Cannot run program "dotnet": CreateProcess error=2, The system cannot find the file specified at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071) at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:438) at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:352) ... 35 more Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.base/java.lang.ProcessImpl.create(Native Method) at java.base/java.lang.ProcessImpl.(ProcessImpl.java:487) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:154) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107) ... 38 more

    bug 
    opened by pedro-magueija 4
  • Third-party: EntityFramework.Exceptions: Known exceptions wrapping

    Third-party: EntityFramework.Exceptions: Known exceptions wrapping

    When the project uses EntityFramework.Exceptions, SaveChanges/SaveChangesAsync could lead to exceptions. E.g.:

    context.Posts.Insert(post);
    context.{caret}SaveChanges(); // Warning EFXXXX: EF Core state mutatioon could lead to exceptions
    
    context.Posts.Insert(post);
    
    try
    {
      context.SaveChanges();
    }
    catch (UniqueConstraintException ex)
    {
      {selstart}throw new NotImplementedException();{selend}
    }
    

    The fix should generate exception-catching blocks according to an analysis of the model and context. For example, [UniqueConstraint] or [ForeignKey] attributes could lead to UniqueConstraintException and ReferenceConstraintException respectively.

    Full list of currently available exceptions:

    • UniqueConstraintException
    • CannotInsertNullException
    • MaxLengthExceededException
    • NumericOverflowException
    • ReferenceConstraintException
    enhancement 
    opened by seclerp 0
Releases(v223.2.0)
Plugin for the JetBrains Platform, that makes it easier to work while many splits are open by resizing the active editor to be larger

Plugin for the JetBrains Platform, that makes it easier to work while many splits are open by resizing the active editor to be larger. Golden Ratio is inspired by the Emacs and Vim plugins of the same name by Roman Gonzalez.

Chris Cunningham 1 Jun 18, 2022
Jetbrains plugin for differentiating opened projects by color!

?? ?? Project-Color ?? ?? Remember your projects by color! Colorize the title bar to differentiate your open projects. Working on multiple projects si

yon 25 Dec 16, 2022
OTH themes for JetBrains. Dark and light themes using Open Template Hub's color palette.

Open Template Hub - IntelliJ Platform Theme v1 OTH themes for JetBrains. Dark and light themes using Open Template Hub's color palette. After installi

Open Template Hub 5 Dec 18, 2022
OTH themes for JetBrains. Dark and light themes using Open Template Hub's color palette.

Open Template Hub - IntelliJ Theme Plugin v1 OTH themes for JetBrains. Dark and light themes using Open Template Hub's color palette. After installing

Open Template Hub 2 Apr 21, 2022
Add Mac tabbing options to Jetbrains IDEs

IDEA Mac Tabbing Add Mac tabbing options to Jetbrains IDEs: Show Previous Window Tab Show Next Window Tab Move Window Tab to New Window Merge All Wind

DCat 29 Sep 4, 2022
Dark theme for JetBrains IDEs :]

?? Hoshi Theme Dark theme for JetBrains IDEs. :] Screenshots Installation Using IDE built-in plugin system: Settings/Preferences > Plugins > Marketpla

luciano ratamero 3 Jun 23, 2022
This plugin helps tp build GraphQL applications in Java using the DGS framework

dgs-intellij-plugin This plugin helps tp build GraphQL applications in Java using the DGS framework. The DGS Framework is open sourced by Netflix and

Netflix, Inc. 16 Nov 3, 2022
A Unified, Modern and Efficient Bukkit plugin framework

LSPlugin ! WARNING ! This project is still under development DO NOT PUT INTO PRODUCTION ENVIRONMENT 一个专门为了 .DP7 群服务器 Charmless 的定制插件框架。未来Charmless的一切开

DP7 Network Works 0 Dec 24, 2021
gradle-android-scala-plugin adds scala language support to official gradle android plugin

gradle-android-scala-plugin gradle-android-scala-plugin adds scala language support to official gradle android plugin. See also sample projects at htt

saturday06 345 Dec 10, 2022
eventbus-intellij-plugin 3.8 0.0 L1 Java Plugin to navigate between events posted by EventBus.

eventbus-intellij-plugin Plugin to navigate between events posted by EventBus. Post to onEvent and onEvent to Post Install There are two ways. Prefere

Shinnosuke Kugimiya 315 Aug 8, 2022
IntelliJ Idea Astor Plugin is a plugin that integrates Astor in Intellij Idea

IntelliJ Idea Astor Plugin IntelliJ Idea Astor Plugin is a plugin that integrates Astor in Intellij Idea. It communicates with a local/remote program

null 4 Aug 28, 2021
Intellij-platform-plugin-template - IntelliJ Platform Plugin Template

IntelliJ Platform Plugin Template TL;DR: Click the Use this template button and

null 0 Jan 1, 2022
BuildPlots-Plugin - PaperMC-Plugin for build contests written in Kotlin.

BuildPlotsPlugin PaperMC-Plugin for build contests. This is my first time using Kotlin and the first plugin I've written after a long time. It is stil

Lukas Heinzl 0 Jan 1, 2022
K6-intellij-plugin - IntelliJ-based Plugin to run k6 tests locally or in the k6 Cloud from your IntelliJ IDE

IntelliJ-based Plugin to run k6 tests locally or in the k6 Cloud from your Intel

Mikhail Bolotov 8 Jan 2, 2023
Ownership-gradle-plugin - Gradle code ownership verification plugin

Gradle code ownership verification plugin A gradle plugin that will verify owner

null 4 Dec 15, 2022
GPP is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and then promoting your App Bundle or APK to publishing app listings and other metadata.

Gradle Play Publisher Gradle Play Publisher is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and

null 3.9k Dec 30, 2022
A Gradle plugin to report the number of method references in your APK on every build.

Dexcount Gradle Plugin A Gradle plugin to report the number of method references in your APK, AAR, or java module. This helps you keep tabs on the gro

Keepsafe 3k Dec 29, 2022
This plugin help you to set material design icon to your project.

Android Material Design Icon Generator Plugin This plugin help you to set material design icons to your Android project. Installation Manually Downloa

Yusuke Konishi 2.4k Dec 30, 2022
IntelliJ Plugin for Android Parcelable boilerplate code generation.

IntelliJ/Android Studio Plugin for Android Parcelable boilerplate code generation This tool generates an Android Parcelable implementation based on fi

Michał Charmas 2.1k Dec 27, 2022