forked from machaval/mule-intellij-plugins
-
Notifications
You must be signed in to change notification settings - Fork 1
/
todo.txt
62 lines (40 loc) · 1.78 KB
/
todo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
//How to find output
ModuleRootManager.getInstance(module).getCompilerOutputPath();
//How to extend the debugger
//To scan
com.intellij.xml.util.XmlReferenceContributor
//External Annotator!!!! para raml
https://github.com/JetBrains/intellij-community/blob/master/platform/analysis-api/src/com/intellij/lang/annotation/ExternalAnnotator.java
- Persisting metadata set for DW: http://www.jetbrains.org/intellij/sdk/docs/basics/persisting_state_of_components.html
// store property
PropertiesComponent.getInstance().setValue( "mypropertystring", "hello world" );
// load property
String value = PropertiesComponent.getInstance().getValue( "mypropertystring" );
- Find a way to specify the application/java for inputs;
- Connectors / configs view + test connection:
List all elements of type MuleElementType.CONFIG or MuleElementType.TRANSPORT_CONNECTOR:
MuleConfigUtils.getMuleElementTypeFromXmlElement(XmlTag xmlTag)
How to implement test connection?
1) list all elements that are of abstractExtensionType,
2) iterate over each element,
3) get the prefix,
4) lookup schema by prefix,
5) parse the XSD and see if it contains the devkit
TODO: Select output, e.g. from printing a Java collection and convert it to DW script.
TODO: API Designer-like RAML Color Highlighter
TODO: API Projects support:
1. API Project
src/main/resources
{environment}
apidef/ - RAML, examples, schemas
policies/ - policy description file TBD
sla_tiers/
apidescriptor.json - general API description, endpoint, etc.
2. IDE functionality
- create new project
- add new environment
- delete environment
//Location of IDEA files:
~/Library/Caches
~/Library/Preferences
~/Library/Application Support