Skip to main content
Jump to: navigation, search

Difference between revisions of "VIATRA/Query/DeveloperDocumentation/FeatureSetAndTesting/Preferences"

Line 12: Line 12:
 
* Compiler
 
* Compiler
 
** General
 
** General
*** isActivated
+
*** isActivated: you can temporarily disable the compiler if you are using large query projects with many query definition files and you want to speed up query debugging via the Query Explorer.
 
** Output folder
 
** Output folder
 
*** Directory (./src-gen)
 
*** Directory (./src-gen)
*** Create directory, if it dosn'exist
+
*** Create directory, if it doesn'exist
 
*** Overwrite existing files
 
*** Overwrite existing files
 
*** Mark generated files as derived
 
*** Mark generated files as derived
 
*** Delete generated files when clean build is triggered
 
*** Delete generated files when clean build is triggered
 
*** Clean whole directory, when clean build is triggered
 
*** Clean whole directory, when clean build is triggered
*** Ignore generated Java source whend debugging (Use for Android)
+
*** Ignore generated Java source when debugging (Use for Android)
 
*** Keep local history for generated files
 
*** Keep local history for generated files
 
* Configure Project Specific Settings
 
* Configure Project Specific Settings

Revision as of 04:03, 22 April 2015

Preferences

In the EMF-IncQuery preferences you can change IncQuery specific settings. You can turn on Wildcard mode or Dynamic EMF mode, or you can just change the settings of the Query Editor.


Project

Here we can set the settings of generated files (also for project scope).

  • Compiler
    • General
      • isActivated: you can temporarily disable the compiler if you are using large query projects with many query definition files and you want to speed up query debugging via the Query Explorer.
    • Output folder
      • Directory (./src-gen)
      • Create directory, if it doesn'exist
      • Overwrite existing files
      • Mark generated files as derived
      • Delete generated files when clean build is triggered
      • Clean whole directory, when clean build is triggered
      • Ignore generated Java source when debugging (Use for Android)
      • Keep local history for generated files
  • Configure Project Specific Settings
Projectcope.png

Global

  • Query Explorer
    • Wildcard mode: Settable on the EMF-IncQuery preference settings page: in wildcard mode, every aspect of the EMF model is automatically indexed, as opposed to only indexing model elements and features relevant to the currently registered patterns; thus patterns can be registered and unregistered without re-traversing the model. This is typically useful during query development. Turn off wildcard mode to decrease the memory usage while working with very large models.
    • Dynamic EMF mode: In Dynamic EMF mode types are identified by the String IDs that are ultimately derived from the nsURI of the EPackage. Multiple types with the same ID are treated as the same. This is useful if Dynamic EMF is used where there can be multiple copies (instantiations) of the same EPackage, representing essentially the same metamodel.
Wildcard.png
  • Query Editor: Here we can set query editor specific settings.
    • Refactoring
      • Save all modified resources automatically prior to refactoring
      • Rename in editor without dialog if possible
    • Syntax coloring: Query editor styling
      • Choosing item type
        • Color
        • Background
        • Style
        • Font
    • Templates (predefinied styling)
      • Create, Edit, Remove
      • Export, Import
      • Preview


Refactoring.png Coloring.png Templates.png

Copyright © Eclipse Foundation, Inc. All Rights Reserved.