Giter Site home page Giter Site logo

idea-plugin-template's Introduction

idea-plugin-template

This is a starter project to help you quickly create a new IDEA plugin that uses gradle, and not DevKit. Here are some features that come with this plugin:

  1. Setup to run JUnit4 (using AssertJ) tests
  2. Can run tests from command line w/ gradle, and from run configuration named "run all tests"
  3. Has run configuration called "runIde" which runs the gradle task to launch a test IDE
  4. Has utility classes for testing as well as plugin code in Kotlin
  5. Can load testdata from the testdata folder using TestUtils.kt
  6. .gitignore and .prettierrc have already been setup and configured

In order to use this project, search for the strings "template" (your new IDEA project name) and "com.developerlife" (your new package name) across the entire project folder. You will find these pop up in the following locations (which are relative to PROJECT_DIR).

Project name updates:

  1. settings.gradle.kts - change "template" to the name of your new IDEA project
  2. .idea/.name - change "template" to the name of your new IDEA project
  3. .idea/modules.xml - change "template" to the name of your new IDEA project
  4. src/main/resources/META-INF/plugin.xml - change "template" to the name of your new IDEA project

Package name updates:

  1. build.gradle.kts - change "com.developerlife" to the package of your new IDEA project
  2. src/main/resources/META-INF/plugin.xml - change "com.developerlife" to the package of your new IDEA project

Change the file names of the .iml files:

  1. Rename the two .iml files in .idea/modules/ folder: template.main.iml and template.test.iml.
  2. Change "template" to the name of your new IDEA project (and this should match the changes you made in the ./idea/modules.xml file).

idea-plugin-template's People

Contributors

nazmulidris avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.