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

Public instance Xtext editor requires sendFullText #183

Open
barnettwilliam opened this issue Feb 22, 2024 · 0 comments
Open

Public instance Xtext editor requires sendFullText #183

barnettwilliam opened this issue Feb 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@barnettwilliam
Copy link
Collaborator

The current deployment of the public instance on the King's CREATE cloud requires sendFullText to be set to true so the ace editor is working in stateless mode. It appears to be the Xtext service session cookie is not being set/forwarded so the remote editor contents cannot be modified.

The Xtext editor is initialised here:

aceEditor = xtext.createEditor({

Adding this to to the init object species stateless mode

sendFullText: true

https://eclipse.dev/Xtext/documentation/330_web_support.html

Mentioned in PR #180 (comment)

In the long term we may want to consider moving to LSP based editors for more general support of other languages.

@barnettwilliam barnettwilliam added the bug Something isn't working label Feb 22, 2024
@szschaler szschaler moved this from Todo to Bugs in Education Platform Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Bugs
Development

No branches or pull requests

1 participant