Renaming on model update #1780
Unanswered
kapishsingla
asked this question in
Q&A
Replies: 1 comment
-
Hey @kapishsingla, I think using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Team,
Greetings of the day,
I am working on a Scenario in which fileName corresponds to
name
field inLangium Model
Renaming on model update . On rename of File using rename command, I am able to acheive the change in corresponding name field in Model and now I want to achieve the same result by change of name field and update the corresponding fileName(URI)Just for better understanding, We can assume the java file in eclipse.. On change the className in java file, It correspondly changes the FileName.
I have an approach which we can catch the
onUpdate
event on client for the change in document.Is there any better approach to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions