Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model Explorer does not initialize tree on a new Xtext file #310

Open
bedo2991 opened this issue Feb 28, 2024 · 3 comments
Open

Model Explorer does not initialize tree on a new Xtext file #310

bedo2991 opened this issue Feb 28, 2024 · 3 comments
Labels
component: xtext type: bug Something isn't working

Comments

@bedo2991
Copy link

bedo2991 commented Feb 28, 2024

Video showing the issue: https://www.youtube.com/watch?v=RMzs0Wnz3Do

Steps to reproduce:

  1. Import the example Xtext project (see below) in eclipse, and start a new runtime application.
  2. Create a new file with the required extension (.mydsl) in a Sirius Modeling project.
  3. Insert some parseable text inside the file (Hello world!) and save

Expected:
the Model Explorer should now show a tree view of the model content
Actual result:
the file is still not recognised as a model and does not have a tree explorer (which would allow to easily create sirius representations)

XText simple project to reproduce this: mydslExample.zip

Tested with:
XText: 2.34.0
Eclipse Modeling Tools: 4.28.0
EMF: 2.34.0
Sirius: 7.3.0

Initially posted on the Xtext & EMF forum here.

@pcdavid
Copy link
Member

pcdavid commented Feb 28, 2024

Hi. Do you have the "Sirius Integration with Xtext" (org.eclipse.sirius.runtime.ide.xtext) feature installed in the environment where you see the bug? Depending on the Eclipse package you use it's not always installed (I'm not sure it is in the Eclipse Modeling package for example, and I think we do not install it by default either in Obeo Designer.

@bedo2991
Copy link
Author

Hi. Do you have the "Sirius Integration with Xtext" (org.eclipse.sirius.runtime.ide.xtext) feature installed in the environment where you see the bug?

yes, I do have the plugin:
Eclipse Modeling Project Sirius Integration with Xtext 7.3.0.202311270829 org.eclipse.sirius.common.xtext

and the feature:
Eclipse Modeling Project Sirius Integration with Xtext 7.3.0.202311270829 org.eclipse.sirius.runtime.ide.xtext

@pcdavid pcdavid added type: bug Something isn't working component: xtext labels Feb 28, 2024
@bedo2991
Copy link
Author

After looking better, this might be related to issue #101 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: xtext type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants