Contentassist for imports [message #900445] |
Tue, 07 August 2012 03:05  |
Eclipse User |
|
|
|
Hi,
I have a simple grammar, using the ImportNamespacesScopingFragment and in the grammar rules
Model returns Model:
(imports=Import)?
Import:
'import' importedNamespace=FqnWithWildCard;
FqnWithWildCard:
FQN ('.*')?;
FQN:
ID ('.' ID)*;
This works fine for shortening the names of referenced model elements. But if it comes to conetentassist after the 'import' keyword, nothing is proposed by xtext...
for example if I want to import a class from a package i would expect all classes as a proposal after i enter packagename._
Am I missing something or is this feature not supported?
Best regards
Amneris
|
|
|
|
Powered by
FUDForum. Page generated in 0.04814 seconds