GithubHelp home page GithubHelp logo

fatihbozik / license-generator-intellij-plugin Goto Github PK

View Code? Open in Web Editor NEW
56.0 9.0 23.0 2.52 MB

Open Source License generator plugin for products on the IntelliJ platform

Home Page: https://plugins.jetbrains.com/plugin/13307-license-generator/

License: MIT License

Java 100.00%
license-generator intellij-plugin java

license-generator-intellij-plugin's Introduction

License Generator IntelliJ Plugin

License Version 13307 license generator

Introduction

License Generator is an IntelliJ Idea plugin that allows you to easily add one of your open source licenses to your project.

It supports following Jetbrains IDEs:

  • Android Studio,
  • CLion,
  • DataGrip,
  • GoLand,
  • IntelliJ IDEA Ultimate,
  • IntelliJ IDEA Community,
  • IntelliJ IDEA Educational,
  • MPS,
  • AppCode,
  • PhpStorm,
  • PyCharm Professional,
  • PyCharm Community,
  • PyCharm Educational,
  • Rider,
  • RubyMine,
  • WebStorm

Supported licenses:

  • Academic Free License v3.0,
  • GNU Affero General Public License v3.0,
  • Apache License 2.0,
  • BSD 2-Clause "Simplified" License,
  • BSD 3-Clause "New" or "Revised" License,
  • Common Development and Distribution License v1.0,
  • Eclipse Public License 2.0,
  • GNU General Public License v2.0,
  • GNU General Public License v3.0,
  • GNU Lesser General Public License v2.1,
  • GNU Lesser General Public License v3.0,
  • Mozilla Public License 2.0,
  • MIT License,
  • The Unlicense

Installation

  • Using IDE built-in plugin system:

    • Preferences > Plugins > Marketplace > Search for "License Generator" > Install Plugin

    • Restart IDE.

  • Manually:

    • Download the latest release and install it manually using Preferences > Plugins > Install plugin from disk…​

    • Restart IDE.

Usage

In the Project view, right-click a source directory where you want to create the license file and choose New | License File | MIT License from the context menu.

preview

Changelog

0.0.19 (2024-05-05)

Compatibility with 2024.1

0.0.18 (2024-02-05)

Compatibility with 2023.3

0.0.17 (2023-04-20)

Compatibility with 2023.1

0.0.16 (2022-08-06)

Compatibility with 2022.1.1

0.0.15 (2022-02-19)

Compatibility with 2021.3.2

0.0.14 (2021-07-31)

Compatibility with 2021.2

0.0.13 (2021-06-03)

Add more licences (thanks to @Nurul-GC)

  • Academic Free License v3.0

  • Common Development and Distribution License v1.0

0.0.12 (2021-04-29)

Compatibility with 2021.1

0.0.11 (2020-12-06)

Compatibility with 2020.3

  • Upgrade project Java version to 11

0.0.10 (2020-09-14)

java.lang.NoClassDefFoundError: com/github/hypfvieh/util/StringUtil

0.0.9 (2020-07-30)

Compatibility with 2020.2

0.0.8 (2020-04-09)

Compatibility with 2020.1

0.0.7 (2019-11-30)

Support another licence types

  • BSD 2-Clause "Simplified" License

  • BSD 3-Clause "New" or "Revised" License

  • Eclipse Public License 2.0

  • GNU Affero General Public License v3.0

  • GNU General Public License v2.0

  • GNU Lesser General Public License v2.1

  • GNU Lesser General Public License v3.0

  • Mozilla Public License 2.0

  • The Unlicense

0.0.6 (2019-11-30)

Compatibility with 2019.3

0.0.5 (2019-11-13)

Replace year and name of the author parameters when creating Apache License 2.0 or GNU General Public License file.

0.0.4 (2019-11-09)

First release

Contribution

License Agreement

By contributing changes to this repository, you agree to license your contributions under the MIT license. This ensures your contributions have the same license as the project. You also assert that you are the original author of the work that you are contributing unless otherwise stated.

Local Build

This plugin is built using Gradle. If you build or run it the first time it will download the community edition of IntelliJ automatically. You don’t need to install Gradle, you just need to install Java and make it available in the path.

To build this plugin, you need to run:

./gradlew buildPlugin

The ZIP file with plugin to distribute will be located in build/distributions.

Running the development version locally

To run the plugin for development you’ll need to start

./gradlew runIde

To run all tests and the CheckStyle validations you’ll need to start

./gradlew check

license-generator-intellij-plugin's People

Contributors

fatihbozik avatar imgbotapp avatar nurul-gc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

license-generator-intellij-plugin's Issues

Failed on Pycharm 2020.2.1

Fail on Pycharm 2020.2.1 when I try to generate Licenece

