Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext spelling not working on camel case words
Xtext spelling not working on camel case words [message #1854253] Tue, 09 August 2022 08:58 Go to next message
Guillaume Valvona is currently offline Guillaume ValvonaFriend
Messages: 1
Registered: August 2022
Junior Member
Hello !

The company I work at has developed a DSL and I'm in charge of integrating spellchecking on variable names, enum names, etc. I used the XdocSpellingReconcileStrategy class visible here. It is working like it should, with the exception of camel case words. I turned off Eclipse spelling setting for "Ignore mixed case words", but it then makes every camel case word flagged as wrongly spelled (see picture below).
index.php/fa/42386/0/

I saw on IntellIJ Idea that these words are separated by the capital letters and each substring is spellchecked individually. Is there a way to do the same with Eclipse ?
Re: Xtext spelling not working on camel case words [message #1854261 is a reply to message #1854253] Tue, 09 August 2022 13:50 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14349
Registered: July 2009
Senior Member
you may digg which preference are used by spelling enging in this case

index.php/fa/42389/0/


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de

[Updated on: Tue, 09 August 2022 14:19]

Report message to a moderator

Previous Topic:Fomratting won't work correctly when save xtext resource programmatically AbstractFormatter2
Next Topic:xtext and ocl
Goto Forum:
  


Current Time: Mon Sep 26 12:32:15 GMT 2022

Powered by FUDForum. Page generated in 0.02200 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top