Add syntax highlighting for restricted database keywords
I added an attribute called 'from' to an entity and wanted to change my database from mongodb to mysql. My JUnit-Tests failed and I did not know why they failed. After some time I remembered I used 'from' as an attribute name. I renamed it and it work. So I thought it would be nice with the jdl studio syntax shows some reversed keywords from database. What do you think?
it would be good to have but we would have to maintain a hard coded list of keywords for this :( It would be very long list if we are to take all supported DB into consideration
can we do something with this ? https://github.com/jgornick/reservedwordsearch
That would be too much, may be we could move all reserved words to jhipster-core and refer from there. I could write a simple plugin to lookup that
Thanks & regards, Deepu On 1 Aug 2016 23:04, "Sendil Kumar N" [email protected] wrote:
can we do something with this ? https://github.com/jgornick/reservedwordsearch
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jhipster/jdl-studio/issues/6#issuecomment-236650423, or mute the thread https://github.com/notifications/unsubscribe-auth/ABDlF_AtHKcfUUPMNL5ZPTRc0u_-r092ks5qbi4kgaJpZM4H-6QP .
That's already done Deepu, check your inbox =)
Update: I'll release everything tomorrow... I have to check something first.