When creating a new project (or even when I import existing projects) in Eclipse, how can I enable the autocompletion of components in views?
I have to import some catalog, or would this be a setting in Eclipse itself?
When creating a new project (or even when I import existing projects) in Eclipse, how can I enable the autocompletion of components in views?
I have to import some catalog, or would this be a setting in Eclipse itself?
Crux has a tool called SchemaGenerator. This tool will create .xsd files to validate your view files and allow any IDE (eg Eclipse) to autocomplete the tags and attributes for you.
When you create a new project with Crux through any of your maven archetypes, you will notice that a file called "Generate Schemas.launch" is created at the root of the project.
Just right-click on it and click "run As => Generate Schema". This will run the mentioned tool and will create a folder in the root of your project called "xsd".
Inside it you will find some .xsd files and a file called crux-catalog.xml. Just import this catalog into Eclipse so that it will auto-complete properly.
For this, you can go to File = > import = > XML catalog and select the file "crux-catalog.xml".
For more information on this process, refer to this section of the Crux manual:
[] s,