Code Completion Feature
So… I had a stressful time finding a serious bug in my Wt application. Luckily, I was able to narrow the cause down. The crash happened whenever a new user approved the storage service for the first time. And damn it, it was caused by not deferRendering the WApplication after sending a request to Google Drive. At least, the dummy accounts I created to track down this bug didn’t go to waste.
Code Completion feature
defineExtension that actually creates a method to be used in the CodeMirror API.
As my last part of work, I begin to port it over to the code editor. show-hint.js can be used directly, I would need to create my own version is ‘xml-hint.js’ though. This js file will function to process the CodeMirror token obtained and return the results as hints in the code editor.