Skip to end of metadata
Go to start of metadata

1. Define a language

2. Define an icon

Copy the icon to com.simpleplugin.icons package.

3. Define a file type

4. Define a file type factory

5. Register the file type factory

6. Run the project

Create a file with extension .simple and IntelliJ IDEA will automatically associate it with our language.

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Jun 26, 2014

    Anonymous

    Are there any steps between 5 and 6, It doesn't work for me

    1. Jun 26, 2014

      Anonymous

      Messed something up, had to remove an old test plugin of mine from ".IntelliJIdea##\system\plugins-sandbox" now it works fine

      1. Jun 26, 2014

        Anonymous

        hey,

        can you please elaborate on what changes you made in order to see ur default type, because i m facing the same problem! between step 5 and 6

        1. Jul 23, 2014

          Anonymous

          Find sandbox for your installation of IntelliJ:

          1. Module > Open Module Settings > SDKs
          2. Choose IntelliJ Plugin SDK in the list
          3. Find sandbox home under "Sandbox Home" property. In my case it is /Users/kukido/Library/Caches/IntelliJIdea13/plugins-sandbox
          4. Open the sandbox location in Terminal
          5. Delete all plugins (they can be deployed as jars or directories)
  2. Jul 23, 2014

    Anonymous

    Copy the icon to com.simple.plugin.icons package.

    Should be "Copy the icon to com.simpleplugin.icons package.

    1. Oct 27, 2014

      Done, thanks.

  3. Aug 06, 2014

    Anonymous

    How do you register the file type factory? It looks like that's a line of XML. Into which file do I put that?

    1. Aug 08, 2014

      You have to register the file type factory in META-INF/plugin.xml under extensions.

  4. Sep 12, 2014

    Anonymous

    Step 6 is not possible to be completed here. What else should we do? (Assuming we have followed the previous "Prerequisites" section)

  5. Sep 15, 2014

    Do you already have configured a run-configuration?

Add Comment