Skip to content

isabella232/idea-printf-checker-plugin-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Badoo Example plugin (printf-like functions)

IDE Setup

You will need IDEA Community Edition or IDEA Ultimate. PhpStorm can't have Plugin DevKit installed

  1. Checkout source, i.e. $ git clone git@git.mlan:intellij-idea-badoo-components.git
  2. Install Gradle plugin in IDEA
  3. Open project
  4. Idea will suggest to import Gradle configuration, agree and chose Use gradle 'wrapper' task configuration
  5. View -> Tool windows -> Gradle

Build From IDE

View -> Tool windows -> Gradle -> Tasks -> intellij -> buildPlugin

Build From Command line

$ ./gradlew --info buildPlugin

The plugin will be placed in build/distributions/

Run tests from command like

$ ./gradlew test

Test result report will be placed in build/reports/tests/test/index.html

Debug

  1. Run PhpStorm
  2. Help -> Edit Custom VM Options...
  3. Add line: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
  4. Install new version of the plugin & restart PhpStorm
  5. In Idea Community, go to Run -> Attach to Process... If everything is right, in the list you will find the process of PhpStorm
  6. Set breakpoint and enjoy the debug.

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 88.2%
  • PHP 11.3%
  • HTML 0.5%