building a language plugin from sources :where/how to begin?

hi
I'm interested in the Actioscript (Flex) Plugin of IDEA. As far as I can see this code lives in the JavaScript Plugin (right?).

Now here's what I'd like to do:
1. Make a new project based on the sources of the JavaScript Plugin
2. Build the project

Since most of the entry level documentation is outdated I could use some help. The best would be, if somebody could explain it step by step. Here are some of the questions during those steps...

Q1.) I've downloaded the sdk from http://www.jetbrains.com/idea/download/index.html#kit. Does it have to be installed somewhere specific? Are there any libraries that IIDEA needs access to? Or can I just use the sources from the samples and demos?

Q2.) How should I create a project
- "create project from scratch"
- "create from existing sources"


Q3.) Where in the path is the entry point for referencing the existing sources of "JavaScriptLanguage"?

Q4.) If the Project is created and open in IIDEA do I have to reference any specific libraries?

This is probably pretty basic stuff. Any help would be appreciated though. thanks :)
Ben

Edited by: Ben Aurel on Apr 26, 2008 1:59 PM

2 comments
Comment actions Permalink

Hi,

Ben Aurel wrote:

hi
I'm interested in the Actioscript (Flex) Plugin of IDEA. As far as I can see this code lives in the JavaScript Plugin (right?).

Yes, mostly, some code using closed api is located in JSHtmlBridge plugin.
You should create your own empty plugin via plugin module type and in
IntelliJ IDEA SDK definition add javascript plugin jar files and
]]> tag in your plugin.xml.


Now here's what I'd like to do:
1. Make a new project based on the sources of the JavaScript Plugin
2. Build the project

Since most of the entry level documentation is outdated I could use some help. The best would be, if somebody could explain it step by step. Here are some of the questions during those steps...

Q1.) I've downloaded the sdk from http://www.jetbrains.com/idea/download/index.html#kit. Does it have to be installed somewhere specific? Are there any libraries that IIDEA needs access to? Or can I just use the sources from the samples and demos?

No, mostly sources of open stuff, examples and documentation.


Q2.) How should I create a project
- "create project from scratch"
- "create from existing sources"


Q3.) Where in the path is the entry point for referencing the existing sources of "JavaScriptLanguage"?

Q4.) If the Project is created and open in IIDEA do I have to reference any specific libraries?

This is probably pretty basic stuff. Any help would be appreciated though. thanks :)
Ben



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

http://www.jetbrains.com/idea/documentation/idea_5.0.html

Ben Aurel wrote:

hi
I'm interested in the Actioscript (Flex) Plugin of IDEA. As far as I can see this code lives in the JavaScript Plugin (right?).

Now here's what I'd like to do:
1. Make a new project based on the sources of the JavaScript Plugin
2. Build the project

Since most of the entry level documentation is outdated I could use some help. The best would be, if somebody could explain it step by step. Here are some of the questions during those steps...

Q1.) I've downloaded the sdk from http://www.jetbrains.com/idea/download/index.html#kit. Does it have to be installed somewhere specific? Are there any libraries that IIDEA needs access to? Or can I just use the sources from the samples and demos?

Q2.) How should I create a project
- "create project from scratch"
- "create from existing sources"


Q3.) Where in the path is the entry point for referencing the existing sources of "JavaScriptLanguage"?

Q4.) If the Project is created and open in IIDEA do I have to reference any specific libraries?

This is probably pretty basic stuff. Any help would be appreciated though. thanks :)
Ben



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.