java.lang.NoClassDefFoundError: com/github/hypfvieh/util/StringUtil at io.github.fatihbozik.licensegenerator.license.LicenseFactory.createFromTemplate(LicenseFactory.java:53) at io.github.fatihbozik.licensegenerator.command.CreateFileCommandAction.compute(CreateFileCommandAction.java:47) at io.github.fatihbozik.licensegenerator.command.CreateFileCommandAction.compute(CreateFileCommandAction.java:15) at com.intellij.openapi.command.WriteCommandAction$BuilderImpl$2.run(WriteCommandAction.java:115) at com.intellij.openapi.application.RunResult.run(RunResult.java:35) at com.intellij.openapi.command.WriteCommandAction.lambda$performWriteCommandAction$1(WriteCommandAction.java:246) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:980) at com.intellij.openapi.command.WriteCommandAction.lambda$performWriteCommandAction$2(WriteCommandAction.java:245) at com.intellij.openapi.command.WriteCommandAction.lambda$doExecuteCommand$4(WriteCommandAction.java:303) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:220) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:187) at com.intellij.openapi.command.WriteCommandAction.doExecuteCommand(WriteCommandAction.java:305) at com.intellij.openapi.command.WriteCommandAction.performWriteCommandAction(WriteCommandAction.java:244) at com.intellij.openapi.command.WriteCommandAction.execute(WriteCommandAction.java:225) at com.intellij.openapi.command.WriteCommandAction$BuilderImpl.compute(WriteCommandAction.java:117) at io.github.fatihbozik.licensegenerator.command.AbstractCommandAction.execute(AbstractCommandAction.java:27) at io.github.fatihbozik.licensegenerator.actions.NewLicenseFileAction.createFile(NewLicenseFileAction.java:62) at io.github.fatihbozik.licensegenerator.actions.NewLicenseFileAction.actionPerformed(NewLicenseFileAction.java:46) at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:282) at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.lambda$actionPerformed$0(ActionMenuItem.java:296) at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:281) at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:77) at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:285) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967) at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$fireActionPerformed$0(ActionMenuItem.java:112) at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:94) at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:112) at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:519) at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:36) at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:541) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6654) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3345) at java.desktop/java.awt.Component.processEvent(Component.java:6419) at java.desktop/java.awt.Container.processEvent(Container.java:2263) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5029) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4861) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2773) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4861) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:778) 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.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:751) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:749) 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:748) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:971) at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:906) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:838) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:452) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:744) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:451) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:802) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:505) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Support another license types

Support another licence types.

  • Support creating another license types.
  • BSD 2-Clause "Simplified" License
  • BSD 3-Clause "New" or "Revised" License
  • Eclipse Public License 2.0
  • GNU Affero General Public License v3.0
  • GNU General Public License v2.0
  • GNU Lesser General Public License v2.1
  • GNU Lesser General Public License v3.0
  • Mozilla Public License 2.0
  • The Unlicense

Compatibility Issue with latest stable release of PyCharm

The latest release is incompatible with latest PyCharm (Build: 211.6693.115)

Plugin error: Plugin 'License Generator' (version '0.0.11') is not compatible with the current version of the IDE, because it requires build 203.* or older but the current build is PC-211.6693.115

Request to an update!

Hello great @FatihBozik, hope you're doing fine!
I just would like to ask if you can release a new version please, I can't use the plugin, at all..

IDE Exception:

Plugin 'License Generator' (version '0.0.14') is not compatible with the current version of the IDE, 
because it requires build 212.* or older but the current build is IC-213.5744.223

Update request..

Hello Great Guy, hope you're doing well..
I just would like to remind you to update the plugin please, I really need it operable..

After I updated my PyCharm I got this notification..

  • Plugin error: Plugin 'License Generator' (version '0.0.13') is not compatible with the current version of the IDE, because it requires build 211.* or older but the current build is PC-212.4746.96

0.0.14 doesnt work on IntelliJ 2021.2.1

I just installed the IntelliJ 2021.2.1 on MacOS and License generator doesn't seem to work. Below is the information.

Thanks

IntelliJ IDEA 2021.2.1 (Ultimate Edition)
Build #IU-212.5080.55, built on August 23, 2021
Licensed to IntelliJ IDEA Evaluator
Expiration date: October 1, 2021
Runtime version: 11.0.11+9-b1504.16 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 12
Non-Bundled Plugins: io.github.fatihbozik.intellij-license-generator (0.0.14), org.jetbrains.kotlin (212-1.5.30-release-409-IJ4638.7)
Kotlin: 212-1.5.30-release-409-IJ4638.7

Incompatible with the IDEA 2020.3

Error message: Plugin 'License Generator' (version '0.0.10') is not compatible with the current version of the IDE, because it requires build 202.* or older but the current build is IU-203.5981.155

Supports GoLand 2022.1.1

In jetbarins marketplace it's tips that: Not compatible with the version of your running IDE (GoLand 2022.1.1)

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.