Community
Participate
Working Groups
Build Identifier: 20120202-1513 Hi, when I re-run my .mwe2 with Xtext 2.3.0, I now see two warnings per content assist parser generated related to Discouraged access to IPartialContentAssistParser. The warnings also show in the default Xtext project. However, content assist seems to work fine, so I'm reporting this as a minor bug. Cheers Matthieu Reproducible: Always Steps to Reproduce: 1. create a new Xtext project 2. run the .mwe2 workflow 3. wait until workspace is built 4. observe the two warnings
Is there any progress on this problem? Or a workaround We have a 'zero warning' policy on our projects, and after upgrading to 2.3 we have this warning in all our UI projects. Currently I am creating a new access rule to set org/eclipse/xtext/ui/codetemplates/ui/partialEditing/IPartialContentAssistParser accessible for each UI project. I am not sure if this is a good solution :-( Could not the generated code contain a suppress warnings annotation for these cases?
Hello, what is the status of this bug? All is needed is to remove ';x-internal:=true' after org.eclipse.xtext.ui.codetemplates.ui.partialEditing in the MANIFEST.MF file of org.eclipse.xtext.ui.codetemplates.ui plug-in. Or as mentioned by Andrew, having a SuppressWarnings annotation. Is there a technical reason for not doing either one of these changes? Thank you, Matthieu
We should at least add @SuppressWarnings for 2.4.2
an @SuppressWarnings annotation is now generated.
Thank you Sven!
Requested via bug 522520. -M.